Function at 0x48b150
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.00474220
push edi
mov dword [esp + 0x40], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], eax
call fcn.00474220
mov dword [ebx + 0x20], eax
mov dword [esp + 0x50], eax
mov al, byte [ebx + 0x28]
add esp, 8
test al, al
jbe 0x48b209
mov ecx, dword [esp + 0x2c]
test byte [ecx + 0x15], 8
je 0x48b209
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.00473df0
add esp, 0x10
mov ecx, dword [ebx]
test ecx, 0x8000000
je 0x48b3fa
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.00476cc0
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 0x48b2c6
mov ecx, dword [esp + 0x1c]
xor esi, esi
test ecx, ecx
jle 0x48b2b1
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
cmp dword [eax], edx
je 0x48b27b
inc esi
add eax, 8
cmp esi, ecx
jl 0x48b26d
jmp 0x48b2b1
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.004744f0
mov ecx, dword [esp + 0x28]
add esp, 0xc
cmp esi, ecx
je 0x48b2c6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x48b25b
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.00473df0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
inc ecx
dec edx
push ecx
push edx
push 0x31
push edi
call fcn.00473df0
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.00473120
mov eax, dword [esp + 0x58]
add esp, 0x3c
test eax, eax
mov dword [esi + 0x1c], 0
jle 0x48b381
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 0x48b368
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.0048beb0
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 0x48b346
mov esi, dword [esp + 0x20]
push edi
mov byte [ebx + 0x29], 1
mov dword [ebx + 0x2c], esi
call fcn.004742a0
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x44]
add esp, 4
test eax, eax
jl 0x48b3f0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0048c190
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x48b3d8
mov edx, dword [esp + 0x28]
push edx
push esi
push 0xc
push edi
call fcn.00473df0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
push eax
push ecx
push 0x34
push edi
call fcn.00473df0
add esp, 0x20
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
push edx
push eax
push ebp
call fcn.00476d10
add esp, 0xc
jmp 0x48bce4
mov dword [esp + 0x10], 0
jmp 0x48b3d8
test ch, 0x10
je 0x48b4b1
push ebp
call fcn.00476ba0
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.0048ad20
push esi
push ebx
push eax
push ebp
call fcn.0048bf50
mov esi, eax
mov eax, dword [ebx + 0x1c]
push eax
push esi
push 0x27
push edi
mov dword [esp + 0x54], eax
call fcn.00473df0
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.00473160
mov ecx, dword [esp + 0x38]
mov eax, 1
add esp, 0x14
cmp dword [ecx + 0xc], eax
jne 0x48b4a7
mov ecx, dword [esp + 0x40]
test ecx, ecx
jl 0x48b4a7
push esi
push ecx
push 0x34
push edi
mov dword [esp + 0x20], eax
call fcn.00473df0
add esp, 0x10
mov edx, dword [esp + 0x2c]
push edx
push ebp
call fcn.00476bd0
add esp, 8
mov byte [ebx + 0x29], 0x19
jmp 0x48bce4
mov dword [esp + 0x10], 0
jmp 0x48b490
test ch, 0x20
je 0x48b718
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.0048ad20
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.0048ad20
add esp, 0x38
mov dword [esp + 0x34], eax
test esi, esi
je 0x48b533
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 0x48b5b0
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.00476480
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.00473160
mov edx, dword [esp + 0x5c]
push 1
push edx
push ebp
call fcn.00476370
mov eax, dword [esp + 0x70]
push eax
push ebp
call fcn.00476bd0
mov ecx, dword [esp + 0x64]
push ecx
push ebx
call fcn.0048beb0
add esp, 0x3c
jmp 0x48b5d0
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.00473df0
add esp, 0x10
mov eax, dword [esp + 0x34]
test eax, eax
je 0x48b632
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.004744f0
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov al, byte [ecx]
cmp al, 0x4c
je 0x48b615
cmp al, 0x4a
je 0x48b615
mov eax, esi
neg eax
sbb eax, eax
and eax, 2
add eax, 0x4a
jmp 0x48b620
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.0048beb0
add esp, 8
push edi
call fcn.004742a0
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 0x48b66b
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x48b66b
mov eax, 1
jmp 0x48b66d
xor eax, eax
mov byte [ebx + 0x2a], al
mov eax, dword [esp + 0x40]
test eax, eax
jl 0x48b70b
mov eax, dword [esp + 0x24]
push eax
call fcn.0048c190
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x48b6a0
cmp dword [esp + 0x14], 0x19
je 0x48bce4
mov edi, dword [esp + 0x50]
push ebp
call fcn.00476ba0
mov ecx, dword [esp + 0x24]
mov esi, eax
push esi
push ecx
push 0x29
push edi
call fcn.00473df0
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, 0x19
je 0x48b6e3
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.00473160
push 0x6b
push edi
call fcn.00473e10
add esp, 0x1c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48b6fc
mov edx, dword [esp + 0x40]
push esi
push edx
push 0x34
push edi
call fcn.00473df0
add esp, 0x10
push esi
push ebp
call fcn.00476bd0
add esp, 8
jmp 0x48bce4
mov dword [esp + 0x10], 0
jmp 0x48b691
test ecx, 0x30000
je 0x48bb66
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 0x48b7ca
test ecx, 0x1000000
je 0x48b7ca
mov edx, dword [esp + 0x34]
cmp dword [edx + 4], esi
jle 0x48b7ca
mov eax, 1
mov dword [esp + 0x3c], eax
test ecx, 0x100000
je 0x48b809
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.0048ad20
mov dword [esp + 0x44], eax
add esp, 0x1c
mov eax, 1
test dword [ebx], 0x200000
je 0x48b848
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.0048ad20
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.0048c070
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 0x48b89d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], eax
jmp 0x48b8a5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
xor edx, edx
cmp eax, edx
je 0x48b8b5
test byte [eax + 0x10], 0x28
mov dword [esp + 0x44], edx
je 0x48b8bd
mov dword [esp + 0x44], 1
cmp ecx, edx
je 0x48b8cb
test byte [ecx + 0x10], 0x28
mov dword [esp + 0x2c], edx
je 0x48b8d3
mov dword [esp + 0x2c], 1
cmp eax, edx
jne 0x48b8df
cmp esi, edx
mov dword [esp + 0x18], edx
jle 0x48b8e7
mov dword [esp + 0x18], 1
cmp eax, edx
mov dword [esp + 0x30], esi
je 0x48b93e
mov eax, dword [ebp + 0x54]
cmp ecx, edx
mov dword [esp + 0x3c], eax
je 0x48b8fe
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.004744f0
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.00473df0
lea edx, [esi + 1]
add esp, 0x1c
mov dword [esp + 0x30], edx
jmp 0x48b96f
cmp dword [esp + 0x3c], edx
je 0x48b96f
mov eax, dword [esp + 0x10]
add eax, esi
push eax
push 0
push 0x75
push edi
call fcn.00473df0
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.0048bf10
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.00473120
mov eax, dword [esp + 0x54]
add esp, 0x2c
test eax, eax
mov dword [esp + 0x30], esi
je 0x48ba13
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.004744f0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push ecx
lea eax, [edx + esi]
push eax
push 0x46
push edi
call fcn.00473df0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
lea eax, [esi + 1]
push ecx
push eax
push edx
push ebp
call fcn.0048bf10
lea eax, [esi + 1]
add esp, 0x2c
mov dword [esp + 0x30], eax
push edi
call fcn.004742a0
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
jne 0x48ba2f
test esi, esi
jne 0x48ba2f
xor eax, eax
jmp 0x48ba34
mov eax, 1
mov ecx, dword [esp + 0x4c]
inc ecx
imul ecx, eax
mov eax, dword [esp + ecx*4 + 0x58]
cmp eax, 0x19
je 0x48ba79
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.00473120
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x48]
cmp eax, edx
setne al
push eax
push edi
call fcn.00473e10
add esp, 0x24
push ebp
call fcn.00476ba0
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
add esp, 4
test eax, 0x300000
je 0x48bab7
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push esi
push edx
push 3
push edi
call fcn.00473160
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push 0x46
push edi
call fcn.00473df0
add esp, 0x24
mov edx, dword [esp + 0x38]
push edx
push ebx
call fcn.0048beb0
mov eax, dword [esp + 0x30]
push eax
push ebx
call fcn.0048beb0
mov eax, dword [esp + 0x50]
add esp, 0x10
test eax, eax
jl 0x48bae7
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0048c190
add esp, 4
jmp 0x48bae9
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x48baf9
test eax, eax
je 0x48bb3b
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push esi
push edx
push 0x3a
push edi
call fcn.00473df0
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
push esi
je 0x48bb29
mov eax, dword [esp + 0x44]
push eax
push 0x34
push edi
call fcn.00473df0
add esp, 0x10
jmp 0x48bb3f
mov ecx, dword [esp + 0x24]
push ecx
push 5
push edi
call fcn.00473df0
add esp, 0x10
jmp 0x48bb3f
mov esi, dword [esp + 0x14]
push esi
push ebp
call fcn.00476bd0
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 0x48bce4
test ecx, 0x10000000
je 0x48bcb8
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 0x48bba0
mov edx, dword [esp + 0x24]
mov ecx, 1
cmp dword [edx + 0xc], ecx
jne 0x48bba0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jmp 0x48bbc0
push ebp
mov dword [esp + 0x14], 0
call fcn.00476ba0
push eax
push 0
push 0x75
push edi
mov dword [esp + 0x2c], eax
call fcn.00473df0
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 0x48bc35
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 8]
cmp ecx, eax
je 0x48bc01
cmp word [esi + 0x10], 0x200
jne 0x48bc28
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.004887d0
add esp, 0x18
test eax, eax
je 0x48bc28
push eax
call fcn.0048c2e0
add esp, 4
mov ecx, dword [esp + 0x3c]
inc edi
add esi, 0x28
cmp edi, dword [ecx + 0xc]
jl 0x48bbee
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x50]
push edx
push edi
call fcn.00474280
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x48bca4
push ebp
call fcn.00476ba0
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.00473160
mov edx, dword [esp + 0x38]
push esi
push edx
push 5
push edi
mov dword [esp + 0x70], eax
call fcn.00473df0
push esi
push ebp
call fcn.00476bd0
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.0048beb0
add esp, 8
jmp 0x48bce4
mov ecx, dword [esp + 0x54]
mov byte [ebx + 0x29], 0x19
push ecx
push ebx
call fcn.0048beb0
add esp, 8
jmp 0x48bce4
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.00473df0
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.00489310
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 0x48bda3
mov dword [esp + 0x2c], eax
test byte [esi + 0x12], 6
jne 0x48bd95
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 0x48bd95
mov ecx, dword [ebx + 0xc]
mov eax, dword [esi]
test ecx, ecx
je 0x48bd67
mov cl, byte [eax + 2]
and cl, 1
cmp cl, 1
jne 0x48bd95
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.004765e0
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 0x48bd31
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x48be3c
mov esi, dword [esp + 0x50]
push esi
call fcn.004742a0
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0xc]
push eax
push 1
push 0x31
push esi
call fcn.00473df0
mov ecx, dword [ebx + 0x10]
push ecx
push ebp
call fcn.00487020
mov edx, dword [ebx + 0x14]
push edx
push ebp
call fcn.00487020
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 0x48be3c
test byte [esi + 0x12], 6
jne 0x48be2f
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 0x48be2f
mov edx, dword [esp + 0x48]
mov eax, dword [esi]
push 8
push edx
push eax
push ebp
call fcn.004765e0
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 0x48bdf2
mov edi, dword [esp + 0x40]
test edi, edi
jl 0x48be92
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x48be92
push ebp
call fcn.00476ba0
mov esi, eax
mov eax, dword [ebx]
add esp, 4
test eax, 0x8000000
push esi
je 0x48be6a
mov edx, dword [esp + 0x24]
push edx
push 0xc
jmp 0x48be71
mov eax, dword [esp + 0x24]
push eax
push 0x29
mov ebx, dword [esp + 0x5c]
push ebx
call fcn.00473df0
add esp, 0x10
push esi
push edi
push 0x34
push ebx
call fcn.00473df0
push esi
push ebp
call fcn.00476bd0
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