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

Disassembly:
sub esp, 0x30
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebp + 0x8c]
test eax, eax
push esi
push edi
je 0x48e210
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
mov ecx, eax
shr ecx, 2
test al, 3
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x80], ecx
jne 0x48e22b
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 + 0x44], 4
lea eax, [esp + 0x44]
ja 0x48e24d
lea eax, [esp + 0x10]
mov ebx, dword [ebp + 0x60]
cmp dword [ebp + 0x5c], ebx
mov edx, dword [eax]
mov dword [esp + 0x14], edx
jbe 0x48e260
call fcn.004af167
mov edi, dword [ebp + 0x5c]
cmp edi, dword [ebp + 0x60]
jbe 0x48e26d
call fcn.004af167
cmp edi, ebx
je 0x48e27c
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
push 0
push 0x76
push 0x280
push 0
push 0
call edx
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
push 1
push 0x78
push 0x200
push edx
push 0x76
push 0x80
push 0
push 0x200
call eax
mov ecx, dword [ebp + 0x78]
add ecx, ecx
add ecx, ecx
xor esi, esi
mov dword [ebp + 0x7c], ecx
mov dword [esp + 0x10], esi
mov ebx, 0x1c
mov dword [esp + 0x44], 0x68
mov edi, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
push 1
push 0x78
lea eax, [ebx - 0x1c]
push eax
push edi
push 0x76
push 0x80
push 0
push eax
mov eax, dword [edx + 0x44]
call eax
cmp esi, dword [esp + 0x14]
jae 0x48e7fb
mov eax, dword [ebp + 0x8c]
test eax, eax
mov ecx, dword [ebp + 0x78]
lea edi, [esi + ecx*4]
je 0x48e330
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
cmp edi, eax
jb 0x48e335
call fcn.004af167
mov eax, dword [ebp + 0x8c]
lea edx, [edi*8]
sub edx, edi
mov ecx, dword [eax + edx*2]
mov edi, dword [ebp + 0x2c]
add ecx, 1
push ecx
call fcn.0048ea10
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x28]
mov edi, dword [esp + 0x44]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push 1
push 0
push 0
push eax
push 0x5a
push 0x78
push 0x5a
add edi, 0xffffff98
push edi
call edx
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x70]
push 0x5a
push 0x78
push 0
push 0
call edx
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
push 1
push 0
push 0
push edx
push 0x5a
push 0x78
push 0
push edi
call eax
mov eax, dword [ebp + 0x8c]
test eax, eax
mov ecx, dword [ebp + 0x78]
lea esi, [esi + ecx*4]
je 0x48e3d1
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
cmp esi, eax
jb 0x48e3d6
call fcn.004af167
mov eax, dword [ebp + 0x8c]
lea edx, [esi*8]
sub edx, esi
mov esi, dword [eax + edx*2]
mov ecx, dword [esp + 0x44]
mov eax, 0x66666667
imul esi
sar edx, 2
push 0
mov edi, edx
push 0xff00
shr edi, 0x1f
add edi, edx
mov edx, dword [ebp + 0x20]
push 0xf4
lea eax, [edi + edi*2]
lea eax, [eax*4 + 0x1d0]
push eax
push edx
push 0x14
push 0xc
add ecx, 0xfffffff4
push 0x42
push ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x3c], eax
call fcn.0043eca0
mov ecx, dword [ebp + 0x20]
push 0
lea eax, [edi + edi*4]
push 0xff00
add eax, eax
sub esi, eax
push 0xf4
lea esi, [esi + esi*2]
lea edi, [esi*4 + 0x1d0]
mov esi, dword [esp + 0x50]
push edi
push ecx
mov ecx, dword [ebp + 0x28]
push 0x14
push 0xc
push 0x42
push esi
call fcn.0043eca0
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x28]
push 0
push 0xff00
push 0xf4
push edx
push eax
push 0x14
push 0xc
push 0x9c
lea eax, [esi - 0xc]
push eax
call fcn.0043eca0
mov ecx, dword [ebp + 0x20]
push 0
push 0xff00
push 0xf4
push edi
push ecx
mov ecx, dword [ebp + 0x28]
push 0x14
push 0xc
push 0x9c
push esi
call fcn.0043eca0
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
push 1
push 0
add esi, 0xffffff98
push esi
mov esi, dword [ebp + 0x28]
push esi
lea eax, [ebx - 0x18]
push 0x5a
push 0x78
push 0xe
push eax
mov eax, dword [edx + 0x44]
call eax
mov eax, dword [ebp + 0x8c]
test eax, eax
mov ecx, dword [ebp + 0x78]
mov esi, dword [esp + 0x10]
lea edi, [esi + ecx*4]
je 0x48e503
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
cmp edi, eax
jb 0x48e508
call fcn.004af167
mov eax, dword [ebp + 0x8c]
lea edx, [edi*8]
sub edx, edi
movzx eax, word [eax + edx*2 + 6]
movzx eax, ax
cdq
mov edi, 0xa
idiv edi
mov ecx, dword [ebp + 0x1c]
push 1
push 0xef
add eax, eax
add eax, eax
add eax, eax
push eax
mov eax, dword [ebp + 0x20]
push eax
push 0xb
push 8
mov edi, edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push 0x69
lea eax, [ebx - 8]
push eax
call edx
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
push 1
push 0xef
lea edx, [edi*8]
push edx
mov edx, dword [ebp + 0x20]
push edx
push 0xb
push 8
push 0x69
push ebx
call eax
mov eax, dword [ebp + 0x8c]
test eax, eax
mov ecx, dword [ebp + 0x78]
lea edi, [esi + ecx*4]
je 0x48e5a2
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
cmp edi, eax
jb 0x48e5a7
call fcn.004af167
mov eax, dword [ebp + 0x8c]
lea edx, [edi*8]
sub edx, edi
movzx eax, word [eax + edx*2 + 8]
movzx eax, ax
cdq
mov edi, 0xa
idiv edi
mov ecx, dword [ebp + 0x1c]
push 1
push 0xef
add eax, eax
add eax, eax
add eax, eax
push eax
mov eax, dword [ebp + 0x20]
push eax
push 0xb
push 8
mov edi, edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push 0x69
lea eax, [ebx + 0x10]
push eax
call edx
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
push 1
push 0xef
lea edx, [edi*8]
push edx
mov edx, dword [ebp + 0x20]
push edx
push 0xb
push 8
push 0x69
lea edx, [ebx + 0x18]
push edx
call eax
mov eax, dword [ebp + 0x8c]
test eax, eax
mov ecx, dword [ebp + 0x78]
lea edi, [esi + ecx*4]
je 0x48e644
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
cmp edi, eax
jb 0x48e649
call fcn.004af167
mov eax, dword [ebp + 0x8c]
lea edx, [edi*8]
sub edx, edi
movzx eax, word [eax + edx*2 + 0xa]
movzx eax, ax
cdq
mov edi, 0xa
idiv edi
mov ecx, dword [ebp + 0x1c]
push 1
push 0xef
add eax, eax
add eax, eax
add eax, eax
push eax
mov eax, dword [ebp + 0x20]
push eax
push 0xb
push 8
mov edi, edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push 0x69
lea eax, [ebx + 0x28]
push eax
call edx
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
push 1
push 0xef
lea edx, [edi*8]
push edx
mov edx, dword [ebp + 0x20]
push edx
push 0xb
push 8
push 0x69
lea edx, [ebx + 0x30]
push edx
call eax
mov eax, dword [ebp + 0x8c]
test eax, eax
mov ecx, dword [ebp + 0x78]
lea edi, [esi + ecx*4]
je 0x48e6e6
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
cmp edi, eax
jb 0x48e6eb
call fcn.004af167
mov eax, dword [ebp + 0x8c]
lea edx, [edi*8]
sub edx, edi
movzx eax, word [eax + edx*2 + 0xc]
movzx eax, ax
cdq
mov edi, 0xa
idiv edi
mov ecx, dword [ebp + 0x1c]
push 1
push 0xef
add eax, eax
add eax, eax
add eax, eax
push eax
mov eax, dword [ebp + 0x20]
push eax
push 0xb
push 8
mov edi, edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push 0x69
lea eax, [ebx + 0x40]
push eax
call edx
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
push 1
push 0xef
lea edx, [edi*8]
push edx
mov edx, dword [ebp + 0x20]
push edx
push 0xb
push 8
push 0x69
lea edx, [ebx + 0x48]
push edx
call eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push 1
push 0xef
push 0x50
push eax
push 0xb
push 8
push 0x69
lea eax, [ebx + 8]
push eax
call edx
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
push 1
push 0xef
push 0x58
push edx
push 0xb
push 8
push 0x69
lea edx, [ebx + 0x38]
push edx
call eax
call fcn.0044b4e0
sub esp, 0x10
cmp dword [eax + 0xfb4], 1
mov eax, esp
lea ecx, [ebx - 0x18]
mov edx, 0xe
mov dword [eax], ecx
mov dword [eax + 4], edx
jne 0x48e7dc
lea edi, [ebx + 0x60]
mov ecx, 0x68
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x78]
lea edx, [esi + ecx*4]
push edx
push ebp
call fcn.0048da50
mov esi, dword [esp + 0x10]
jmp 0x48e81f
push 0x3e8
lea esi, [ebx + 0x60]
mov edi, 0x68
mov dword [eax + 8], esi
push ebp
mov dword [eax + 0xc], edi
call fcn.0048da50
mov esi, dword [esp + 0x10]
jmp 0x48e81f
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
push 1
push pe_nt_image_headers32
push 0x208
push edx
push 0x5a
push 0x78
push 0xe
lea edx, [ebx - 0x18]
push edx
call eax
mov eax, dword [esp + 0x44]
add eax, 0x78
add esi, 1
add ebx, 0x80
cmp eax, 0x248
mov dword [esp + 0x10], esi
mov dword [esp + 0x44], eax
jb 0x48e2d7
mov ebx, dword [0x4c92a0]
mov eax, 0x204
mov ecx, 0x10
lea edx, [eax + 0x38]
lea esi, [ecx + 0x14]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x24], edx
push ecx
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], 0x64
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], esi
call ebx
lea eax, [esp + 0x2c]
push eax
lea esi, [ebp + 0x58]
call fcn.0040f810
mov eax, 0x240
lea ecx, [edi + 0x10]
lea edx, [eax + 0x38]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], edx
push ecx
lea edx, [esp + 0x34]
lea esi, [edi + 0x24]
push edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], 0x65
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], esi
call ebx
lea eax, [esp + 0x2c]
push eax
lea esi, [ebp + 0x58]
call fcn.0040f810
call fcn.0044b4e0
sub esp, 0x10
cmp dword [eax + 0xfb0], 1
mov eax, esp
mov ecx, 0x204
mov dword [eax], ecx
lea edx, [edi + 0x26]
mov ecx, 0x278
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, 0x3a
mov dword [eax + 0xc], ecx
jne 0x48e924
push 0x66
push ebp
call fcn.0048da50
jmp 0x48e951
push 0x3e8
push ebp
call fcn.0048da50
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push 1
push 0x138
push 0x74
push eax
push 0x14
push 0x74
push 0x26
push 0x204
call edx
mov eax, 0x204
mov dword [esp + 0x1c], eax
mov eax, 0x278
mov ecx, 0x52
mov dword [esp + 0x24], eax
lea edx, [ecx + 0x14]
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], 0x68
mov dword [esp + 0x30], edx
call ebx
lea edx, [esp + 0x2c]
push edx
call fcn.0040f810
cmp dword [ebp + 0x78], edi
mov esi, 1
mov dword [ebp + 0x70], esi
mov dword [ebp + 0x74], esi
jne 0x48e9d4
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
push esi
push 0x138
push edi
push edx
push 0x14
push 0x38
mov dword [ebp + 0x70], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
push 0x10
push 0x204
call eax
mov ecx, dword [ebp + 0x80]
cmp ecx, dword [ebp + 0x78]
jne 0x48ea03
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
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4