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

Disassembly:
sub esp, 0x24
cmp dword [esp + 0x28], 0
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, eax
mov esi, ecx
mov ebx, edx
je 0x48b37e
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push edi
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push ebp
push eax
jmp 0x48b3a3
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x44]
push 0
push 0
push eax
push 1
push edi
push 0
push 0
push ecx
push ebp
push edx
push esi
call fcn.00492450
cmp dword [esp + 0x40], 0
je 0x48b428
cmp dword [esp + 0x38], 0
mov ecx, dword [0x100ef48c]
je 0x48b3ff
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push edi
push eax
mov eax, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [ecx + 0x190]
push ebp
add ecx, 0x190
push edx
mov edx, dword [eax + 0x24]
push esi
call edx
call eax
mov edi, eax
jmp 0x48b42c
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x40]
push edi
push edx
mov edx, dword [ecx + 0x160]
push ebp
add ecx, 0x160
push eax
mov eax, dword [edx + 0x24]
push esi
call eax
call eax
mov edi, eax
jmp 0x48b42c
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x48b57f
test esi, esi
je 0x48b57f
mov ecx, dword [esi]
lea edx, [esp + 0x38]
push edx
lea eax, [ebx + 0xc4]
mov dword [esp + 0x3c], ecx
call fcn.004f9350
test eax, eax
je 0x48b548
mov eax, dword [esp + 0x44]
cmp dword [eax + 4], 2
jne 0x48b57f
mov ecx, dword [0x100e7a10]
push ecx
call dword [0x100cf0b4]
test eax, eax
jne 0x48b57f
mov eax, dword [esi]
lea edx, [esp + 0x10]
push edx
xor ebp, ebp
push eax
mov eax, ebx
mov dword [esp + 0x1c], ebp
mov word [esp + 0x18], bp
mov word [esp + 0x1a], bp
call fcn.0049ad00
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push esi
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
mov dword [esp + 0x2c], ebp
mov word [esp + 0x28], bp
mov word [esp + 0x2a], bp
mov dword [esp + 0x34], ebp
mov word [esp + 0x30], bp
mov word [esp + 0x32], bp
call fcn.00486a50
lea ecx, [esp + 0x44]
push ebp
push ecx
call fcn.0047a340
mov ebp, dword [esp + 0x4c]
add esp, 8
push 1
lea eax, [esp + 0x14]
mov ecx, ebp
call fcn.0047a4b0
movzx ecx, word [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x78]
push ebp
shr ecx, 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
mov eax, dword [ebx]
mov eax, dword [eax + 0x44]
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call eax
lea esi, [esp + 0x44]
call fcn.004f91d0
lea eax, [esp + 0x20]
call fcn.00505660
lea eax, [esp + 0x18]
call fcn.00505660
lea eax, [esp + 0x10]
call fcn.00505660
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x28
test dword [esp + 0x3c], 0x100000
je 0x48b57f
test dword [esp + 0x54], 0x30
jne 0x48b57f
push 0
push 0
push 1
push 0
call dword [0x100cf0cc]
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], eax
push esi
lea eax, [ebx + 0x19c]
call fcn.004a3850
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x28