Function at 0x42ba40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d6b8e
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51b260]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.00457cf0
lea ecx, [esp + 0x4c]
mov dword [esp + 0xd4], edi
call fcn.00457cf0
or eax, 0xffffffff
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov ebp, dword [esp + 0xdc]
mov eax, dword [ebp + 0x118]
sub eax, dword [ebp + 0x114]
mov byte [esp + 0xd4], 2
sar eax, 2
cmp eax, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edi
jle 0x42bc51
mov dword [esp + 0x2c], edi
jmp 0x42bb10
mov eax, dword [ebp + 0x118]
sub eax, dword [ebp + 0x114]
mov esi, dword [esp + 0x14]
sar eax, 2
cmp esi, eax
jb 0x42bb2c
call fcn.0049eacd
mov edx, dword [ebx + 0x12c]
sub edx, dword [ebx + 0x128]
mov ecx, dword [ebp + 0x114]
mov esi, dword [ecx + esi*4]
sar edx, 2
cmp esi, edx
jb 0x42bb4d
call fcn.0049eacd
mov eax, dword [ebx + 0x128]
mov esi, dword [eax + esi*4]
push 1
mov ecx, esi
call fcn.004566f0
lea edi, [esi + 0xa4]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
test eax, eax
je 0x42bb86
cmp eax, 0xffffffff
je 0x42bb86
mov dword [esi + 0xb4], 1
mov dword [esi + 0xa8], eax
jmp 0x42bb9a
mov dword [esi + 0xb4], 0
mov dword [esi + 0xa8], 0xffffffff
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esi + 0x3c]
mov dword [edi], 0
call fcn.004227d0
cmp dword [edi], 0xffffffff
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jne 0x42bbc4
or eax, 0xffffffff
jmp 0x42bbcf
push edi
lea ecx, [esi + 0x5c]
call fcn.0040ffe0
mov eax, dword [eax]
mov ecx, dword [esi]
mov edx, dword [ebp + 0x120]
mov edi, dword [esp + 0xe0]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push ecx
push eax
mov dword [esi + 0x230], edx
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x38]
push edx
push esi
push edi
lea eax, [esp + 0xb4]
push eax
mov ecx, ebx
call fcn.004250f0
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x42bc1a
push eax
call fcn.004a05a9
add esp, 4
push 0
push esi
mov ecx, edi
call fcn.0040fe70
mov cl, byte [ebp + 0x12c]
mov esi, eax
mov byte [esi + 0xdd], cl
push esi
mov ecx, ebx
call fcn.0041f990
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jl 0x42bb10
xor edi, edi
jmp 0x42bc55
mov esi, dword [esp + 0x2c]
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
je 0x42bd43
mov edx, dword [ebx + 0x12c]
sub edx, dword [ebx + 0x128]
sar edx, 2
cmp eax, edx
jb 0x42bc7d
call fcn.0049eacd
mov eax, dword [ebx + 0x128]
mov ecx, dword [esp + 0x2c]
mov esi, dword [eax + ecx*4]
push 1
mov ecx, esi
call fcn.004566f0
push edi
lea edx, [esp + 0x30]
push edx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00422aa0
cmp dword [esi + 0xa4], 0xffffffff
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esi + 0xa4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jne 0x42bcc5
or eax, 0xffffffff
jmp 0x42bcd0
push eax
lea ecx, [esi + 0x5c]
call fcn.0040ffe0
mov eax, dword [eax]
mov edx, dword [esi]
mov ecx, dword [ebp + 0x120]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push edx
mov edx, dword [esp + 0xf0]
push eax
mov dword [esi + 0x230], ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x38]
push eax
push ecx
push edx
lea eax, [esp + 0xb4]
push eax
mov ecx, ebx
call fcn.004250f0
mov eax, dword [esp + 0xb8]
cmp eax, edi
je 0x42bd1b
push eax
call fcn.004a05a9
add esp, 4
mov ecx, dword [esp + 0x18]
push edi
push ecx
mov ecx, dword [esp + 0xe8]
call fcn.0040fe70
mov dl, byte [ebp + 0x12c]
mov esi, eax
push esi
mov ecx, ebx
mov byte [esi + 0xdd], dl
call fcn.0041f990
lea edi, [ebp + 0x8c]
push edi
call dword [sym.imp.user32.dll_SetRectEmpty]
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 0x60]
mov dword [edi + 0x14], ecx
mov edx, dword [esi + 0x64]
mov dword [edi + 0x18], edx
mov eax, dword [esi + 0x50]
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x4c]
mov dword [edi], ecx
mov edx, dword [esi + 0x54]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x58]
mov dword [edi + 0xc], eax
mov dword [ebp + 0xf0], 0
mov edi, dword [ebp + 0x2c]
cmp edi, dword [ebp + 0x30]
jbe 0x42bd90
call fcn.0049eacd
mov esi, dword [ebp + 0x20]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
jmp 0x42bda0
mov edi, dword [ebp + 0x30]
cmp dword [ebp + 0x2c], edi
jbe 0x42bdad
call fcn.0049eacd
mov ebp, dword [ebp + 0x20]
test ebp, ebp
je 0x42bdb8
cmp ebp, esi
je 0x42bdbd
call fcn.0049eacd
cmp edi, dword [esp + 0x1c]
je 0x42c567
cmp dword [esp + 0xe8], 0
je 0x42be03
test esi, esi
jne 0x42bfec
call fcn.0049eacd
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esi + 0x10]
jb 0x42bdec
call fcn.0049eacd
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
cmp dword [eax + 0xfc], 1
jne 0x42c522
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
cmp eax, ecx
jbe 0x42be20
call fcn.0049eacd
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x34]
mov edi, eax
cmp eax, ecx
jbe 0x42be2f
call fcn.0049eacd
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
push ecx
push ebp
push edi
push edx
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x48]
call fcn.00436e00
test esi, esi
jne 0x42bff3
call fcn.0049eacd
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x10]
jb 0x42be69
call fcn.0049eacd
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [edi]
call fcn.00422b20
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8], 3
call fcn.0040e5b0
mov eax, dword [esp + 0xa0]
xor ebp, ebp
mov byte [esp + 0xd4], 2
cmp eax, ebp
je 0x42bea8
push eax
call fcn.0048dd02
add esp, 4
mov edx, dword [esp + 0x94]
push edx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebp
call fcn.0048dd02
add esp, 4
cmp esi, ebp
jne 0x42bffa
call fcn.0049eacd
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x42bee6
call fcn.0049eacd
mov ecx, dword [edi]
lea eax, [esp + 0x94]
push eax
call fcn.00422ba0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xd8], 4
call fcn.0040e5b0
mov eax, dword [esp + 0xa0]
mov byte [esp + 0xd4], 2
cmp eax, ebp
je 0x42bf23
push eax
call fcn.0048dd02
add esp, 4
mov ecx, dword [esp + 0x94]
push ecx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebp
call fcn.0048dd02
mov edx, dword [esp + 0xe8]
add esp, 4
cmp dword [edx + 0x894], 1
jne 0x42c010
cmp esi, ebp
jne 0x42c001
call fcn.0049eacd
xor esi, esi
cmp edi, dword [esi + 0x10]
jb 0x42bf75
call fcn.0049eacd
mov eax, dword [edi]
mov ecx, dword [eax + 0xb8]
sub ecx, dword [eax + 0xb4]
add eax, 0xa8
test ecx, 0xfffffffc
je 0x42c2a5
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x42c008
call fcn.0049eacd
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x10]
jb 0x42bfb1
call fcn.0049eacd
mov edx, dword [edi]
add edx, 0xa8
push edx
lea ecx, [esp + 0x38]
call fcn.0040e5b0
test esi, esi
jne 0x42c00c
call fcn.0049eacd
cmp edi, dword [esi + 0x10]
jb 0x42bfd6
call fcn.0049eacd
mov eax, dword [edi]
add eax, 0xc0
push eax
lea ecx, [esp + 0x50]
call fcn.0040e5b0
jmp 0x42c2a5
mov esi, dword [esi]
jmp 0x42bdde
mov eax, dword [esi]
jmp 0x42be5b
mov eax, dword [esi]
jmp 0x42bedc
mov esi, dword [esi]
jmp 0x42bf6b
mov eax, dword [esi]
jmp 0x42bfa3
mov esi, dword [esi]
jmp 0x42bfcc
cmp esi, ebp
jne 0x42c147
call fcn.0049eacd
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x42c029
call fcn.0049eacd
mov eax, dword [edi]
mov ebp, dword [eax + 0xb8]
sub ebp, dword [eax + 0xb4]
add eax, 0xa8
sar ebp, 2
mov dword [esp + 0x20], ebp
test esi, esi
jne 0x42c14e
call fcn.0049eacd
cmp edi, dword [esi + 0x10]
jb 0x42c05a
call fcn.0049eacd
mov edx, dword [ebx + 0x12c]
sub edx, dword [ebx + 0x128]
mov ecx, dword [edi]
mov esi, dword [ecx + 4]
sar edx, 2
cmp esi, edx
jb 0x42c077
call fcn.0049eacd
mov eax, dword [ebx + 0x128]
mov esi, dword [eax + esi*4]
mov dword [esp + 0x14], 0
test ebp, ebp
jle 0x42c2a5
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x42c155
call fcn.0049eacd
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x10]
jb 0x42c0b1
call fcn.0049eacd
mov eax, dword [edi]
mov ecx, dword [eax + 0xb8]
sub ecx, dword [eax + 0xb4]
add eax, 0xa8
sar ecx, 2
cmp dword [esp + 0x14], ecx
jb 0x42c0d2
call fcn.0049eacd
test ebp, ebp
jne 0x42c15d
call fcn.0049eacd
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x42c0eb
call fcn.0049eacd
mov edi, dword [edi]
mov edx, dword [edi + 0xd0]
sub edx, dword [edi + 0xcc]
add edi, 0xc0
sar edx, 2
cmp dword [esp + 0x14], edx
jb 0x42c10d
call fcn.0049eacd
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov edi, dword [eax + ecx*4]
push 0
mov ecx, esi
call fcn.0041a430
mov ebp, eax
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x2c], edi
cmp eax, edi
je 0x42c165
cmp eax, 0xffffffff
je 0x42c165
mov dword [esi + 0xb4], 1
mov dword [esi + 0xa8], eax
jmp 0x42c179
mov eax, dword [esi]
jmp 0x42c01f
mov esi, dword [esi]
jmp 0x42c050
mov eax, dword [ebp]
jmp 0x42c0a3
mov eax, dword [ebp]
jmp 0x42c0e1
mov dword [esi + 0xb4], 0
mov dword [esi + 0xa8], 0xffffffff
lea edx, [esp + 0x2c]
push edx
lea ecx, [esi + 0x3c]
mov dword [esi + 0xa4], edi
call fcn.004227d0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push eax
mov dword [esp + 0x28], ecx
push ebp
lea ecx, [esp + 0x9c]
push ecx
mov ecx, ebx
call fcn.004202c0
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x70], ecx
mov ecx, dword [eax]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x74], edi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0xa4], 0
test eax, eax
je 0x42c20f
push eax
call fcn.004a05a9
add esp, 4
xor ebp, ebp
cmp dword [esi + 0xd4], 1
jne 0x42c23d
mov ecx, dword [esp + 0xe0]
push ebp
push ebp
push esi
push ecx
mov ecx, ebx
call fcn.00422c20
lea ecx, [esi + 0xd8]
call fcn.0042b510
mov dword [esi + 0x1e4], ebp
mov dword [esi + 0xd4], ebp
cmp edi, ebp
je 0x42c280
mov edx, dword [ebx + 0xa0]
mov eax, dword [ebx + 0x9c]
mov ecx, dword [esp + 0xdc]
push edx
push eax
add edi, 0x4c
push edi
add ecx, 0x8c
push ecx
call fcn.00414900
mov ecx, dword [esp + 0xe0]
push ecx
lea edx, [esp + 0x68]
push edx
mov ecx, ebx
call fcn.00421540
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esi + 0xb4], ebp
mov dword [esi + 0x1e8], ebp
mov dword [esi + 0xb0], ebp
mov dword [esp + 0x14], eax
jl 0x42c090
mov edi, dword [esp + 0x44]
sub edi, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
sar edi, 2
mov dword [esp + 0x20], edi
test eax, eax
jne 0x42c38d
call fcn.0049eacd
xor eax, eax
mov esi, dword [esp + 0x1c]
cmp esi, dword [eax + 0x10]
jb 0x42c2d5
call fcn.0049eacd
mov ecx, dword [ebx + 0x12c]
sub ecx, dword [ebx + 0x128]
mov eax, dword [esi]
mov esi, dword [eax + 4]
sar ecx, 2
cmp esi, ecx
jb 0x42c2f2
call fcn.0049eacd
mov edx, dword [ebx + 0x128]
mov eax, dword [esp + 0xdc]
mov esi, dword [edx + esi*4]
mov ecx, dword [eax + 0x120]
mov dword [esi + 0x230], ecx
mov dword [esp + 0x14], 0
test edi, edi
jle 0x42c4f2
mov edi, edi
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x40]
mov edi, dword [esp + 0x14]
sar edx, 2
cmp edi, edx
jb 0x42c338
call fcn.0049eacd
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x40]
mov ebp, dword [eax + edi*4]
sar ecx, 2
cmp edi, ecx
jb 0x42c353
call fcn.0049eacd
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
mov edi, dword [eax + edx*4]
push ebp
mov ecx, esi
call fcn.004566f0
mov ebp, eax
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x2c], edi
cmp eax, edi
je 0x42c394
cmp eax, 0xffffffff
je 0x42c394
mov dword [esi + 0xb4], 1
mov dword [esi + 0xa8], eax
jmp 0x42c3a8
mov eax, dword [eax]
jmp 0x42c2c7
mov dword [esi + 0xb4], 0
mov dword [esi + 0xa8], 0xffffffff
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esi + 0x3c]
mov dword [esi + 0xa4], edi
call fcn.004227d0
cmp dword [esi + 0xa4], 0xffffffff
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jne 0x42c3d6
or edi, 0xffffffff
jmp 0x42c3e7
lea eax, [esi + 0xa4]
push eax
lea ecx, [esi + 0x5c]
call fcn.0040ffe0
mov edi, dword [eax]
cmp dword [esi + 0xd4], 1
jne 0x42c41c
mov edx, dword [esp + 0xe0]
push 0
push 0
push esi
push edx
mov ecx, ebx
call fcn.00422c20
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xe0]
push eax
push esi
push ecx
mov ecx, ebx
call fcn.0042b910
mov edx, dword [esi]
mov ecx, dword [esp + 0xe0]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push edx
push edi
lea eax, [esp + 0x38]
push eax
push ebp
push ecx
lea edx, [esp + 0xb4]
push edx
mov ecx, ebx
call fcn.004250f0
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x42c457
push eax
call fcn.004a05a9
add esp, 4
mov ecx, dword [esp + 0xe0]
push 0
push ebp
call fcn.0040fe70
mov edi, eax
mov eax, dword [esp + 0xdc]
mov cl, byte [eax + 0x12c]
mov byte [edi + 0xdd], cl
push edi
mov ecx, ebx
call fcn.0041f990
cmp dword [esp + 0x18], 0
mov dword [esi + 0xb8], 1
jne 0x42c554
call fcn.0049eacd
xor eax, eax
mov ebp, dword [esp + 0x1c]
cmp ebp, dword [eax + 0x10]
jb 0x42c4ad
call fcn.0049eacd
mov eax, dword [ebp]
mov dword [eax + 0xf8], 1
mov ecx, dword [ebx + 0xa0]
mov edx, dword [ebx + 0x9c]
push ecx
mov ecx, dword [esp + 0xe0]
push edx
add edi, 0x4c
push edi
add ecx, 0x8c
push ecx
call fcn.00414900
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jl 0x42c320
cmp dword [esp + 0x20], 0
jne 0x42c522
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42c55f
call fcn.0049eacd
xor eax, eax
mov esi, dword [esp + 0x1c]
cmp esi, dword [eax + 0x10]
jb 0x42c516
call fcn.0049eacd
mov eax, dword [esi]
mov dword [eax + 0xf8], 0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42c563
call fcn.0049eacd
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x10]
jb 0x42c53f
call fcn.0049eacd
add dword [esp + 0x1c], 4
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0xdc]
jmp 0x42bda0
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
jmp 0x42c49f
mov eax, dword [eax]
jmp 0x42c508
mov eax, dword [eax]
jmp 0x42c531
mov eax, dword [esp + 0x58]
test eax, eax
je 0x42c578
push eax
call fcn.0048dd02
add esp, 4
mov edx, dword [esp + 0x4c]
xor eax, eax
push edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
call fcn.0048dd02
mov eax, dword [esp + 0x44]
xor esi, esi
add esp, 4
cmp eax, esi
je 0x42c5a6
push eax
call fcn.0048dd02
add esp, 4
mov eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call fcn.0048dd02
add esp, 4
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret 0x14