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

Disassembly:
push 0xffffffffffffffff
push 0x4d877e
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51d260]
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.0043abe0
lea ecx, [esp + 0x4c]
mov dword [esp + 0xd4], edi
call fcn.0043abe0
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 0x42cc01
mov dword [esp + 0x2c], edi
jmp 0x42cac0
mov eax, dword [ebp + 0x118]
sub eax, dword [ebp + 0x114]
mov esi, dword [esp + 0x14]
sar eax, 2
cmp esi, eax
jb 0x42cadc
call fcn.004a067d
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 0x42cafd
call fcn.004a067d
mov eax, dword [ebx + 0x128]
mov esi, dword [eax + esi*4]
push 1
mov ecx, esi
call fcn.00458560
lea edi, [esi + 0xa4]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
test eax, eax
je 0x42cb36
cmp eax, 0xffffffff
je 0x42cb36
mov dword [esi + 0xb4], 1
mov dword [esi + 0xa8], eax
jmp 0x42cb4a
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.00422620
cmp dword [edi], 0xffffffff
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jne 0x42cb74
or eax, 0xffffffff
jmp 0x42cb7f
push edi
lea ecx, [esi + 0x5c]
call fcn.0040e4d0
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.00424fb0
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x42cbca
push eax
call fcn.004a2159
add esp, 4
push 0
push esi
mov ecx, edi
call fcn.0040fac0
mov cl, byte [ebp + 0x12c]
mov esi, eax
mov byte [esi + 0xdd], cl
push esi
mov ecx, ebx
call fcn.0041f550
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jl 0x42cac0
xor edi, edi
jmp 0x42cc05
mov esi, dword [esp + 0x2c]
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
je 0x42ccf3
mov edx, dword [ebx + 0x12c]
sub edx, dword [ebx + 0x128]
sar edx, 2
cmp eax, edx
jb 0x42cc2d
call fcn.004a067d
mov eax, dword [ebx + 0x128]
mov ecx, dword [esp + 0x2c]
mov esi, dword [eax + ecx*4]
push 1
mov ecx, esi
call fcn.00458560
push edi
lea edx, [esp + 0x30]
push edx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.004228f0
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 0x42cc75
or eax, 0xffffffff
jmp 0x42cc80
push eax
lea ecx, [esi + 0x5c]
call fcn.0040e4d0
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.00424fb0
mov eax, dword [esp + 0xb8]
cmp eax, edi
je 0x42cccb
push eax
call fcn.004a2159
add esp, 4
mov ecx, dword [esp + 0x18]
push edi
push ecx
mov ecx, dword [esp + 0xe8]
call fcn.0040fac0
mov dl, byte [ebp + 0x12c]
mov esi, eax
push esi
mov ecx, ebx
mov byte [esi + 0xdd], dl
call fcn.0041f550
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 0x42cd40
call fcn.004a067d
mov esi, dword [ebp + 0x20]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
jmp 0x42cd50
mov edi, dword [ebp + 0x30]
cmp dword [ebp + 0x2c], edi
jbe 0x42cd5d
call fcn.004a067d
mov ebp, dword [ebp + 0x20]
test ebp, ebp
je 0x42cd68
cmp ebp, esi
je 0x42cd6d
call fcn.004a067d
cmp edi, dword [esp + 0x1c]
je 0x42d517
cmp dword [esp + 0xe8], 0
je 0x42cdb3
test esi, esi
jne 0x42cf9c
call fcn.004a067d
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esi + 0x10]
jb 0x42cd9c
call fcn.004a067d
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
cmp dword [eax + 0xfc], 1
jne 0x42d4d2
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
cmp eax, ecx
jbe 0x42cdd0
call fcn.004a067d
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x34]
mov edi, eax
cmp eax, ecx
jbe 0x42cddf
call fcn.004a067d
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.004205c0
test esi, esi
jne 0x42cfa3
call fcn.004a067d
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x10]
jb 0x42ce19
call fcn.004a067d
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [edi]
call fcn.00422970
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8], 3
call fcn.0043ac40
mov eax, dword [esp + 0xa0]
xor ebp, ebp
mov byte [esp + 0xd4], 2
cmp eax, ebp
je 0x42ce58
push eax
call fcn.0048f8b2
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.0048f8b2
add esp, 4
cmp esi, ebp
jne 0x42cfaa
call fcn.004a067d
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x42ce96
call fcn.004a067d
mov ecx, dword [edi]
lea eax, [esp + 0x94]
push eax
call fcn.004229f0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xd8], 4
call fcn.0043ac40
mov eax, dword [esp + 0xa0]
mov byte [esp + 0xd4], 2
cmp eax, ebp
je 0x42ced3
push eax
call fcn.0048f8b2
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.0048f8b2
mov edx, dword [esp + 0xe8]
add esp, 4
cmp dword [edx + 0x860], 1
jne 0x42cfc0
cmp esi, ebp
jne 0x42cfb1
call fcn.004a067d
xor esi, esi
cmp edi, dword [esi + 0x10]
jb 0x42cf25
call fcn.004a067d
mov eax, dword [edi]
mov ecx, dword [eax + 0xb8]
sub ecx, dword [eax + 0xb4]
add eax, 0xa8
test ecx, 0xfffffffc
je 0x42d255
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x42cfb8
call fcn.004a067d
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x10]
jb 0x42cf61
call fcn.004a067d
mov edx, dword [edi]
add edx, 0xa8
push edx
lea ecx, [esp + 0x38]
call fcn.0043ac40
test esi, esi
jne 0x42cfbc
call fcn.004a067d
cmp edi, dword [esi + 0x10]
jb 0x42cf86
call fcn.004a067d
mov eax, dword [edi]
add eax, 0xc0
push eax
lea ecx, [esp + 0x50]
call fcn.0043ac40
jmp 0x42d255
mov esi, dword [esi]
jmp 0x42cd8e
mov eax, dword [esi]
jmp 0x42ce0b
mov eax, dword [esi]
jmp 0x42ce8c
mov esi, dword [esi]
jmp 0x42cf1b
mov eax, dword [esi]
jmp 0x42cf53
mov esi, dword [esi]
jmp 0x42cf7c
cmp esi, ebp
jne 0x42d0f7
call fcn.004a067d
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x42cfd9
call fcn.004a067d
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 0x42d0fe
call fcn.004a067d
cmp edi, dword [esi + 0x10]
jb 0x42d00a
call fcn.004a067d
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 0x42d027
call fcn.004a067d
mov eax, dword [ebx + 0x128]
mov esi, dword [eax + esi*4]
mov dword [esp + 0x14], 0
test ebp, ebp
jle 0x42d255
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x42d105
call fcn.004a067d
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x10]
jb 0x42d061
call fcn.004a067d
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 0x42d082
call fcn.004a067d
test ebp, ebp
jne 0x42d10d
call fcn.004a067d
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x42d09b
call fcn.004a067d
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 0x42d0bd
call fcn.004a067d
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov edi, dword [eax + ecx*4]
push 0
mov ecx, esi
call fcn.00419ee0
mov ebp, eax
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x2c], edi
cmp eax, edi
je 0x42d115
cmp eax, 0xffffffff
je 0x42d115
mov dword [esi + 0xb4], 1
mov dword [esi + 0xa8], eax
jmp 0x42d129
mov eax, dword [esi]
jmp 0x42cfcf
mov esi, dword [esi]
jmp 0x42d000
mov eax, dword [ebp]
jmp 0x42d053
mov eax, dword [ebp]
jmp 0x42d091
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.00422620
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.0041fe80
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 0x42d1bf
push eax
call fcn.004a2159
add esp, 4
xor ebp, ebp
cmp dword [esi + 0xd4], 1
jne 0x42d1ed
mov ecx, dword [esp + 0xe0]
push ebp
push ebp
push esi
push ecx
mov ecx, ebx
call fcn.00422a70
lea ecx, [esi + 0xd8]
call fcn.0042c4c0
mov dword [esi + 0x1e4], ebp
mov dword [esi + 0xd4], ebp
cmp edi, ebp
je 0x42d230
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.00457f30
mov ecx, dword [esp + 0xe0]
push ecx
lea edx, [esp + 0x68]
push edx
mov ecx, ebx
call fcn.00421390
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 0x42d040
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 0x42d33d
call fcn.004a067d
xor eax, eax
mov esi, dword [esp + 0x1c]
cmp esi, dword [eax + 0x10]
jb 0x42d285
call fcn.004a067d
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 0x42d2a2
call fcn.004a067d
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 0x42d4a2
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 0x42d2e8
call fcn.004a067d
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 0x42d303
call fcn.004a067d
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
mov edi, dword [eax + edx*4]
push ebp
mov ecx, esi
call fcn.00458560
mov ebp, eax
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x2c], edi
cmp eax, edi
je 0x42d344
cmp eax, 0xffffffff
je 0x42d344
mov dword [esi + 0xb4], 1
mov dword [esi + 0xa8], eax
jmp 0x42d358
mov eax, dword [eax]
jmp 0x42d277
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.00422620
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 0x42d386
or edi, 0xffffffff
jmp 0x42d397
lea eax, [esi + 0xa4]
push eax
lea ecx, [esi + 0x5c]
call fcn.0040e4d0
mov edi, dword [eax]
cmp dword [esi + 0xd4], 1
jne 0x42d3cc
mov edx, dword [esp + 0xe0]
push 0
push 0
push esi
push edx
mov ecx, ebx
call fcn.00422a70
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xe0]
push eax
push esi
push ecx
mov ecx, ebx
call fcn.0042c8c0
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.00424fb0
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x42d407
push eax
call fcn.004a2159
add esp, 4
mov ecx, dword [esp + 0xe0]
push 0
push ebp
call fcn.0040fac0
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.0041f550
cmp dword [esp + 0x18], 0
mov dword [esi + 0xb8], 1
jne 0x42d504
call fcn.004a067d
xor eax, eax
mov ebp, dword [esp + 0x1c]
cmp ebp, dword [eax + 0x10]
jb 0x42d45d
call fcn.004a067d
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.00457f30
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jl 0x42d2d0
cmp dword [esp + 0x20], 0
jne 0x42d4d2
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42d50f
call fcn.004a067d
xor eax, eax
mov esi, dword [esp + 0x1c]
cmp esi, dword [eax + 0x10]
jb 0x42d4c6
call fcn.004a067d
mov eax, dword [esi]
mov dword [eax + 0xf8], 0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42d513
call fcn.004a067d
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x10]
jb 0x42d4ef
call fcn.004a067d
add dword [esp + 0x1c], 4
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0xdc]
jmp 0x42cd50
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
jmp 0x42d44f
mov eax, dword [eax]
jmp 0x42d4b8
mov eax, dword [eax]
jmp 0x42d4e1
mov eax, dword [esp + 0x58]
test eax, eax
je 0x42d528
push eax
call fcn.0048f8b2
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.0048f8b2
mov eax, dword [esp + 0x44]
xor esi, esi
add esp, 4
cmp eax, esi
je 0x42d556
push eax
call fcn.0048f8b2
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.0048f8b2
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