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

Disassembly:
push 0xffffffffffffffff
push 0x5222ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov eax, dword [0x565e78]
push ebx
mov ebx, dword [esp + 0xc4]
push ebp
push esi
mov dword [esp + 0xb8], eax
mov eax, dword [ebx + 0x1acc]
push edi
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], edi
mov byte [esp + 0x60], 0
mov dword [esp + 0xc8], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov byte [esp + 0xc8], 1
mov ecx, dword [ebx + 0x23c]
mov esi, dword [ebx + 0x240]
cmp ecx, esi
je 0x4317c5
mov edx, dword [ebx + 0x210]
mov ebp, dword [ebx + 0x20c]
cmp ebp, edx
mov eax, ebp
je 0x43178d
mov edi, dword [ecx]
mov edi, edi
cmp dword [eax], edi
je 0x43178b
add eax, 4
cmp eax, edx
jne 0x431780
xor edi, edi
cmp eax, edx
jne 0x43179a
add ecx, 0x44
cmp ecx, esi
jne 0x431776
jmp 0x4317c5
mov eax, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x3c]
cmp eax, ecx
je 0x4317c5
cmp dword [eax + 0x24], 1
je 0x4317b3
add eax, 0x58
cmp eax, ecx
jne 0x4317a4
jmp 0x4317c5
xor ecx, ecx
push ecx
lea ecx, [esp + 0x50]
push ecx
mov ecx, 1
call fcn.0049d510
push ebx
call fcn.0044f020
mov eax, dword [ebx + 0x1a0]
mov ecx, dword [ebx + 0x1a4]
cmp eax, ecx
je 0x4317fe
jmp 0x4317e0
mov edx, dword [eax + 4]
cmp edx, edi
mov dword [esp + 0x14], edx
je 0x4317f7
cmp dword [edx], 0x26c
je 0x43188a
add eax, 0x10
cmp eax, ecx
jne 0x4317e0
xor ecx, ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0xd4]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
xor ebx, ebx
cmp eax, ecx
mov dword [esp + 0x78], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ecx
je 0x431993
mov ecx, dword [esp + 0xd0]
mov esi, dword [ecx + 0x20c]
mov ebp, dword [ecx + 0x210]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x14], esi
lea edx, [eax + 8]
jmp 0x431946
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edi
mov eax, dword [ebx + 0x68c8]
cmp eax, edi
je 0x4317fe
mov ecx, dword [ebx + 0x68cc]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [esp + 0x18]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x4317fe
xor ebp, ebp
xor edi, edi
jmp 0x4318d0
mov edx, dword [esp + 0xd4]
mov esi, dword [edx + 4]
test esi, esi
je 0x431927
mov eax, edx
mov ecx, dword [eax + 8]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x431927
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x44]
cmp edx, dword [esi + edi + 4]
jne 0x431921
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x68c8]
mov edx, dword [esi + edi]
add eax, ecx
cmp edx, dword [eax + 4]
jne 0x431921
mov eax, dword [eax + 8]
mov dword [esi + edi + 8], eax
inc ebp
add edi, 0xc
jmp 0x4318d0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0xc
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
xor edi, edi
jmp 0x431892
mov esi, dword [esp + 0x14]
cmp esi, ebp
mov eax, esi
je 0x431985
mov ecx, dword [edx - 4]
nop
cmp dword [eax], ecx
je 0x43195d
add eax, 4
cmp eax, ebp
jne 0x431950
jmp 0x431985
mov ecx, dword [edx]
mov eax, dword [esp + 0x50]
add ebx, ecx
cmp eax, edi
je 0x431985
mov esi, dword [edx - 8]
lea esp, [esp]
cmp dword [eax], esi
je 0x43197d
add eax, 4
cmp eax, edi
jne 0x431970
jmp 0x431985
cmp eax, edi
je 0x431985
add dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
add edx, 0xc
lea eax, [edx - 8]
cmp eax, ecx
jne 0x431942
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x1c]
push 0
push 0
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
push edi
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
call fcn.004f4ebb
mov byte [esp + 0xc8], 2
mov ecx, dword [eax]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4319c8
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.00401b10
mov byte [esp + 0xc8], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431a02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xd0]
push ebx
push eax
lea esi, [esp + 0x64]
call fcn.0042b780
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x7c], edi
jb 0x431a2c
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x88], ecx
jmp 0x431a37
lea edx, [esp + 0x60]
mov dword [esp + 0x88], edx
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x78]
push eax
push 0
push 0x110d
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0xc8], 3
mov eax, dword [esp + 0x18]
push eax
push ebx
lea ecx, [esp + 0x18]
push 0x5422d0
push ecx
call fcn.00405820
mov edx, dword [esp + 0xe0]
mov esi, dword [edx + 0x1b1c]
mov edx, dword [esp + 0x20]
mov edi, dword [esi + 0x54]
add esp, 0x10
test edx, edx
jne 0x431a9c
xor eax, eax
jmp 0x431aaa
mov eax, edx
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431aa1
sub eax, ebp
push eax
push edx
mov ecx, edi
call fcn.00401f00
mov eax, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_GetDC]
push eax
call ebp
push eax
call fcn.004ff814
mov ecx, eax
mov edx, esi
call fcn.0048fc50
push ebx
lea ecx, [esp + 0x14]
push 0x5422c0
push ecx
call fcn.00405820
mov edx, dword [esp + 0xdc]
mov esi, dword [edx + 0x1b1c]
mov ecx, dword [esi + 0x54]
mov edi, dword [esp + 0x1c]
add esp, 0xc
add ecx, 4
test edi, edi
jne 0x431b00
xor eax, eax
jmp 0x431b1b
mov eax, edi
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x431b10
sub eax, dword [esp + 0x14]
push eax
push edi
call fcn.00401f00
mov eax, dword [esi + 0x1c]
push eax
call ebp
push eax
call fcn.004ff814
mov ecx, eax
mov edx, esi
call fcn.0048fc50
push ebx
lea ecx, [esp + 0x14]
push 0x5422b8
push ecx
call fcn.00405820
mov edx, dword [esp + 0xdc]
mov esi, dword [edx + 0x1b1c]
mov ecx, dword [esi + 0x54]
mov edi, dword [esp + 0x1c]
add esp, 0xc
add ecx, 8
test edi, edi
jne 0x431b69
xor eax, eax
jmp 0x431b7d
mov eax, edi
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x431b72
sub eax, dword [esp + 0x14]
push eax
push edi
call fcn.00401f00
mov eax, dword [esi + 0x1c]
push eax
call ebp
push eax
call fcn.004ff814
mov ecx, eax
mov edx, esi
call fcn.0048fc50
push ebx
lea ecx, [esp + 0x14]
push 0x5422ac
push ecx
call fcn.00405820
mov edx, dword [esp + 0xdc]
mov esi, dword [edx + 0x1b1c]
mov ecx, dword [esi + 0x54]
mov edi, dword [esp + 0x1c]
add esp, 0xc
add ecx, 0xc
test edi, edi
jne 0x431bcb
xor eax, eax
jmp 0x431bd9
mov eax, edi
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x431bd0
sub eax, ebx
push eax
push edi
call fcn.00401f00
mov eax, dword [esi + 0x1c]
push eax
call ebp
push eax
call fcn.004ff814
mov ecx, eax
mov edx, esi
call fcn.0048fc50
lea eax, [edi - 0x10]
mov byte [esp + 0xc8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431c17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0xd0]
mov eax, dword [edi + 0x180]
cmp eax, dword [edi + 0x184]
mov dword [esp + 0x14], eax
je 0x43221a
mov ebx, dword [esp + 0x1c]
jmp 0x431c40
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov esi, dword [edi + 0x190]
cmp esi, dword [edi + 0x194]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], esi
je 0x43215d
lea esp, [esp]
mov eax, dword [esi]
mov edx, dword [esi + 4]
push eax
mov eax, dword [ebx + 0x1c]
push 3
push 0x110a
push eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x432148
push eax
mov ecx, ebx
call fcn.004f4a5f
test eax, eax
je 0x432148
mov ecx, dword [eax]
mov edx, dword [esp + 0x30]
cmp ecx, dword [edx]
jne 0x432148
mov ebp, dword [edi + 0x1a0]
cmp ebp, dword [edi + 0x1a4]
mov dword [esp + 0x2c], ebp
je 0x432090
nop
mov esi, dword [ebp + 4]
mov ecx, dword [esp + 0x38]
mov eax, dword [esi + 0x20]
cmp eax, dword [ecx]
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], 0
jne 0x43207b
mov eax, dword [esp + 0x30]
mov edx, dword [esi + 0x44]
cmp edx, dword [eax]
jne 0x43207b
mov eax, dword [esi]
cmp eax, 0xea61
je 0x43207b
cmp eax, 0x26c
jne 0x431d41
mov eax, dword [edi + 0x68c8]
test eax, eax
je 0x43207b
mov ecx, dword [edi + 0x68cc]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x34], ecx
je 0x43207b
mov ebp, dword [edi + 0x1b0]
cmp ebp, dword [edi + 0x1b4]
je 0x431f46
mov edx, dword [ebp + 4]
mov eax, dword [edx + 0x24]
cmp eax, dword [esi]
mov dword [esp + 0x34], edx
jne 0x431f35
mov ecx, dword [edx + 0x20]
mov eax, dword [esp + 0x30]
cmp ecx, dword [eax]
jne 0x431f35
mov ecx, dword [esp + 0xd4]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
cmp eax, ecx
mov dword [esp + 0x28], 0
je 0x431da4
mov edx, dword [edx]
nop
cmp dword [eax], edx
je 0x431d9d
add eax, 0xc
cmp eax, ecx
jne 0x431d90
jmp 0x431da4
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [ebp]
push edx
lea eax, [esp + 0x4c]
push eax
mov ecx, ebx
call fcn.004f4ebb
mov byte [esp + 0xc8], 4
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x431de1
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xa8]
call fcn.00401b10
mov byte [esp + 0xc8], 6
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431e1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
push eax
push edi
lea esi, [esp + 0xa8]
call fcn.0042b780
cmp dword [esp + 0xb8], 0x10
mov ecx, dword [ebp]
mov dword [esp + 0x7c], ecx
jb 0x431e51
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x88], edx
jmp 0x431e5f
lea eax, [esp + 0xa4]
mov dword [esp + 0x88], eax
mov edx, dword [ebx + 0x1c]
lea ecx, [esp + 0x78]
push ecx
push 0
push 0x110d
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [edi + 0x290]
cmp esi, dword [edi + 0x294]
je 0x431ee1
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 4]
mov edx, dword [ecx]
cmp edx, dword [eax]
jne 0x431ed4
mov eax, dword [esi]
mov dword [esp + 0x7c], eax
cmp dword [esp + 0xb8], 0x10
jb 0x431eb0
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x88], ecx
jmp 0x431ebe
lea edx, [esp + 0xa4]
mov dword [esp + 0x88], edx
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x78]
push eax
push 0
push 0x110d
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0x294]
add esi, 0x10
cmp esi, eax
jne 0x431e83
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov byte [esp + 0xc8], 1
mov eax, dword [esp + 0xb8]
add ecx, edx
cmp eax, 0x10
mov dword [esp + 0x10], ecx
jb 0x431f13
mov eax, dword [esp + 0xa4]
push eax
call fcn.004fa776
add esp, 4
mov esi, dword [esp + 0x24]
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
mov eax, dword [edi + 0x1b4]
add ebp, 0x10
cmp ebp, eax
jne 0x431d53
mov ebp, dword [esp + 0x2c]
mov ecx, dword [ebp]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, ebx
call fcn.004f4ebb
mov byte [esp + 0xc8], 7
mov ecx, dword [eax]
mov eax, ecx
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x431f70
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.00401b10
mov byte [esp + 0xc8], 1
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431faa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
push eax
push edi
lea esi, [esp + 0x64]
call fcn.0042b780
cmp dword [esp + 0x74], 0x10
mov ecx, dword [ebp]
mov dword [esp + 0x7c], ecx
jb 0x431fd4
mov edx, dword [esp + 0x60]
mov dword [esp + 0x88], edx
jmp 0x431fdf
lea eax, [esp + 0x60]
mov dword [esp + 0x88], eax
mov edx, dword [ebx + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x78]
push ecx
push 0
push 0x110d
push edx
call ebp
mov esi, dword [edi + 0x280]
cmp esi, dword [edi + 0x284]
je 0x432069
mov ecx, dword [esp + 0x24]
lea esp, [esp]
mov eax, dword [esi + 4]
mov edx, dword [ecx + 0x44]
cmp edx, dword [eax + 0x44]
jne 0x43205c
mov edx, dword [ecx]
cmp edx, dword [eax]
jne 0x43205c
mov eax, dword [esi]
mov dword [esp + 0x7c], eax
cmp dword [esp + 0x74], 0x10
jb 0x43203b
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x88], ecx
jmp 0x432046
lea edx, [esp + 0x60]
mov dword [esp + 0x88], edx
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x78]
push eax
push 0
push 0x110d
push ecx
call ebp
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 0x284]
add esi, 0x10
cmp esi, eax
jne 0x432010
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x1a4]
add ebp, 0x10
cmp ebp, eax
mov dword [esp + 0x2c], ebp
jne 0x431cd0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, ebx
call fcn.004f4ebb
mov byte [esp + 0xc8], 8
mov ecx, dword [eax]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4320b2
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.00401b10
mov byte [esp + 0xc8], 1
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4320ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 0x20]
push ebp
push edi
lea esi, [esp + 0x64]
call fcn.0042b780
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x7c], ecx
jb 0x432119
mov edx, dword [esp + 0x60]
mov dword [esp + 0x88], edx
jmp 0x432124
lea eax, [esp + 0x60]
mov dword [esp + 0x88], eax
mov edx, dword [ebx + 0x1c]
lea ecx, [esp + 0x78]
push ecx
push 0
push 0x110d
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
add eax, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x194]
add esi, 0x10
cmp esi, eax
mov dword [esp + 0x18], esi
jne 0x431c70
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
call fcn.004f4ebb
mov byte [esp + 0xc8], 9
mov ecx, dword [eax]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x432180
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.00401b10
mov byte [esp + 0xc8], 1
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4321ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
push eax
push edi
lea esi, [esp + 0x64]
call fcn.0042b780
cmp dword [esp + 0x74], 0x10
mov ecx, dword [ebp]
mov dword [esp + 0x7c], ecx
jb 0x4321e4
mov edx, dword [esp + 0x60]
mov dword [esp + 0x88], edx
jmp 0x4321ef
lea eax, [esp + 0x60]
mov dword [esp + 0x88], eax
mov edx, dword [ebx + 0x1c]
lea ecx, [esp + 0x78]
push ecx
push 0
push 0x110d
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0x184]
add ebp, 0x10
cmp ebp, eax
mov dword [esp + 0x14], ebp
jne 0x431c40
mov eax, dword [esp + 0x50]
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x43222f
push eax
call fcn.004fa776
add esp, 4
cmp dword [esp + 0x64], 0x10
jb 0x432243
mov eax, dword [esp + 0x50]
push eax
call fcn.004fa776
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xac]
call fcn.004b6cac
add esp, 0xbc
ret 8