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

Disassembly:
sub esp, 0xc8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xdc]
xor edx, edx
xor ebx, ebx
cmp eax, ebx
setne dl
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add edx, 2
mov dword [esp + 0x2c], edx
lea esp, [esp]
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x5c]
push eax
push ecx
call fcn.0041ca60
add esp, 0x10
cmp eax, ebx
jne 0x48b66f
mov edx, dword [esi + 0x24]
push edx
lea ecx, [esp + 0x9c]
call fcn.00484280
mov edi, dword [esi + 0x24]
push edi
lea ecx, [esp + 0xbc]
call fcn.00484280
mov ebp, dword [edi + 8]
mov edi, dword [edi + 0xc]
lea ecx, [esp + 0xb8]
call fcn.00484270
cmp ebp, ebx
mov eax, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
jne 0x48b2db
cmp edi, ebx
je 0x48b65e
jmp 0x48b2db
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x30], eax
call fcn.004898d0
mov esi, dword [eax + 8]
cmp esi, ebx
mov edi, dword [eax + 0xc]
jne 0x48b30b
cmp edi, ebx
je 0x48b516
push edi
push esi
call fcn.00418ee0
push edi
push esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
call fcn.00418ee0
push edi
push esi
mov ebp, eax
call fcn.00418f00
push ebp
call dword [0x100780b4]
cmp dword [esp + 0x4c], ebx
jne 0x48b33d
cmp dword [esp + 0x50], ebx
je 0x48b3af
mov esi, dword [esp + 0x44]
push esi
call dword [0x100780a0]
test eax, eax
jne 0x48b3af
cmp dword [esi + 0x30], ebx
jne 0x48b356
cmp dword [esi + 0x34], ebx
je 0x48b377
mov eax, dword [esi + 0x30]
cmp eax, ebx
mov ecx, dword [esi + 0x34]
jne 0x48b364
cmp ecx, ebx
je 0x48b371
push ecx
push eax
call fcn.00418ec0
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
cmp dword [esi + 0x40], ebx
jne 0x48b381
cmp dword [esi + 0x44], ebx
je 0x48b3a2
mov eax, dword [esi + 0x40]
cmp eax, ebx
mov ecx, dword [esi + 0x44]
jne 0x48b38f
cmp ecx, ebx
je 0x48b39c
push ecx
push eax
call fcn.00418ec0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.00418ec0
mov edi, dword [esp + 0x10]
lea esi, [ebp + 0x18]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], ebx
cmp dword [esi], ebx
je 0x48b525
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0x24]
push edx
push eax
call fcn.004894e0
mov ecx, dword [esp + 0xdc]
cmp ecx, dword [esi]
je 0x48b68f
lea edx, [esp + 0x40]
push edx
push esi
lea ecx, [edi + 0x60]
call fcn.00489df0
test eax, eax
je 0x48b5ca
cmp dword [0x10176748], ebx
mov edi, dword [esp + 0x40]
je 0x48b482
mov eax, dword [esi]
push 0x10087aa8
push eax
push 0x10087a90
push edi
lea ecx, [esp + 0x70]
call fcn.0041b730
push eax
push 0x10087a84
lea ecx, [esp + 0xa0]
call fcn.0042d8e0
mov ecx, eax
call fcn.0042c830
mov ecx, eax
call fcn.0042d9a0
mov ecx, eax
call fcn.0042c830
mov ecx, eax
call fcn.0042c8a0
mov ecx, eax
call fcn.0042c830
lea ecx, [esp + 0x8c]
call fcn.0042c740
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x48b482
push eax
call fcn.0041aa10
add esp, 4
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
push edi
call dword [0x100781a8]
cmp dword [0x10176748], ebx
je 0x48b5ca
mov ecx, dword [esi]
push 0x10087a78
push ecx
push 0x10087a90
push edi
lea ecx, [esp + 0x80]
call fcn.0041b730
push eax
push 0x10087a84
lea ecx, [esp + 0x94]
call fcn.0042d8e0
mov ecx, eax
call fcn.0042c830
mov ecx, eax
call fcn.0042d9a0
mov ecx, eax
call fcn.0042c830
mov ecx, eax
call fcn.0042c8a0
mov ecx, eax
call fcn.0042c830
lea ecx, [esp + 0x80]
call fcn.0042c740
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x48b5ca
push eax
call fcn.0041aa10
add esp, 4
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
jmp 0x48b5ca
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
xor ebp, ebp
jmp 0x48b331
mov edx, dword [edi + 0x5c]
test edx, edx
jne 0x48b5c0
mov eax, dword [edi + 0x58]
push eax
call dword [0x100781a8]
push 0x18
call fcn.0042bc90
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x48b5bc
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 4], ebx
mov dword [esi], 0x10087960
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call dword [0x1007816c]
mov dword [esi + 0x14], eax
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
lea edi, [esi + 0x10]
push edi
push ebx
push esi
push 0x100741b0
push ebx
push ebx
call dword [0x10078074]
mov dword [esi + 0xc], eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
mov dword [esp + 0x24], esi
call ecx
mov ecx, dword [esi + 8]
lea edx, [esp + 0x20]
push edx
push edi
add ecx, 0xa8
call fcn.004332f0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
jmp 0x48b5ca
xor esi, esi
jmp 0x48b574
mov ecx, dword [edi + 0x58]
push ecx
call dword [0x100781a8]
cmp dword [esp + 0x38], ebx
jne 0x48b5d6
cmp dword [esp + 0x3c], ebx
je 0x48b644
push ebp
call dword [0x100780a0]
test eax, eax
jne 0x48b644
cmp dword [ebp + 0x30], ebx
jne 0x48b5eb
cmp dword [ebp + 0x34], ebx
je 0x48b60c
mov eax, dword [ebp + 0x30]
cmp eax, ebx
mov ecx, dword [ebp + 0x34]
jne 0x48b5f9
cmp ecx, ebx
je 0x48b606
push ecx
push eax
call fcn.00418ec0
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
cmp dword [ebp + 0x40], ebx
jne 0x48b616
cmp dword [ebp + 0x44], ebx
je 0x48b637
mov eax, dword [ebp + 0x40]
cmp eax, ebx
mov ecx, dword [ebp + 0x44]
jne 0x48b624
cmp ecx, ebx
je 0x48b631
push ecx
push eax
call fcn.00418ec0
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.00418ec0
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x48b2d7
cmp dword [esp + 0x1c], ebx
jne 0x48b2d7
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x98]
call fcn.00484270
jmp 0x48b270
cmp eax, 1
je 0x48b6d8
cmp eax, 2
jne 0x48b270
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc8
ret 8
cmp dword [esp + 0x38], ebx
jne 0x48b69b
cmp dword [esp + 0x3c], ebx
je 0x48b6ba
push ebp
call dword [0x100780a0]
test eax, eax
jne 0x48b6ba
mov ecx, ebp
call fcn.00488f40
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.00418ec0
lea ecx, [esp + 0x98]
call fcn.00484270
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc8
ret 8
lea edi, [esi + 0xa8]
mov ecx, edi
call fcn.004341b0
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x48b735
lea ecx, [ecx]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00452530
mov esi, dword [eax]
cmp esi, ebx
je 0x48b70a
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
cmp dword [esi + 0xc], ebx
je 0x48b727
mov eax, dword [esi + 0x14]
push eax
call dword [0x100781a8]
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
push ecx
call fcn.0041c9f0
add esp, 8
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
cmp dword [esp + 0x14], ebx
jne 0x48b6f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc8
ret 8