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

Disassembly:
sub esp, 0x94
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
shl edx, 6
mov eax, dword [ecx + 0x20]
push ebx
mov dword [esp + 0x18], eax
lea ebx, [edx + ecx + 0x24]
xor eax, eax
push ebp
mov al, byte [ebx + 0x28]
mov ebp, dword [ecx]
push esi
push edi
lea edx, [eax*8]
mov edi, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ecx + 0xc]
push edi
mov dword [esp + 0x54], edi
lea eax, [eax + edx*8 + 8]
mov dword [esp + 0x30], eax
mov edx, dword [eax + 0x18]
mov eax, dword [ebx]
mov esi, eax
mov dword [esp + 0x24], edx
shr eax, 0x17
and eax, 1
shr esi, 0x19
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 8]
and esi, 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], esi
call fcn.00473070
push edi
mov dword [esp + 0x40], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], eax
call fcn.00473070
mov dword [ebx + 0x20], eax
mov dword [esp + 0x50], eax
mov al, byte [ebx + 0x28]
add esp, 8
test al, al
jbe 0x48a049
mov ecx, dword [esp + 0x2c]
test byte [ecx + 0x15], 8
je 0x48a049
mov edx, dword [ebp + 0x48]
inc edx
mov eax, edx
mov dword [ebp + 0x48], edx
push eax
push 0
push 0x31
push edi
mov dword [ebx + 0xc], eax
call fcn.00472c40
add esp, 0x10
mov ecx, dword [ebx]
test ecx, 0x8000000
je 0x48a23a
mov eax, dword [ebx + 8]
mov dword [esp + 0x2c], eax
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
lea eax, [esi + 2]
push eax
push ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], eax
call fcn.00475b00
mov ecx, dword [ebp + 0x54]
add esp, 8
inc ecx
cmp esi, 1
mov dword [esp + 0x28], eax
mov dword [ebp + 0x54], ecx
mov dword [esp + 0x14], 1
jl 0x48a106
mov ecx, dword [esp + 0x1c]
xor esi, esi
test ecx, ecx
jle 0x48a0f1
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
cmp dword [eax], edx
je 0x48a0bb
inc esi
add eax, 8
cmp esi, ecx
jl 0x48a0ad
jmp 0x48a0f1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx + 1]
mov edx, dword [esp + 0x18]
lea ecx, [esi + esi*2]
push eax
mov eax, dword [edx + ecx*4 + 8]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x14]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*8]
mov ecx, dword [eax + 0xc]
push ecx
push ebp
call fcn.00473330
mov ecx, dword [esp + 0x28]
add esp, 0xc
cmp esi, ecx
je 0x48a106
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x48a09b
mov eax, dword [ebp + 0x54]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
dec eax
mov dword [ebp + 0x54], eax
mov eax, dword [esi + 0x14]
push edx
push eax
push 0x31
push edi
call fcn.00472c40
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
inc ecx
dec edx
push ecx
push edx
push 0x31
push edi
call fcn.00472c40
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
neg eax
mov edx, dword [esp + 0x48]
sbb eax, eax
and al, 0xf7
add eax, 0xfffffffe
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
push 0x68
push edi
call fcn.00471f70
mov eax, dword [esp + 0x58]
add esp, 0x3c
test eax, eax
mov dword [esi + 0x1c], 0
jle 0x48a1c1
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0x18], eax
lea esi, [edx + 8]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x1c]
cmp byte [edx], 0
je 0x48a1a8
mov eax, dword [esi]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x14]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
push eax
push ebx
call fcn.0048acf0
add esp, 8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, 8
add esi, 0xc
dec eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
jne 0x48a186
mov esi, dword [esp + 0x20]
push edi
mov byte [ebx + 0x29], 1
mov dword [ebx + 0x2c], esi
call fcn.00454030
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x44]
add esp, 4
test eax, eax
jl 0x48a230
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0048afd0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x48a218
mov edx, dword [esp + 0x28]
push edx
push esi
push 0xc
push edi
call fcn.00472c40
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
push eax
push ecx
push 0x34
push edi
call fcn.00472c40
add esp, 0x20
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
push edx
push eax
push ebp
call fcn.00475b50
add esp, 0xc
jmp 0x48ab24
mov dword [esp + 0x10], 0
jmp 0x48a218
test ch, 0x10
je 0x48a2f1
push ebp
call fcn.004759e0
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
push 0
push 3
mov esi, eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push 0xffffffffffffffff
push eax
push ecx
mov dword [esp + 0x4c], esi
call fcn.00489b60
push esi
push ebx
push eax
push ebp
call fcn.0048ad90
mov esi, eax
mov eax, dword [ebx + 0x1c]
push eax
push esi
push 0x27
push edi
mov dword [esp + 0x54], eax
call fcn.00472c40
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x60]
add esp, 0x40
push esi
push edx
push eax
push 0x2f
push edi
call fcn.00471fb0
mov ecx, dword [esp + 0x38]
mov eax, 1
add esp, 0x14
cmp dword [ecx + 0xc], eax
jne 0x48a2e7
mov ecx, dword [esp + 0x40]
test ecx, ecx
jl 0x48a2e7
push esi
push ecx
push 0x34
push edi
mov dword [esp + 0x20], eax
call fcn.00472c40
add esp, 0x10
mov edx, dword [esp + 0x2c]
push edx
push ebp
call fcn.00475a10
add esp, 8
mov byte [ebx + 0x29], 0x19
jmp 0x48ab24
mov dword [esp + 0x10], 0
jmp 0x48a2d0
test ch, 0x20
je 0x48a558
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x20]
push 0
push 0x24
push eax
mov eax, dword [esp + 0x30]
push ecx
push 0xffffffffffffffff
push edx
push eax
mov dword [esp + 0x30], 0x19
mov dword [esp + 0x34], 0
call fcn.00489b60
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd0]
push 0
push 0x18
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push 0xffffffffffffffff
push eax
push ecx
call fcn.00489b60
add esp, 0x38
mov dword [esp + 0x34], eax
test esi, esi
je 0x48a373
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x48a3f0
mov eax, dword [eax]
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x20], 0x79
mov edx, dword [eax + 0xc]
mov byte [esp + 0x21], 0x38
push edx
push ebp
mov byte [esp + 0x2a], 0x59
mov byte [esp + 0x2b], 0x6d
mov dword [esp + 0x38], eax
call fcn.004752c0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
push eax
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x40]
xor edx, edx
push ecx
mov dl, byte [eax]
xor ecx, ecx
mov cl, byte [esp + edx - 0x16]
push ecx
push edi
call fcn.00471fb0
mov edx, dword [esp + 0x5c]
push 1
push edx
push ebp
call fcn.004751b0
mov eax, dword [esp + 0x70]
push eax
push ebp
call fcn.00475a10
mov ecx, dword [esp + 0x64]
push ecx
push ebx
call fcn.0048acf0
add esp, 0x3c
jmp 0x48a410
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
mov ecx, esi
push edx
neg ecx
sbb ecx, ecx
push eax
and ecx, 0xffffffbf
add ecx, 0x78
push ecx
push edi
call fcn.00472c40
add esp, 0x10
mov eax, dword [esp + 0x34]
test eax, eax
je 0x48a472
mov ecx, dword [ebp + 0x48]
mov edx, eax
inc ecx
mov eax, dword [edx]
mov dword [ebp + 0x48], ecx
mov dword [esp + 0x2c], eax
push ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
push eax
push ebp
call fcn.00473330
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov al, byte [ecx]
cmp al, 0x4c
je 0x48a455
cmp al, 0x4a
je 0x48a455
mov eax, esi
neg eax
sbb eax, eax
and eax, 2
add eax, 0x4a
jmp 0x48a460
mov eax, esi
neg eax
sbb eax, eax
and al, 0xfe
add eax, 0x4d
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
push edx
push ebx
call fcn.0048acf0
add esp, 8
push edi
call fcn.00454030
mov ecx, esi
mov edx, dword [esp + 0x24]
add esp, 4
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x2c], edx
neg ecx
sbb cl, cl
and cl, 0xc7
add cl, 0x6b
test eax, eax
mov byte [ebx + 0x29], cl
jne 0x48a4ab
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x48a4ab
mov eax, 1
jmp 0x48a4ad
xor eax, eax
mov byte [ebx + 0x2a], al
mov eax, dword [esp + 0x40]
test eax, eax
jl 0x48a54b
mov eax, dword [esp + 0x24]
push eax
call fcn.0048afd0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x48a4e0
cmp dword [esp + 0x14], 0x19
je 0x48ab24
mov edi, dword [esp + 0x50]
push ebp
call fcn.004759e0
mov ecx, dword [esp + 0x24]
mov esi, eax
push esi
push ecx
push 0x29
push edi
call fcn.00472c40
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, 0x19
je 0x48a523
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push edx
push eax
push ecx
push edi
call fcn.00471fb0
push 0x6b
push edi
call fcn.00472c60
add esp, 0x1c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48a53c
mov edx, dword [esp + 0x40]
push esi
push edx
push 0x34
push edi
call fcn.00472c40
add esp, 0x10
push esi
push ebp
call fcn.00475a10
add esp, 8
jmp 0x48ab24
mov dword [esp + 0x10], 0
jmp 0x48a4d1
test ecx, 0x30000
je 0x48a9a6
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x6c], 0x78
mov edx, dword [edx + 8]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], 0x37
mov edx, dword [edx + esi*4]
mov dword [esp + 0x74], 0x79
mov dword [esp + 0x18], edx
mov dl, byte [esp + 0xb0]
test dl, 1
mov dword [esp + 0x78], 0x59
mov dword [esp + 0x7c], 0x6d
mov dword [esp + 0x80], 0x38
mov dword [esp + 0x58], 0x19
mov dword [esp + 0x5c], 0x40
mov dword [esp + 0x60], 0x2a
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
je 0x48a60a
test ecx, 0x1000000
je 0x48a60a
mov edx, dword [esp + 0x34]
cmp dword [edx + 4], esi
jle 0x48a60a
mov eax, 1
mov dword [esp + 0x3c], eax
test ecx, 0x100000
je 0x48a649
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
push eax
mov eax, dword [esp + 0x1c]
push 0x18
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call fcn.00489b60
mov dword [esp + 0x44], eax
add esp, 0x1c
mov eax, 1
test dword [ebx], 0x200000
je 0x48a688
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
push eax
mov eax, dword [esp + 0x1c]
push 0x24
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call fcn.00489b60
mov dword [esp + 0x54], eax
add esp, 0x1c
mov eax, 1
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0xbc]
push eax
push ecx
push edx
push ebx
push ebp
call fcn.0048aeb0
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x1c]
add esp, 0x18
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x14], eax
xor eax, eax
cmp byte [edx + esi], 0
mov ecx, dword [esp + 0x4c]
sete al
cmp ecx, eax
jne 0x48a6dd
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], eax
jmp 0x48a6e5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
xor edx, edx
cmp eax, edx
je 0x48a6f5
test byte [eax + 0x10], 0x28
mov dword [esp + 0x44], edx
je 0x48a6fd
mov dword [esp + 0x44], 1
cmp ecx, edx
je 0x48a70b
test byte [ecx + 0x10], 0x28
mov dword [esp + 0x2c], edx
je 0x48a713
mov dword [esp + 0x2c], 1
cmp eax, edx
jne 0x48a71f
cmp esi, edx
mov dword [esp + 0x18], edx
jle 0x48a727
mov dword [esp + 0x18], 1
cmp eax, edx
mov dword [esp + 0x30], esi
je 0x48a77e
mov eax, dword [ebp + 0x54]
cmp ecx, edx
mov dword [esp + 0x3c], eax
je 0x48a73e
inc eax
mov dword [ebp + 0x54], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
lea eax, [ecx + esi]
push eax
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
push ecx
push ebp
call fcn.00473330
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
push eax
lea eax, [ecx + esi]
mov dword [ebp + 0x54], edx
push eax
push 0x46
push edi
call fcn.00472c40
lea edx, [esi + 1]
add esp, 0x1c
mov dword [esp + 0x30], edx
jmp 0x48a7af
cmp dword [esp + 0x3c], edx
je 0x48a7af
mov eax, dword [esp + 0x10]
add eax, esi
push eax
push 0
push 0x75
push edi
call fcn.00472c40
lea ecx, [esi + 1]
add esp, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
push ebp
call fcn.0048ad50
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push 0xfffffffffffffff2
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x38]
push edx
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x70]
lea ecx, [eax + edx*2]
mov edx, dword [esp + ecx*4 + 0x88]
push edx
push edi
call fcn.00471f70
mov eax, dword [esp + 0x54]
add esp, 0x2c
test eax, eax
mov dword [esp + 0x30], esi
je 0x48a853
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
add eax, esi
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0xc]
push eax
push ebp
call fcn.00473330
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push ecx
lea eax, [edx + esi]
push eax
push 0x46
push edi
call fcn.00472c40
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
lea eax, [esi + 1]
push ecx
push eax
push edx
push ebp
call fcn.0048ad50
lea eax, [esi + 1]
add esp, 0x2c
mov dword [esp + 0x30], eax
push edi
call fcn.00454030
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
jne 0x48a86f
test esi, esi
jne 0x48a86f
xor eax, eax
jmp 0x48a874
mov eax, 1
mov ecx, dword [esp + 0x4c]
inc ecx
imul ecx, eax
mov eax, dword [esp + ecx*4 + 0x58]
cmp eax, 0x19
je 0x48a8b9
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push 0xfffffffffffffff2
push edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
push eax
push edi
call fcn.00471f70
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x48]
cmp eax, edx
setne al
push eax
push edi
call fcn.00472c60
add esp, 0x24
push ebp
call fcn.004759e0
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
add esp, 4
test eax, 0x300000
je 0x48a8f7
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push esi
push edx
push 3
push edi
call fcn.00471fb0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push 0x46
push edi
call fcn.00472c40
add esp, 0x24
mov edx, dword [esp + 0x38]
push edx
push ebx
call fcn.0048acf0
mov eax, dword [esp + 0x30]
push eax
push ebx
call fcn.0048acf0
mov eax, dword [esp + 0x50]
add esp, 0x10
test eax, eax
jl 0x48a927
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0048afd0
add esp, 4
jmp 0x48a929
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x48a939
test eax, eax
je 0x48a97b
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push esi
push edx
push 0x3a
push edi
call fcn.00472c40
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
push esi
je 0x48a969
mov eax, dword [esp + 0x44]
push eax
push 0x34
push edi
call fcn.00472c40
add esp, 0x10
jmp 0x48a97f
mov ecx, dword [esp + 0x24]
push ecx
push 5
push edi
call fcn.00472c40
add esp, 0x10
jmp 0x48a97f
mov esi, dword [esp + 0x14]
push esi
push ebp
call fcn.00475a10
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
add esp, 8
mov dword [ebx + 0x2c], eax
neg edx
sbb dl, dl
and dl, 0xc7
add dl, 0x6b
mov byte [ebx + 0x29], dl
jmp 0x48ab24
test ecx, 0x10000000
je 0x48aaf8
mov eax, dword [ebx + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x3c], ecx
jl 0x48a9e0
mov edx, dword [esp + 0x24]
mov ecx, 1
cmp dword [edx + 0xc], ecx
jne 0x48a9e0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jmp 0x48aa00
push ebp
mov dword [esp + 0x14], 0
call fcn.004759e0
push eax
push 0
push 0x75
push edi
mov dword [esp + 0x2c], eax
call fcn.00472c40
add esp, 0x14
mov esi, dword [esp + 0x2c]
mov eax, 1
mov word [esp + 0x64], ax
mov word [esp + 0x66], ax
mov eax, dword [esp + 0x3c]
mov ecx, 0xe
lea edi, [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
xor edi, edi
test ecx, ecx
jle 0x48aa75
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 8]
cmp ecx, eax
je 0x48aa41
cmp word [esi + 0x10], 0x200
jne 0x48aa68
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
push ecx
push 0x38
push 0
lea eax, [esp + 0x70]
push edx
push eax
push ebp
call fcn.00487610
add esp, 0x18
test eax, eax
je 0x48aa68
push eax
call fcn.0048b120
add esp, 4
mov ecx, dword [esp + 0x3c]
inc edi
add esi, 0x28
cmp edi, dword [ecx + 0xc]
jl 0x48aa2e
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x50]
push edx
push edi
call fcn.004730d0
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x48aae4
push ebp
call fcn.004759e0
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x3c]
push esi
push eax
push ecx
push 0x33
push edi
call fcn.00471fb0
mov edx, dword [esp + 0x38]
push esi
push edx
push 5
push edi
mov dword [esp + 0x70], eax
call fcn.00472c40
push esi
push ebp
call fcn.00475a10
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x78]
add esp, 0x30
mov byte [ebx + 0x29], 0x61
mov dword [ebx + 0x30], eax
push ecx
push ebx
call fcn.0048acf0
add esp, 8
jmp 0x48ab24
mov ecx, dword [esp + 0x54]
mov byte [ebx + 0x29], 0x19
push ecx
push ebx
call fcn.0048acf0
add esp, 8
jmp 0x48ab24
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
push edx
push eax
push 0x78
push edi
mov byte [ebx + 0x29], 0x6b
mov dword [ebx + 0x2c], eax
call fcn.00472c40
add esp, 0x10
inc eax
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x2a], 1
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [esi + 4]
push ecx
call fcn.00488150
mov edi, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
not edx
mov esi, dword [esi + 0x14]
and edi, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc0], edi
not eax
and ecx, eax
mov eax, dword [edx + 0xc]
add esp, 8
xor edi, edi
test eax, eax
mov dword [esp + 0xb4], ecx
jle 0x48abe3
mov dword [esp + 0x2c], eax
test byte [esi + 0x12], 6
jne 0x48abd5
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
and eax, ecx
mov ecx, dword [esi + 0x24]
and ecx, edx
or eax, ecx
jne 0x48abd5
mov ecx, dword [ebx + 0xc]
mov eax, dword [esi]
test ecx, ecx
je 0x48aba7
mov cl, byte [eax + 2]
and cl, 1
cmp cl, 1
jne 0x48abd5
mov edx, dword [esp + 0x48]
mov ecx, dword [ebp + 0x54]
push 8
push edx
add ecx, edi
push eax
push ebp
mov dword [ebp + 0x54], ecx
call fcn.00475420
mov ecx, dword [ebp + 0x54]
add esp, 0x10
sub ecx, edi
mov edi, 1
mov dword [ebp + 0x54], ecx
mov al, byte [esi + 0x12]
or al, 4
mov byte [esi + 0x12], al
mov eax, dword [esp + 0x2c]
add esi, 0x28
dec eax
mov dword [esp + 0x2c], eax
jne 0x48ab71
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x48ac7c
mov esi, dword [esp + 0x50]
push esi
call fcn.00454030
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0xc]
push eax
push 1
push 0x31
push esi
call fcn.00472c40
mov ecx, dword [ebx + 0x10]
push ecx
push ebp
call fcn.00485e60
mov edx, dword [ebx + 0x14]
push edx
push ebp
call fcn.00485e60
mov eax, dword [esp + 0x48]
add esp, 0x24
mov ecx, eax
xor edi, edi
mov esi, dword [eax + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x48ac7c
test byte [esi + 0x12], 6
jne 0x48ac6f
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
and eax, ecx
mov ecx, dword [esi + 0x24]
and ecx, edx
or eax, ecx
jne 0x48ac6f
mov edx, dword [esp + 0x48]
mov eax, dword [esi]
push 8
push edx
push eax
push ebp
call fcn.00475420
mov al, byte [esi + 0x12]
add esp, 0x10
or al, 4
mov byte [esi + 0x12], al
mov ecx, dword [esp + 0x24]
inc edi
add esi, 0x28
cmp edi, dword [ecx + 0xc]
jl 0x48ac32
mov edi, dword [esp + 0x40]
test edi, edi
jl 0x48acd2
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x48acd2
push ebp
call fcn.004759e0
mov esi, eax
mov eax, dword [ebx]
add esp, 4
test eax, 0x8000000
push esi
je 0x48acaa
mov edx, dword [esp + 0x24]
push edx
push 0xc
jmp 0x48acb1
mov eax, dword [esp + 0x24]
push eax
push 0x29
mov ebx, dword [esp + 0x5c]
push ebx
call fcn.00472c40
add esp, 0x10
push esi
push edi
push 0x34
push ebx
call fcn.00472c40
push esi
push ebp
call fcn.00475a10
add esp, 0x18
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret