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

Disassembly:
push 0xffffffffffffffff
push 0x5c5f80
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x34]
add eax, 0xffffff4a
cmp eax, 0x6d
ja case.0x4510a1.184
movzx eax, byte [eax + 0x4514bc]
jmp dword [eax*4 + 0x4514a8]
push 1
call fcn.004cfbc8
mov ecx, dword [esi + 0x7c]
mov dword [ebx + 0x24], ecx
mov edx, dword [esi + 0x80]
mov dword [ebx + 0x28], edx
mov eax, dword [esi + 0x84]
mov dword [ebx + 0x2c], eax
mov ecx, dword [esi + 0x88]
mov dword [ebx + 0x30], ecx
mov edx, dword [esi + 0x8c]
mov dword [ebx + 0x34], edx
mov eax, dword [esi + 0x90]
mov dword [ebx + 0x38], eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 4
push 1
call fcn.004cfbc8
mov ecx, dword [esi + 0x12c]
lea edx, [esi + 0x124]
mov dword [ebx + 0x78], ecx
push edx
lea ecx, [ebx + 0x70]
call fcn.00404e30
mov eax, dword [esi + 0x290]
lea ecx, [esi + 0x280]
push ecx
lea ecx, [ebx + 0xd4]
mov dword [ebx + 0xc8], eax
call fcn.00404e30
lea edx, [esi + 0x284]
push edx
lea ecx, [ebx + 0xd8]
call fcn.00404e30
lea eax, [esi + 0x288]
push eax
lea ecx, [ebx + 0xdc]
call fcn.00404e30
cmp dword [esi + 0x310], 0
setne al
test al, al
mov byte [ebx + 0xfc], al
je case.0x4510a1.184
cmp dword [ebx + 0x164], 0xffffffff
jne case.0x4510a1.184
call fcn.004c9922
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x40a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 4
push 1
call fcn.004cfbc8
mov ecx, esi
call fcn.00432c20
mov edx, dword [esi + 0x27c]
mov dword [ebx + 0x44], edx
mov eax, dword [esi + 0x274]
mov dword [ebx + 0x48], eax
mov ecx, dword [esi + 0x278]
mov dword [ebx + 0x4c], ecx
mov edx, dword [esi + 0x298]
push 3
lea eax, [esp + 0x38]
push eax
lea ecx, [ebx + 0x3c]
mov dword [ebx + 0x68], edx
call fcn.00404c00
xor ebp, ebp
mov dword [esp + 0x2c], ebp
call fcn.0044e9e0
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call fcn.00432c20
mov eax, dword [esi + 0x288]
cmp eax, ebp
push 0xffffffffffffffff
mov dword [esp + 0x1c], eax
push ebp
jle 0x451369
lea edi, [ebx + 0x50]
mov ecx, edi
call fcn.004cd4c8
cmp dword [esp + 0x18], ebp
jle 0x4512f4
test ebp, ebp
jl 0x451334
cmp ebp, dword [esi + 0x288]
jge 0x451334
mov ecx, dword [esi + 0x284]
lea eax, [ecx + ebp*4]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00405220
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
lea edx, [esp + 0x14]
mov byte [esp + 0x2c], 1
mov eax, dword [edi + 8]
push edx
push eax
mov ecx, edi
call fcn.004cd68b
mov ecx, dword [esp + 0x34]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x45132a
mov eax, dword [esp + 0x14]
push ecx
push eax
call fcn.004e5c45
add esp, 8
test eax, eax
sete al
test al, al
je 0x4512b7
mov dword [esp + 0x1c], 0
mov byte [esp + 0x2c], 0
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 0x4512dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 1
cmp ebp, dword [esp + 0x18]
jl 0x45123e
cmp dword [esp + 0x1c], 0
je 0x4513ac
cmp dword [esp + 0x20], 0
je 0x451339
mov eax, dword [edi + 8]
lea ecx, [esp + 0x34]
push ecx
push eax
mov ecx, edi
call fcn.004cd68b
push 0x707
lea edx, [esp + 0x20]
push edx
call fcn.0041c990
push 0
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x20]
push 0
push eax
jmp 0x45139e
push 0x80004005
call fcn.00404150
call fcn.004c700e
call fcn.0044ef10
call fcn.004c7fc9
test eax, eax
je 0x451352
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x451354
xor eax, eax
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x406
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4513ac
lea esi, [ebx + 0x50]
mov ecx, esi
call fcn.004cd4c8
mov eax, dword [esi + 8]
lea edx, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004cd68b
push 0x708
lea eax, [esp + 0x20]
push eax
call fcn.0041c990
push ebp
mov byte [esp + 0x30], 3
mov ecx, dword [esp + 0x20]
push ebp
push ecx
call fcn.004c6a56
lea ecx, [esp + 0x1c]
call fcn.00476b70
mov eax, dword [ebx + 0x58]
mov dword [ebx + 0x64], eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg case.0x4510a1.184
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 4
push 1
call fcn.004cfbc8
mov ecx, dword [esi + 0x7c]
mov dword [ebx + 0x80], ecx
mov edx, dword [esi + 0xf0]
mov dword [ebx + 0xf0], edx
cmp dword [esi + 0x1ac], 0
lea edi, [ebx + 0x100]
setne al
mov byte [ebx + 0xfd], al
lea eax, [esi + 0xf6]
mov ebp, 0x14
movzx ecx, byte [eax + 2]
mov byte [edi + 2], cl
movzx edx, byte [eax]
mov byte [edi], dl
movzx ecx, byte [eax - 1]
mov byte [edi - 1], cl
movzx edx, byte [eax + 1]
mov byte [edi + 1], dl
movzx ecx, byte [eax - 2]
mov byte [edi - 2], cl
add eax, 5
add edi, 5
sub ebp, 1
jne 0x451430
mov eax, dword [ebx + 0x84]
mov ecx, dword [esi + 0x80]
cmp eax, ecx
je 0x451484
test eax, eax
jne 0x451477
call fcn.0044cfc0
jmp 0x451484
cmp eax, ecx
je 0x451484
test eax, eax
je 0x451484
call fcn.0044d1c0
mov edx, dword [esi + 0x80]
mov dword [ebx + 0x84], edx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 4