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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5761de
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x5ca1c8]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 4]
test eax, eax
je 0x4888d6
cmp byte [eax + 0x166], 0
jne 0x4888d6
mov ecx, dword [ebx + 4]
cmp byte [ecx + 0x3e8], 0
jne 0x4888d6
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc], 0x30
jl 0x4888d6
mov al, byte [ecx + 0x162]
xor edi, edi
test al, al
je 0x4886bc
cmp dword [ecx + 0x320], edi
jg 0x4888d6
push dword [esi + 0xc]
lea ecx, [esp + 0x20]
push dword [esi + 8]
call fcn.00533f37
lea eax, [esp + 0x50]
mov dword [esp + 0xc0], edi
push eax
lea ecx, [esp + 0x20]
call fcn.00440d5a
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.00440d5a
xor edx, edx
inc edx
cmp word [esp + 0x14], dx
jne 0x4888be
push 6
pop ecx
xor eax, eax
lea edi, [esp + 0x5c]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov byte [esp + 0xc0], dl
lea edi, [esp + 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
push 0x10
lea ecx, [esp + 0x78]
mov byte [esp + 0xc4], 2
call fcn.0043988d
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5c], eax
xor edi, edi
mov eax, dword [esi + 0x14]
mov dword [esp + 0x60], eax
movzx eax, word [esi + 0x18]
push edi
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x30]
push 0x10
push dword [esp + 0x7c]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x7c], eax
call fcn.00533ae5
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x20]
call fcn.00440d72
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x4c]
push eax
call fcn.00440d72
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x1c]
push edi
xor esi, esi
mov dword [esp + 0x88], eax
inc esi
lea eax, [esp + 0x15]
push esi
push eax
call fcn.00533ae5
mov al, byte [esp + 0x11]
lea ecx, [esp + 0x1c]
push edi
mov byte [esp + 0x8c], al
lea eax, [esp + 0x16]
push esi
push eax
call fcn.00533ae5
mov al, byte [esp + 0x12]
lea ecx, [esp + 0x1c]
push edi
mov byte [esp + 0x8d], al
lea eax, [esp + 0x17]
push esi
push eax
call fcn.00533ae5
push edi
push esi
lea eax, [esp + 0x23]
push eax
lea ecx, [esp + 0x28]
call fcn.00533ae5
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x20]
call fcn.00440d72
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x20]
call fcn.00440d72
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x20]
call fcn.00440d72
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
call fcn.00440d72
mov eax, dword [ebx + 4]
xor ecx, ecx
cmp dword [eax + 0x32c], ecx
jl 0x4888a2
jg 0x488869
cmp dword [eax + 0x328], ecx
jbe 0x4888a2
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
push 1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x20]
push ecx
push ecx
lea ecx, [esp + 0x28]
call dword [eax + 0x10]
sub esi, eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x3c]
mov ecx, ebx
add eax, dword [esp + 0x20]
push esi
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0048965b
xor ecx, ecx
mov byte [esp + 0xc0], cl
lea ecx, [esp + 0x94]
call fcn.00408df6
lea ecx, [esp + 0x74]
call fcn.00408df6
or dword [esp + 0xc0], 0xffffffff
mov dword [esp + 0x1c], 0x592738
mov dword [esp + 0x1c], 0x59271c
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4