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

Disassembly:
push 0xffffffffffffffff
push 0x5ab1d0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
lea ecx, [esp + 0x20]
call fcn.00566008
xor edi, edi
mov dword [esp + 0x78], edi
mov eax, dword [esi + 0x308]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x28]
call fcn.00576d2e
mov eax, dword [esi + 0x308]
cmp eax, edi
jle 0x4f537a
test edi, edi
jl 0x4f53bf
cmp edi, dword [esi + 0x308]
jge 0x4f53bf
mov eax, dword [esi + 0x304]
mov ecx, dword [0x63c454]
lea ebx, [edi*4]
add eax, ebx
test ecx, ecx
mov eax, dword [eax]
je 0x4f5360
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x4f5360
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
push eax
push 0
push 0x113e
push ecx
mov dword [esp + 0x58], 0x14
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4f5360
mov eax, dword [esp + 0x6c]
jmp 0x4f5362
xor eax, eax
cmp edi, dword [esp + 0x28]
jge 0x4f53bf
mov ecx, dword [esp + 0x24]
add edi, 1
mov dword [ebx + ecx], eax
cmp edi, dword [esi + 0x308]
jl 0x4f5301
mov edx, dword [esi + 0x140]
xor ecx, ecx
cmp dword [esi + 0x308], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
jle 0x4f54de
jmp 0x4f53a0
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
cmp edi, ebp
jle 0x4f53c4
mov ebx, dword [esi + 0x308]
sub ebx, ecx
sub ebx, 1
jmp 0x4f53c6
call fcn.00555520
mov ebx, ecx
test ebx, ebx
jl 0x4f53bf
cmp ebx, dword [esi + 0x2f4]
jge 0x4f53bf
mov eax, dword [esi + 0x2f0]
lea edx, [ebx*4]
add eax, edx
cmp dword [eax], 0
je 0x4f54c9
mov eax, ebx
sub eax, ebp
cmp edi, ebp
jge 0x4f540a
add edi, eax
mov dword [esp + 0x14], edi
jne 0x4f5401
mov ecx, 0xffff0001
jmp 0x4f5425
lea eax, [edi - 1]
test eax, eax
jl 0x4f53bf
jmp 0x4f5412
add eax, edi
mov dword [esp + 0x14], eax
js 0x4f53bf
cmp eax, dword [esi + 0x308]
jge 0x4f53bf
mov ecx, dword [esi + 0x304]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
cmp ebx, dword [esi + 0x308]
lea ebp, [esi + 0x300]
jge 0x4f53bf
mov eax, dword [ebp + 4]
mov edi, dword [0x63c454]
add eax, edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [eax]
push edx
call fcn.00488e60
cmp ebx, dword [ebp + 8]
mov edi, eax
jge 0x4f53bf
mov eax, dword [ebp + 4]
lea ecx, [ebx*4]
add eax, ecx
mov ecx, dword [esi + 0x13c]
cmp ecx, dword [eax]
jne 0x4f5472
mov dword [esi + 0x13c], edi
mov edx, dword [esp + 0x80]
cmp dword [esp + 0x84], edx
push 1
jge 0x4f549d
push ebx
mov ecx, ebp
call fcn.0055d7a9
mov eax, dword [esp + 0x14]
push 1
push edi
push eax
mov ecx, ebp
call fcn.0056602f
jmp 0x4f54b7
mov ecx, dword [esp + 0x18]
add ecx, 1
push edi
push ecx
mov ecx, ebp
call fcn.0056602f
push 1
push ebx
mov ecx, ebp
call fcn.0055d7a9
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
mov ecx, dword [esp + 0x18]
add ecx, 1
cmp ecx, dword [esi + 0x308]
mov dword [esp + 0x18], ecx
jl 0x4f53a0
jmp 0x4f54ec
mov ebp, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
cmp edi, ebp
jle 0x4f551c
mov edx, edi
sub edx, ebp
push edx
push 0
lea ebx, [esi + 0x2ec]
push 0
mov ecx, ebx
call fcn.0056602f
mov eax, dword [esi + 0x2f4]
sub eax, edi
push 0xffffffffffffffff
add eax, ebp
push eax
mov ecx, ebx
call fcn.00576d2e
jmp 0x4f553f
sub ebp, edi
push ebp
lea edi, [esi + 0x2ec]
push 0
mov ecx, edi
call fcn.0055d7a9
mov eax, dword [esi + 0x2f4]
push ebp
push 0
push eax
mov ecx, edi
call fcn.0056602f
lea ecx, [esp + 0x34]
call fcn.0055d752
xor edi, edi
mov byte [esp + 0x78], 1
cmp dword [esi + 0x308], edi
jle 0x4f55ef
test edi, edi
jl 0x4f53bf
cmp edi, dword [esp + 0x28]
jge 0x4f53bf
cmp edi, dword [esi + 0x308]
mov eax, dword [esp + 0x24]
lea ecx, [edi*4]
lea ebx, [ecx + eax]
jge 0x4f53bf
mov eax, dword [esi + 0x304]
add eax, ecx
mov ecx, dword [0x63c454]
test ecx, ecx
mov eax, dword [eax]
je 0x4f55cb
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x4f55cb
lea edx, [esp + 0x48]
push edx
push 0
push 0x113e
push ecx
mov dword [esp + 0x58], 0x14
mov dword [esp + 0x5c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4f55cb
mov eax, dword [esp + 0x6c]
jmp 0x4f55cd
xor eax, eax
cmp dword [ebx], eax
je 0x4f55e0
mov eax, dword [esp + 0x3c]
push edi
push eax
lea ecx, [esp + 0x3c]
call fcn.0055d779
add edi, 1
cmp edi, dword [esi + 0x308]
jl 0x4f555b
push str.main
push 0
mov ecx, esi
mov dword [esp + 0x88], 0
call fcn.004ed0f0
mov edi, eax
test edi, edi
je 0x4f562a
mov ecx, dword [edi]
mov eax, dword [ecx]
lea edx, [esp + 0x80]
push edx
push 0x5d1ea0
push edi
call eax
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov edi, dword [esp + 0x80]
lea eax, [esp + 0x34]
push eax
push edi
push esi
call fcn.004f5af0
test edi, edi
je 0x4f5649
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 0
call fcn.0055d769
lea ecx, [esp + 0x20]
mov dword [esp + 0x78], 0xffffffff
call fcn.0056601f
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x6c
ret 8