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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x573b55
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x5c31c8]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 4]
test eax, eax
je 0x4899e2
cmp byte [eax + 0x172], 0
jne 0x4899e2
mov ecx, dword [ebx + 4]
cmp byte [ecx + 0x430], 0
jne 0x4899e2
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc], 0x30
jl 0x4899e2
mov al, byte [ecx + 0x16e]
test al, al
je 0x4897fe
cmp dword [ecx + 0x368], 0
jg 0x4899e2
push dword [esi + 0xc]
lea ecx, [esp + 0x28]
push dword [esi + 8]
call fcn.005321e4
and dword [esp + 0xb8], 0
lea eax, [esp + 0x1c]
push eax
call fcn.00441a4a
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.00441a4a
xor edx, edx
inc edx
cmp word [esp + 0x14], dx
jne 0x4899e2
xor eax, eax
lea edi, [esp + 0x54]
push 6
pop ecx
rep stosd dword es:[edi], eax
mov dword [esp + 0x6c], eax
lea edi, [esp + 0x78]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
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
xor edi, edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
push 0x10
lea ecx, [esp + 0x70]
mov byte [esp + 0xbc], dl
call fcn.0043a608
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x58], eax
movzx eax, word [esi + 0x18]
push edi
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x30]
push 0x10
push dword [esp + 0x74]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x74], eax
call fcn.00531dda
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
call fcn.00441a62
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x20]
push eax
call fcn.00441a62
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push edi
xor esi, esi
mov dword [esp + 0x80], eax
inc esi
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00531dda
mov al, byte [esp + 0x10]
lea ecx, [esp + 0x24]
push edi
mov byte [esp + 0x84], al
lea eax, [esp + 0x15]
push esi
push eax
call fcn.00531dda
mov al, byte [esp + 0x11]
lea ecx, [esp + 0x24]
push edi
mov byte [esp + 0x85], al
lea eax, [esp + 0x16]
push esi
push eax
call fcn.00531dda
push edi
push esi
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x30]
call fcn.00531dda
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x28]
call fcn.00441a62
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x28]
call fcn.00441a62
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x28]
call fcn.00441a62
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x28]
call fcn.00441a62
mov eax, dword [ebx + 4]
cmp dword [eax + 0x374], edi
jl 0x4899cd
jg 0x489996
cmp dword [eax + 0x370], edi
jbe 0x4899cd
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x24]
mov esi, dword [esp + 0x3c]
push 1
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
push edi
push edi
call dword [eax + 0x10]
sub esi, eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x44]
mov ecx, ebx
add eax, dword [esp + 0x28]
push esi
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0048a753
lea ecx, [esp + 0x8c]
call fcn.00408f76
lea ecx, [esp + 0x6c]
call fcn.00408f76
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4