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

Disassembly:
push 0xffffffffffffffff
push 0x5c6800
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.0x451921.184
movzx eax, byte [eax + 0x451d3c]
jmp dword [eax*4 + 0x451d28]
push 1
call fcn.004d0408
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.004d0408
mov ecx, dword [esi + 0x12c]
lea edx, [esi + 0x124]
mov dword [ebx + 0x78], ecx
push edx
lea ecx, [ebx + 0x70]
call fcn.00404e20
mov eax, dword [esi + 0x290]
lea ecx, [esi + 0x280]
push ecx
lea ecx, [ebx + 0xd4]
mov dword [ebx + 0xc8], eax
call fcn.00404e20
lea edx, [esi + 0x284]
push edx
lea ecx, [ebx + 0xd8]
call fcn.00404e20
lea eax, [esi + 0x288]
push eax
lea ecx, [ebx + 0xdc]
call fcn.00404e20
cmp dword [esi + 0x310], 0
setne al
test al, al
mov byte [ebx + 0xfc], al
je case.0x451921.184
cmp dword [ebx + 0x164], 0xffffffff
jne case.0x451921.184
call fcn.004ca1a2
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.004d0408
mov ecx, esi
call fcn.00433480
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.00404bf0
xor ebp, ebp
mov dword [esp + 0x2c], ebp
call fcn.0044f260
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call fcn.00433480
mov eax, dword [esi + 0x288]
cmp eax, ebp
push 0xffffffffffffffff
mov dword [esp + 0x1c], eax
push ebp
jle 0x451be9
lea edi, [ebx + 0x50]
mov ecx, edi
call fcn.004cdd08
cmp dword [esp + 0x18], ebp
jle 0x451b74
test ebp, ebp
jl 0x451bb4
cmp ebp, dword [esi + 0x288]
jge 0x451bb4
mov ecx, dword [esi + 0x284]
lea eax, [ecx + ebp*4]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00405210
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.004cdecb
mov ecx, dword [esp + 0x34]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x451baa
mov eax, dword [esp + 0x14]
push ecx
push eax
call fcn.004e64c5
add esp, 8
test eax, eax
sete al
test al, al
je 0x451b37
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 0x451b5c
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 0x451abe
cmp dword [esp + 0x1c], 0
je 0x451c2c
cmp dword [esp + 0x20], 0
je 0x451bb9
mov eax, dword [edi + 8]
lea ecx, [esp + 0x34]
push ecx
push eax
mov ecx, edi
call fcn.004cdecb
push 0x707
lea edx, [esp + 0x20]
push edx
call fcn.0041d1c0
push 0
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x20]
push 0
push eax
jmp 0x451c1e
push 0x80004005
call fcn.00404150
call fcn.004c788e
call fcn.0044f790
call fcn.004c8849
test eax, eax
je 0x451bd2
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x451bd4
xor eax, eax
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x406
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x451c2c
lea esi, [ebx + 0x50]
mov ecx, esi
call fcn.004cdd08
mov eax, dword [esi + 8]
lea edx, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004cdecb
push 0x708
lea eax, [esp + 0x20]
push eax
call fcn.0041d1c0
push ebp
mov byte [esp + 0x30], 3
mov ecx, dword [esp + 0x20]
push ebp
push ecx
call fcn.004c72d6
lea ecx, [esp + 0x1c]
call fcn.004773d0
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.0x451921.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.004d0408
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 0x451cb0
mov eax, dword [ebx + 0x84]
mov ecx, dword [esi + 0x80]
cmp eax, ecx
je 0x451d04
test eax, eax
jne 0x451cf7
call fcn.0044d840
jmp 0x451d04
cmp eax, ecx
je 0x451d04
test eax, eax
je 0x451d04
call fcn.0044da40
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