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

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x34]
mov eax, dword [ebp + 0x30]
mov ecx, eax
shr ecx, 2
test al, 3
push esi
push edi
mov dword [ebp + 0x80], ecx
jne 0x48d5f6
add ecx, 0xffffffff
mov dword [ebp + 0x80], ecx
mov ecx, dword [ebp + 0x78]
add ecx, ecx
add ecx, ecx
sub eax, ecx
mov dword [esp + 0x10], eax
cmp eax, 4
mov dword [esp + 0x3c], 4
lea eax, [esp + 0x3c]
ja 0x48d618
lea eax, [esp + 0x10]
mov ebx, dword [ebp + 0x60]
cmp dword [ebp + 0x5c], ebx
mov edx, dword [eax]
mov dword [esp + 0x10], edx
jbe 0x48d62b
call fcn.004af167
mov edi, dword [ebp + 0x5c]
cmp edi, dword [ebp + 0x60]
jbe 0x48d638
call fcn.004af167
cmp edi, ebx
je 0x48d647
mov eax, dword [ebp + 0x60]
call fcn.0040fc10
mov dword [ebp + 0x60], eax
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x74]
push 1
xor edi, edi
push edi
push 0x76
push 0x280
push edi
push edi
call edx
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
push 1
push edi
push 0x200
push edx
push 0x76
push 0x80
push edi
push 0x200
call eax
mov ecx, dword [ebp + 0x78]
add ecx, ecx
add ecx, ecx
mov dword [ebp + 0x7c], ecx
mov dword [esp + 0x3c], edi
mov ebx, 4
mov esi, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
push 1
push edi
lea eax, [ebx - 4]
push eax
push esi
push 0x76
push 0x80
push edi
push eax
mov eax, dword [edx + 0x44]
call eax
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x10]
jae 0x48d76d
mov ecx, dword [ebp + 0x78]
mov esi, dword [ebp + 0x34]
lea edi, [eax + ecx*4 + 1]
call fcn.0048dac0
test eax, eax
je 0x48d741
mov eax, dword [ebp + 0x78]
mov esi, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esi + eax*4]
mov edi, eax
shl edi, 4
sub edi, eax
mov eax, dword [ebp + 0x24]
push 1
push 0
add edi, edi
add edi, edi
add edi, edi
push edi
push eax
push 0x5a
push 0x78
push 0xe
push ebx
call edx
call fcn.0044b4e0
sub esp, 0x10
cmp dword [eax + 0xfb0], 1
mov eax, esp
mov ecx, 0xe
mov dword [eax], ebx
lea edx, [ebx + 0x78]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jne 0x48d756
mov edi, 0x68
mov dword [eax + 0xc], edi
mov eax, dword [ebp + 0x78]
lea ecx, [esi + eax*4]
push ecx
push ebp
call fcn.0048da50
xor edi, edi
jmp 0x48d78e
sub esp, 0x10
mov eax, esp
mov ecx, 0xe
mov dword [eax], ebx
lea edx, [ebx + 0x78]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
push 0x3e8
mov esi, 0x68
push ebp
mov dword [eax + 0xc], esi
call fcn.0048da50
xor edi, edi
jmp 0x48d78e
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push 1
push pe_nt_image_headers32
push 0x208
push eax
push 0x5a
push 0x78
push 0xe
push ebx
call edx
add dword [esp + 0x3c], 1
add ebx, 0x80
cmp ebx, 0x204
jb 0x48d695
mov ebx, dword [0x4c92a0]
mov eax, 0x204
mov ecx, 0x10
lea edx, [eax + 0x38]
mov dword [esp + 0x14], eax
lea esi, [ecx + 0x14]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], 0x64
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], esi
call ebx
lea edx, [esp + 0x24]
push edx
lea esi, [ebp + 0x58]
call fcn.0040f810
mov eax, 0x240
mov ecx, 0x10
lea edx, [eax + 0x38]
mov dword [esp + 0x14], eax
lea esi, [ecx + 0x14]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], 0x65
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], esi
call ebx
lea edx, [esp + 0x24]
push edx
lea esi, [ebp + 0x58]
call fcn.0040f810
mov eax, dword [ebp + 0x8c]
cmp eax, edi
je 0x48d8b0
mov ecx, dword [ebp + 0x90]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x48d8b0
call fcn.0044b4e0
cmp dword [eax + 0xfb4], 1
jne 0x48d8b0
sub esp, 0x10
mov eax, esp
mov ecx, 0x204
mov dword [eax], ecx
mov edx, 0x3c
mov dword [eax + 4], edx
mov ecx, 0x278
mov dword [eax + 8], ecx
push 0x67
mov ecx, 0x50
push ebp
mov dword [eax + 0xc], ecx
call fcn.0048da50
jmp 0x48d900
mov ecx, 0x3c
lea edx, [ecx + 0x14]
mov dword [esp + 0x18], ecx
mov eax, 0x204
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
push ecx
lea edx, [esp + 0x2c]
mov eax, 0x278
push edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], 0x3e8
mov dword [esp + 0x24], eax
call ebx
lea eax, [esp + 0x24]
push eax
call fcn.0040f810
mov ecx, 0x52
lea edx, [ecx + 0x14]
mov dword [esp + 0x18], ecx
mov eax, 0x204
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
push ecx
lea edx, [esp + 0x2c]
mov eax, 0x278
push edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], 0x68
mov dword [esp + 0x24], eax
call ebx
lea eax, [esp + 0x24]
push eax
call fcn.0040f810
cmp dword [ebp + 0x78], edi
mov esi, 1
mov dword [ebp + 0x70], esi
mov dword [ebp + 0x74], esi
jne 0x48d983
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
push esi
push 0x138
push edi
push eax
push 0x14
push 0x38
mov dword [ebp + 0x70], edi
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push 0x10
push 0x204
call edx
mov eax, dword [ebp + 0x80]
cmp eax, dword [ebp + 0x78]
jne 0x48d9b2
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
push esi
push 0x138
push 0x3c
push eax
push 0x14
push 0x38
mov dword [ebp + 0x74], edi
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push 0x10
push 0x240
call edx
mov eax, dword [ebp + 0x8c]
cmp eax, edi
je 0x48d9e6
mov ecx, dword [ebp + 0x90]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x48d9e6
call fcn.0044b4e0
cmp dword [eax + 0xfb4], edi
jne 0x48da0a
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push esi
push 0x138
push 0xe8
push eax
push 0x14
push 0x74
push 0x3c
push 0x204
call edx
call fcn.0044b4e0
cmp dword [eax + 0xfb0], edi
jne 0x48da38
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
push esi
push 0x138
push 0x74
push edx
push 0x14
push 0x74
push 0x26
push 0x204
call eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4