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

Disassembly:
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x50]
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
mov eax, dword [esi + 0x160]
mov dword [esp + 0x20], eax
cmp ebx, dword [esi + 0x90]
jne 0x48e68f
lea edi, [esi + 0x11c]
lea ebp, [esi + 0x120]
jmp 0x48e698
mov edi, dword [esi + 0x128]
lea ebp, [edi + 4]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], edi
mov dword [edi], eax
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x68]
mov dword [esp + 0x18], eax
push eax
mov eax, dword [ebx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x20]
add eax, 5
add esp, 0x10
mov dword [ebp], ecx
cmp eax, 0x12
ja case.default.0x48e6d4
jmp dword [eax*4 + 0x48f2d0]
mov eax, dword [esp + 0x10]
sub eax, dword [ebx + 0x40]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [ebx + 0x40]
push eax
mov eax, dword [ebx + 0x2c]
push ebx
call eax
movzx ecx, ax
add esp, 0xc
mov eax, ecx
mov dword [esp + 0x2c], eax
test cx, cx
je 0x48e721
mov eax, dword [esi + 0x3c]
test eax, eax
je case.default.0x48e6d4
push 1
lea ecx, [esp + 0x30]
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x48efe3
mov edx, dword [esp + 0x10]
sub edx, dword [ebx + 0x40]
mov eax, dword [esp + 0x60]
add eax, dword [ebx + 0x40]
mov edi, dword [esp + 0x20]
push edx
push eax
add edi, 0x50
push ebx
push edi
call fcn.00491f90
add esp, 0x10
test eax, eax
je 0x48f05c
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 8]
jne 0x48e763
push edi
call fcn.00492210
add esp, 4
test al, al
je 0x48f05c
mov eax, dword [edi + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [edi + 0xc], 2
mov ebp, dword [edi + 0x10]
test ebp, ebp
je 0x48f05c
push ecx
push ebp
push dword [esp + 0x28]
push esi
call fcn.00491bf0
mov edi, eax
add esp, 0x10
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x81], 0
mov ecx, dword [eax + 0x60]
mov dword [eax + 0x5c], ecx
je 0x48e7e3
cmp byte [eax + 0x82], 0
jne 0x48e7e3
test edi, edi
jne 0x48e7f5
mov eax, dword [esi + 0x78]
test eax, eax
je 0x48e7c5
push edi
push ebp
push dword [esi + 4]
call eax
add esp, 0xc
mov edi, dword [esp + 0x14]
jmp 0x48efe3
cmp dword [esi + 0x50], 0
je 0x48e7bc
push dword [esp + 0x10]
push dword [esp + 0x64]
push ebx
push esi
call fcn.00491300
mov edi, dword [esp + 0x24]
jmp 0x48efe0
test edi, edi
je 0x48f046
cmp byte [edi + 0x22], 0
je 0x48f039
cmp byte [edi + 0x20], 0
jne 0x48f02c
cmp dword [edi + 0x1c], 0
jne 0x48f01f
cmp dword [edi + 4], 0
je 0x48e851
cmp byte [esi + 0x130], 0
jne 0x48e834
mov eax, dword [esi + 0x78]
test eax, eax
je 0x48e7c5
push 0
push dword [edi]
push dword [esi + 4]
call eax
mov edi, dword [esp + 0x20]
add esp, 0xc
jmp 0x48efe3
push 0
push edi
push esi
call fcn.0048e520
add esp, 0xc
test eax, eax
jne 0x48f2c5
mov edi, dword [esp + 0x14]
jmp 0x48efe3
cmp dword [esi + 0x70], 0
je 0x48e7c5
push esi
mov byte [edi + 0x20], 1
call fcn.004913c0
add esp, 4
mov byte [edi + 0x20], 0
test eax, eax
je 0x48f05c
push dword [edi + 0x18]
push dword [edi + 0x10]
push dword [edi + 0x14]
push eax
push dword [esi + 0x74]
mov eax, dword [esi + 0x70]
call eax
add esp, 0x14
test eax, eax
je 0x48f012
mov eax, dword [esi + 0x1ac]
mov edi, dword [esp + 0x14]
mov dword [esi + 0x1a8], eax
jmp 0x48efe3
mov ebp, dword [esi + 0x16c]
test ebp, ebp
je 0x48e8bb
mov eax, dword [ebp]
mov dword [esi + 0x16c], eax
jmp 0x48e8ea
mov eax, dword [esi + 0xc]
push 0x30
call eax
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x48f05c
mov ecx, dword [esi + 0xc]
push 0x20
call ecx
add esp, 4
mov dword [ebp + 0x24], eax
test eax, eax
je 0x48f053
add eax, 0x20
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], 0
lea eax, [ebp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x168]
mov dword [ebp], eax
mov dword [esi + 0x168], ebp
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov eax, dword [esp + 0x60]
add eax, dword [ebx + 0x40]
push eax
mov dword [ebp + 4], eax
mov eax, dword [ebx + 0x1c]
push ebx
call eax
mov dword [ebp + 8], eax
inc dword [esi + 0x134]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add ecx, eax
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x28]
sub eax, 2
mov dword [esp + 0x2c], ecx
push eax
lea eax, [esp + 0x24]
push eax
push ecx
lea eax, [esp + 0x70]
push eax
mov eax, dword [ebx + 0x3c]
push ebx
call eax
mov ecx, dword [ebp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x34]
add esp, 0x1c
mov edx, dword [esp + 0x24]
sub eax, ecx
sar eax, 1
mov dword [esp + 0x28], eax
cmp dword [esp + 0x5c], edx
jae 0x48e9f1
mov edx, ecx
nop
cmp edi, 1
je 0x48e9f1
mov edi, dword [ebp + 0x28]
mov eax, dword [esi + 0x10]
sub edi, edx
add edi, edi
push edi
push edx
call eax
add esp, 8
test eax, eax
je 0x48f05c
lea ecx, [eax + edi]
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], ecx
mov ecx, dword [esp + 0x28]
lea eax, [eax + ecx*2]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x28]
sub eax, 2
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x68]
push eax
mov eax, dword [ebx + 0x3c]
push ebx
call eax
mov ecx, dword [ebp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov esi, dword [esp + 0x24]
sub eax, ecx
sar eax, 1
mov edx, ecx
cmp dword [esp + 0x5c], esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x28], eax
jb 0x48e980
push dword [esp + 0x30]
mov dword [ebp + 0x18], eax
add ebp, 0xc
push ebp
mov dword [ebp], ecx
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov word [eax], cx
push dword [esp + 0x68]
push ebx
push esi
call fcn.0048f770
add esp, 0x14
test eax, eax
jne 0x48f2c5
mov eax, dword [esi + 0x34]
test eax, eax
je 0x48ea38
push dword [esi + 0x184]
push dword [ebp]
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x48ea50
cmp dword [esi + 0x50], 0
je 0x48ea50
push dword [esp + 0x10]
push dword [esp + 0x64]
push ebx
push esi
call fcn.00491300
add esp, 0x10
mov edi, dword [esi + 0x1a0]
mov edx, dword [esi + 0x19c]
test edi, edi
jne 0x48ea68
mov dword [esi + 0x1a0], edx
jmp 0x48ea84
test edx, edx
je 0x48ea84
nop dword [eax]
mov ecx, dword [edx]
mov eax, edx
mov dword [edx], edi
mov edi, eax
mov dword [esi + 0x1a0], edx
mov edx, ecx
test ecx, ecx
jne 0x48ea70
mov edi, dword [esp + 0x14]
mov dword [esi + 0x19c], 0
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1a8], 0
mov dword [esi + 0x1a4], 0
jmp 0x48efe3
mov edi, dword [ebx + 0x40]
add edi, dword [esp + 0x60]
mov eax, dword [ebx + 0x1c]
push edi
push ebx
mov dword [esp + 0x2c], 0
mov byte [esp + 0x64], 1
call eax
add eax, edi
lea ebp, [esi + 0x19c]
push eax
push edi
push ebx
push ebp
call fcn.00491f90
add esp, 0x18
test eax, eax
je 0x48f05c
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x48eb05
push ebp
call fcn.00492210
add esp, 4
test al, al
je 0x48f05c
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp + 0x10]
add dword [ebp + 0xc], 2
mov dword [esp + 0x38], eax
test eax, eax
je 0x48f05c
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x68]
push ebx
push esi
call fcn.0048f770
add esp, 0x14
mov dword [esp + 0x30], eax
test eax, eax
jne 0x48f087
mov eax, dword [esi + 0x1a8]
mov edi, dword [esp + 0x38]
mov dword [esi + 0x1ac], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x48eb7a
push dword [esi + 0x184]
push edi
push dword [esi + 4]
call eax
add esp, 0xc
xor al, al
jmp 0x48eb7e
mov al, byte [esp + 0x5c]
cmp dword [esi + 0x38], 0
je 0x48eba4
cmp dword [esi + 0x34], 0
je 0x48eb96
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [esi + 0x38]
push edi
push dword [esi + 4]
call eax
add esp, 8
jmp 0x48ebc0
test al, al
je 0x48ebc0
cmp dword [esi + 0x50], 0
je 0x48ebc0
push dword [esp + 0x10]
push dword [esp + 0x64]
push ebx
push esi
call fcn.00491300
add esp, 0x10
push ebp
call fcn.00491f40
mov edi, dword [esp + 0x28]
add esp, 4
test edi, edi
je 0x48ec06
mov ecx, dword [esi + 0x68]
mov ebp, edi
test ecx, ecx
je 0x48ebe6
mov eax, dword [edi]
push dword [eax]
push dword [esi + 4]
call ecx
add esp, 8
mov eax, dword [esi + 0x174]
lea ecx, [edi + 4]
mov edi, dword [ecx]
mov dword [ecx], eax
mov dword [esi + 0x174], ebp
mov ecx, dword [ebp]
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
test edi, edi
jne 0x48ebd1
cmp dword [esi + 0x134], 0
jne 0x48e7bc
mov eax, dword [esi + 0x1dc]
cmp eax, 2
je 0x48e7bc
cmp eax, 3
jne 0x48f069
mov edi, dword [esp + 0x14]
mov dword [esi + 0x114], fcn.0048bfc0
jmp 0x48efe3
mov eax, dword [esp + 0x58]
cmp dword [esi + 0x134], eax
je 0x48f181
mov ebp, dword [esi + 0x168]
mov eax, dword [ebp]
mov dword [esi + 0x168], eax
mov eax, dword [esi + 0x16c]
mov dword [ebp], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0x16c], ebp
mov ecx, dword [ebx + 0x40]
lea eax, [eax + ecx*2]
push eax
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x1c]
push ebx
call eax
mov edi, eax
add esp, 8
cmp edi, dword [ebp + 8]
jne 0x48f0d3
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x5c]
sub edi, 4
jb 0x48ecb1
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x48ecb6
add ecx, 4
add edx, 4
sub edi, 4
jae 0x48eca0
cmp edi, 0xfffffffc
je 0x48ecf3
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x48f0d3
cmp edi, 0xfffffffd
je 0x48ecf3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x48f0d3
cmp edi, 0xfffffffe
je 0x48ecf3
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x48f0d3
cmp edi, 0xffffffff
je 0x48ecf3
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x48f0d3
dec dword [esi + 0x134]
cmp dword [esi + 0x38], 0
je 0x48ed88
cmp byte [esi + 0xe8], 0
mov edx, dword [ebp + 0x10]
je 0x48ed78
test edx, edx
je 0x48ed78
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
lea ecx, [eax + ecx*2]
movzx eax, word [edx]
test ax, ax
je 0x48ed39
mov edi, eax
mov word [ecx], di
lea edx, [edx + 2]
movzx eax, word [edx]
add ecx, 2
mov edi, eax
test ax, ax
jne 0x48ed26
cmp byte [esi + 0xe9], 0
mov edx, dword [ebp + 0x14]
je 0x48ed73
test edx, edx
je 0x48ed73
mov ax, word [esi + 0x1d4]
mov word [ecx], ax
add ecx, 2
movzx eax, word [edx]
test ax, ax
je 0x48ed73
mov edi, eax
mov word [ecx], di
lea edx, [edx + 2]
movzx eax, word [edx]
add ecx, 2
mov edi, eax
test ax, ax
jne 0x48ed60
xor eax, eax
mov word [ecx], ax
push dword [ebp + 0xc]
mov eax, dword [esi + 0x38]
push dword [esi + 4]
call eax
add esp, 8
jmp 0x48eda0
cmp dword [esi + 0x50], 0
je 0x48eda0
push dword [esp + 0x10]
push dword [esp + 0x64]
push ebx
push esi
call fcn.00491300
add esp, 0x10
mov edi, dword [ebp + 0x2c]
test edi, edi
je 0x48ec06
nop dword [eax + eax]
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x48edc3
mov eax, dword [edi]
push dword [eax]
push dword [esi + 4]
call ecx
add esp, 8
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp + 0x2c], eax
mov eax, dword [esi + 0x174]
mov dword [edi + 4], eax
mov dword [esi + 0x174], edi
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
mov edi, dword [ebp + 0x2c]
test edi, edi
jne 0x48edb0
jmp 0x48ec06
push dword [esp + 0x60]
mov eax, dword [ebx + 0x28]
push ebx
call eax
add esp, 8
test eax, eax
js 0x48f0ea
cmp dword [esi + 0x3c], 0
je case.default.0x48e6d4
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.00502a90
push eax
lea eax, [esp + 0x40]
push eax
push dword [esi + 4]
mov eax, dword [esi + 0x3c]
call eax
add esp, 0x14
jmp 0x48efe3
mov eax, dword [esi + 0x3c]
test eax, eax
je case.default.0x48e6d4
push 1
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], 0xa
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x48efe3
mov eax, dword [esi + 0x48]
test eax, eax
je 0x48ee67
push dword [esi + 4]
call eax
add esp, 4
jmp 0x48ee7f
cmp dword [esi + 0x50], 0
je 0x48ee7f
push dword [esp + 0x10]
push dword [esp + 0x64]
push ebx
push esi
call fcn.00491300
add esp, 0x10
push dword [esp + 0x6c]
mov ebp, dword [esp + 0x6c]
lea eax, [esp + 0x14]
push ebp
push dword [esp + 0x6c]
push eax
push ebx
push esi
call fcn.0048f320
add esp, 0x18
test eax, eax
jne 0x48f2c5
cmp dword [esp + 0x10], eax
jne 0x48efe7
pop edi
mov dword [esi + 0x114], 0x48bea0
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov ebp, dword [esi + 0x3c]
test ebp, ebp
je case.default.0x48e6d4
cmp byte [ebx + 0x45], 0
je 0x48eef0
mov ecx, dword [esp + 0x60]
test cl, 1
jne 0x48eef0
mov eax, dword [esp + 0x10]
sub eax, ecx
sar eax, 1
push eax
push ecx
push dword [esi + 4]
call ebp
add esp, 0xc
jmp 0x48efe3
push dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [ebx + 0x3c]
push ebx
call eax
mov ecx, dword [esp + 0x74]
mov edi, eax
mov eax, dword [esp + 0x30]
mov dword [eax], ecx
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp + 0x70]
sub ecx, edx
sar ecx, 1
push ecx
push edx
push dword [esi + 4]
call ebp
add esp, 0x20
test edi, edi
je 0x48e7bc
cmp edi, 1
je 0x48e7bc
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
mov dword [ecx], eax
push dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [ebx + 0x3c]
push ebx
call eax
mov ecx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x74]
mov dword [ecx], eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [esp + 0x70]
sub eax, ecx
sar eax, 1
push eax
push ecx
push dword [esi + 4]
call ebp
add esp, 0x20
test edi, edi
jne 0x48ef37
mov edi, dword [esp + 0x14]
jmp 0x48efe3
push dword [esp + 0x10]
push dword [esp + 0x64]
push ebx
push esi
call fcn.00491150
add esp, 0x10
test eax, eax
je 0x48f05c
jmp 0x48efe3
push dword [esp + 0x10]
push dword [esp + 0x64]
push ebx
push esi
call fcn.00491250
add esp, 0x10
test eax, eax
je 0x48f05c
jmp 0x48efe3
cmp dword [esi + 0x50], 0
je 0x48efe3
push dword [esp + 0x10]
push dword [esp + 0x64]
push ebx
push esi
call fcn.00491300
add esp, 0x10
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov dword [edi], eax
mov eax, dword [esi + 0x1dc]
sub eax, 2
je 0x48f2c0
sub eax, 1
je 0x48f2af
mov ebp, dword [esp + 0x1c]
jmp 0x48e6a6
pop edi
pop esi
pop ebp
mov eax, 0x15
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
mov eax, 0xf
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
mov eax, 0x18
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x40
ret
mov eax, dword [esi + 0x14]
push ebp
call eax
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40
ret
mov edx, dword [esp + 0x68]
push edx
push dword [esp + 0x68]
push dword [esp + 0x18]
push esi
call fcn.0048bfc0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov edi, dword [esp + 0x24]
test edi, edi
je 0x48f2c5
mov ecx, dword [esi + 0x68]
mov ebx, edi
test ecx, ecx
je 0x48f0a8
mov eax, dword [edi]
push dword [eax]
push dword [esi + 4]
call ecx
add esp, 8
mov eax, dword [esi + 0x174]
lea ecx, [edi + 4]
mov edi, dword [ecx]
mov dword [ecx], eax
mov dword [esi + 0x174], ebx
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov dword [ecx + 4], eax
test edi, edi
jne 0x48f093
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, 7
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
mov eax, 0xe
pop ebx
add esp, 0x40
ret
cmp byte [esp + 0x6c], 0
jne 0x48f1bc
mov ecx, dword [esp + 0x64]
mov dword [ebp], ecx
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x48f129
push 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], 0xa
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x48f13e
cmp dword [esi + 0x50], 0
je 0x48f142
push ecx
push dword [esp + 0x64]
push ebx
push esi
call fcn.00491300
add esp, 0x10
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x48f27b
cmp dword [esi + 0x134], eax
jne 0x48f181
mov edx, dword [esp + 0x68]
xor eax, eax
pop edi
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
add esp, 0x40
ret
cmp byte [esp + 0x6c], 0
jne 0x48f1bc
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x48f27b
cmp dword [esi + 0x134], eax
je 0x48f1bc
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
add esp, 0x40
ret
mov eax, dword [esp + 0x10]
mov dword [edi], eax
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
cmp byte [esp + 0x6c], 0
jne 0x48f1bc
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x40
ret
cmp byte [esp + 0x6c], 0
je 0x48f1d0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword [edx], eax
xor eax, eax
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
mov eax, 0x11
pop ebx
add esp, 0x40
ret
cmp byte [esp + 0x6c], 0
jne 0x48f1bc
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x48f255
cmp byte [ebx + 0x45], 0
je 0x48f21d
mov ecx, dword [esp + 0x60]
test cl, 1
jne 0x48f21d
mov ebx, dword [esp + 0x64]
mov eax, ebx
sub eax, ecx
sar eax, 1
push eax
push ecx
push dword [esi + 4]
call edx
add esp, 0xc
jmp 0x48f271
push dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [ebx + 0x3c]
push ebx
call eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [esp + 0x68]
sub eax, ecx
sar eax, 1
push eax
mov eax, dword [esi + 0x3c]
push ecx
push dword [esi + 4]
call eax
add esp, 0x20
jmp 0x48f26d
cmp dword [esi + 0x50], 0
je 0x48f26d
push dword [esp + 0x64]
push dword [esp + 0x64]
push ebx
push esi
call fcn.00491300
add esp, 0x10
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x48f288
mov dword [edi], ebx
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x40
ret
cmp dword [esi + 0x134], eax
je 0x48f29f
mov dword [edi], ebx
mov eax, 0xd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov edx, dword [esp + 0x68]
xor eax, eax
pop edi
pop esi
pop ebp
mov dword [edx], ebx
pop ebx
add esp, 0x40
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [ebp], eax
xor eax, eax
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret