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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe38
push ebx
push esi
push edi
mov ebx, eax
lea esi, [ebp - 0xe0]
mov eax, 0x485590
call fcn.004da3d0
cmp dword [ebx + 0x1448], 0
jl 0x47b0c1
mov dword [ebx + 0x1448], 1
cmp dword [ebx + 0x1448], 0xffffffff
jne 0x47b0da
mov edx, dword [esi]
mov dword fs:[0], edx
mov eax, edx
jmp 0x47ca73
mov ecx, dword [ebx + 0x14f0]
cmp ecx, dword [ebx + 0x14ec]
jge 0x47b107
cmp byte [ebx + 0x354], 1
jne 0x47b1ef
mov eax, dword [ebx + 0x14f0]
cmp eax, dword [ebx + 0x35c]
jl 0x47b1ef
xor edx, edx
mov dword [ebx + 0x1448], edx
cmp dword [ebx + 0x368], 0
jne 0x47b171
mov ecx, dword [ebx + 0x2e0]
cmp byte [ecx + 0x2c], 0
je 0x47b12d
cmp byte [ebx + 0x354], 1
jne 0x47b144
mov eax, ebx
call fcn.004a5864
mov edx, dword [esi]
mov dword fs:[0], edx
mov eax, edx
jmp 0x47ca73
mov ecx, dword [ebx + 0x2e0]
cmp byte [ecx + 0x2c], 1
jne 0x47b1ef
mov edx, dword [ebx + 0x2e4]
mov eax, ebx
call fcn.0047d9fc
mov ecx, dword [esi]
mov dword fs:[0], ecx
mov eax, ecx
jmp 0x47ca73
cmp dword [ebx + 0x368], 1
jne 0x47b1ef
mov edx, dword [ebx + 0x1318]
dec edx
cmp edx, dword [ebx + 0x364]
jne 0x47b1d1
mov eax, dword [ebx + 0x2e0]
cmp byte [eax + 0x2c], 0
jne 0x47b1ac
mov eax, ebx
call fcn.004a5864
mov edx, dword [esi]
mov dword fs:[0], edx
mov eax, edx
jmp 0x47ca73
mov ecx, dword [ebx + 0x2e0]
cmp byte [ecx + 0x2c], 1
jne 0x47b1ef
xor edx, edx
mov eax, ebx
call fcn.00480e84
mov ecx, dword [esi]
mov dword fs:[0], ecx
mov eax, ecx
jmp 0x47ca73
mov edx, dword [ebx + 0x364]
mov eax, ebx
inc edx
call fcn.00480e84
mov edx, dword [esi]
mov dword fs:[0], edx
mov eax, edx
jmp 0x47ca73
mov ecx, dword [ebx + 0x14f0]
cmp ecx, dword [ebx + 0x14ec]
jge 0x47c987
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
dec ecx
cmp edx, ecx
jge 0x47b27e
mov word [esi + 0x10], 8
lea eax, [ebp - 4]
call fcn.00479e04
inc dword [esi + 0x1c]
mov ecx, eax
mov eax, dword [ebx + 0x1438]
mov edx, dword [ebx + 0x33c]
mov edx, dword [edx + 0x14]
mov edi, dword [eax]
add edx, edx
add edx, 2
call dword [edi + 0xc]
lea eax, [ebp - 4]
call fcn.004e56bc
cmp eax, dword [ebx + 0x14f0]
lea eax, [ebp - 4]
setle dl
and edx, 1
push edx
mov edx, 2
dec dword [esi + 0x1c]
call fcn.004e54bc
pop ecx
test cl, cl
je 0x47b27e
mov eax, dword [ebx + 0x33c]
inc dword [eax + 0x14]
mov edx, dword [ebx + 0x33c]
push edx
call fcn.0047a1d4
pop ecx
mov word [esi + 0x10], 0x14
lea eax, [ebp - 0xc]
call fcn.00479e04
push eax
lea eax, [ebp - 8]
inc dword [esi + 0x1c]
mov edx, dword [ebx + 0x14f0]
inc edx
call fcn.004e5478
mov edx, eax
inc dword [esi + 0x1c]
mov eax, 0x484a1a
pop ecx
call fcn.004e570c
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x14]
push edx
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
mov edx, 0x484a1f
lea eax, [ebp - 0x10]
call fcn.004e5404
inc dword [esi + 0x1c]
lea edx, [ebp - 0x10]
pop ecx
pop eax
call fcn.004e5500
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, dword [ebx + 0x14ec]
call fcn.004e5478
mov edx, eax
inc dword [esi + 0x1c]
pop ecx
pop eax
call fcn.004e5500
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
mov edx, 0x484a21
lea eax, [ebp - 0x20]
call fcn.004e5404
inc dword [esi + 0x1c]
lea edx, [ebp - 0x20]
pop ecx
pop eax
call fcn.004e5500
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x2c]
push edx
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
mov edx, dword [ebx + 0x14d0]
push edx
mov ecx, dword [ebx + 0x14f0]
inc ecx
push ecx
push ebx
lea eax, [ebp - 0x28]
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
call fcn.0047ca7c
add esp, 0x10
lea edx, [ebp - 0x28]
pop ecx
pop eax
call fcn.004e5500
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x34]
push edx
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
mov edx, 0x484a29
lea eax, [ebp - 0x30]
call fcn.004e5404
inc dword [esi + 0x1c]
lea edx, [ebp - 0x30]
pop ecx
pop eax
call fcn.004e5500
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x3c]
push edx
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
mov edx, dword [ebx + 0x14d0]
push edx
mov ecx, dword [ebx + 0x14ec]
push ecx
push ebx
lea eax, [ebp - 0x38]
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
call fcn.0047ca7c
add esp, 0x10
lea edx, [ebp - 0x38]
pop ecx
pop eax
call fcn.004e5500
lea edx, [ebp - 0x3c]
mov ecx, dword [edx]
push ecx
push ebx
call fcn.0047af28
add esp, 8
dec dword [esi + 0x1c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004e54bc
mov ecx, dword [0x48d288]
mov eax, dword [ecx]
mov eax, dword [eax + 0x300]
mov edx, dword [eax]
call dword [edx + 0x78]
mov edx, dword [ebx + 0x14f0]
inc edx
mov eax, dword [0x48d288]
mov eax, dword [eax]
call fcn.00482ddc
mov word [esi + 0x10], 0x20
lea eax, [ebp - 0x48]
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
mov edx, 0x484a2b
lea eax, [ebp - 0x44]
call fcn.004e5404
inc dword [esi + 0x1c]
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebx + 0x14d0]
push ecx
mov eax, dword [ebx + 0x14f0]
push eax
push ebx
lea eax, [ebp - 0x40]
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
call fcn.0047ca7c
add esp, 0x10
lea eax, [ebp - 0x40]
pop edx
pop ecx
call fcn.004e5500
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x50]
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
mov edx, dword [ebx + 0x14d0]
push edx
mov ecx, dword [ebx + 0x14ec]
push ecx
push ebx
lea eax, [ebp - 0x4c]
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
call fcn.0047ca7c
add esp, 0x10
lea edx, [ebp - 0x4c]
pop ecx
pop eax
call fcn.004e5500
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x58]
push edx
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
mov edx, 0x484a2d
lea eax, [ebp - 0x54]
call fcn.004e5404
inc dword [esi + 0x1c]
lea edx, [ebp - 0x54]
pop ecx
pop eax
call fcn.004e5500
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x60]
push edx
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
lea edx, [ebx + 0x1390]
lea eax, [ebp - 0x5c]
call fcn.004e5404
mov edx, eax
inc dword [esi + 0x1c]
pop ecx
pop eax
call fcn.004e5500
lea edx, [ebp - 0x60]
mov eax, ebx
mov edx, dword [edx]
call fcn.004b1474
dec dword [esi + 0x1c]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004e54bc
xor ecx, ecx
xor eax, eax
mov dword [ebx + 0x14f4], ecx
mov dword [ebx + 0x14fc], eax
cmp dword [ebx + 0x14e0], 1
jne 0x47b740
mov edx, dword [ebx + 0x145c]
mov dword [ebx + 0x1454], edx
mov ecx, dword [ebx + 0x1460]
mov dword [ebx + 0x1458], ecx
mov edi, dword [ebx + 0x14b4]
mov eax, edi
call fcn.004c8b68
mov edx, eax
mov eax, edi
add edx, 0xfffffff8
call fcn.004c8b78
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe8]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe8]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe8]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
cmp dword [ebp - 0xe8], 0
jle 0x47b740
mov eax, dword [ebx + 0x1450]
call fcn.004c8efc
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebx + 0x14b4]
mov eax, dword [ebx + 0x1450]
call fcn.004c8c2c
xor edx, edx
mov eax, dword [ebx + 0x1450]
call fcn.004c8b78
mov edx, dword [ebx + 0x1450]
mov eax, dword [ebx + 0x1464]
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [ebx + 0x14f0], 0
jle 0x47b908
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe4]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
cmp dword [ebp - 0xe4], 0
jle 0x47ba64
cmp dword [ebp - 0xe4], 0
jle 0x47ba64
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0x108]
mov ecx, 0x10
mov edi, dword [eax]
call dword [edi + 4]
mov dl, 1
mov eax, dword [0x41ead0]
call fcn.0049a9c4
mov dword [ebx + 0x14a4], eax
cmp dword [ebx + 0x13a8], 0
jne 0x47b834
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe8]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebx + 0x14b4]
mov eax, dword [ebx + 0x14b8]
call fcn.004c8c2c
mov eax, dword [ebp - 0xe8]
push eax
mov edx, dword [ebx + 0x14b8]
push edx
push ebx
call fcn.0047cbdc
mov eax, dword [ebx + 0x14b8]
add esp, 0xc
xor ecx, ecx
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebx + 0x14b8]
mov eax, dword [ebx + 0x149c]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebx + 0x14b8]
call fcn.004c8efc
mov edx, dword [ebx + 0x149c]
mov eax, dword [ebx + 0x14a4]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x47b892
cmp dword [ebx + 0x13a8], 1
jl 0x47b892
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe8]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 0xfc]
sub eax, dword [ebp - 0x104]
push eax
mov edx, dword [ebp - 0x100]
sub edx, dword [ebp - 0x108]
push edx
mov ecx, dword [ebx + 0x13a8]
push ecx
mov eax, dword [ebp - 0xe8]
push eax
mov edx, dword [ebx + 0x14b4]
push edx
mov ecx, dword [ebx + 0x14a4]
push ecx
push ebx
call fcn.00478294
add esp, 0x1c
mov eax, dword [ebx + 0x14a4]
push eax
mov eax, dword [ebx + 0x14a0]
call fcn.0049af30
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x108]
call fcn.00496654
mov edi, dword [ebx + 0x14a4]
mov dword [ebp - 0x68], edi
test edi, edi
je 0x47b8e0
mov eax, dword [edi]
mov dword [ebp - 0x64], eax
mov word [esi + 0x10], 0x38
mov edx, 3
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [esi + 0x10], 0x2c
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe4]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
cmp dword [ebp - 0xe4], 0
jg 0x47b77d
jmp 0x47ba64
cmp dword [ebx + 0x14f0], 0
jne 0x47ba64
mov dl, 1
mov eax, dword [0x41ead0]
call fcn.0049a9c4
mov dword [ebx + 0x14a4], eax
cmp dword [ebx + 0x13a8], 0
jne 0x47b9b6
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe8]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebx + 0x14b4]
mov eax, dword [ebx + 0x14b8]
call fcn.004c8c2c
mov eax, dword [ebp - 0xe8]
push eax
mov edx, dword [ebx + 0x14b8]
push edx
push ebx
call fcn.0047cbdc
mov eax, dword [ebx + 0x14b8]
add esp, 0xc
xor ecx, ecx
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebx + 0x14b8]
mov eax, dword [ebx + 0x149c]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebx + 0x14b8]
call fcn.004c8efc
mov edx, dword [ebx + 0x149c]
mov eax, dword [ebx + 0x14a4]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x47ba08
cmp dword [ebx + 0x13a8], 1
jl 0x47ba08
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe8]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebx + 0x14c4]
push eax
mov edx, dword [ebx + 0x14c0]
push edx
mov ecx, dword [ebx + 0x13a8]
push ecx
mov eax, dword [ebp - 0xe8]
push eax
mov edx, dword [ebx + 0x14b4]
push edx
mov ecx, dword [ebx + 0x14a4]
push ecx
push ebx
call fcn.00478294
add esp, 0x1c
mov eax, dword [ebx + 0x14a4]
push eax
mov eax, dword [ebx + 0x14a0]
call fcn.0049af30
xor ecx, ecx
xor edx, edx
call fcn.00496654
mov edi, dword [ebx + 0x14a4]
mov dword [ebp - 0x70], edi
test edi, edi
je 0x47ba4e
mov eax, dword [edi]
mov dword [ebp - 0x6c], eax
mov word [esi + 0x10], 0x50
mov edx, 3
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [esi + 0x10], 0x44
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe4]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
cmp byte [ebx + 0x1494], 0
jne 0x47bad8
mov word [esi + 0x10], 0x5c
mov edx, 0x48445a
lea eax, [ebp - 0x74]
call fcn.004e5404
inc dword [esi + 0x1c]
mov ecx, dword [eax]
push ecx
mov eax, dword [ebx + 0x14a0]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x47ba98
adc eax, 0
add eax, 0xffffffec
push eax
mov eax, dword [ebx + 0x14a0]
mov edx, dword [eax]
call dword [edx + 0x2c]
sar eax, 1
jns 0x47baae
adc eax, 0
add eax, 0xffffff6a
push eax
mov eax, dword [ebx + 0x14a0]
call fcn.0049af30
pop edx
pop ecx
call fcn.004e53f4
dec dword [esi + 0x1c]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004e54bc
jmp 0x47bb35
mov word [esi + 0x10], 0x68
mov edx, 0x484a2f
lea eax, [ebp - 0x78]
call fcn.004e5404
inc dword [esi + 0x1c]
lea edx, [ebp - 0x78]
lea eax, [ebx + 0x1470]
call fcn.004e55a4
push eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004e54bc
pop ecx
test cl, cl
je 0x47bb35
mov eax, dword [ebx + 0x1470]
push eax
mov eax, dword [ebx + 0x14a0]
call fcn.0049af30
mov ecx, dword [ebx + 0x146c]
mov edx, dword [ebx + 0x1468]
call fcn.004e53f4
cmp dword [ebx + 0x14e0], 1
jne 0x47bb82
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe8]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
fild dword [ebp - 0xe8]
lea edx, [ebp - 0xe8]
mov ecx, 4
fstp dword [ebx + 0x145c]
mov eax, dword [ebx + 0x14b4]
mov edi, dword [eax]
call dword [edi + 4]
fild dword [ebp - 0xe8]
fstp dword [ebx + 0x1460]
xor eax, eax
mov dword [ebx + 0x1500], eax
cmp dword [ebx + 0x13b4], 1
jne 0x47bd90
xor edx, edx
mov dword [ebp - 0xe8], edx
jmp 0x47bd6f
mov word [esi + 0x10], 0x74
lea eax, [ebp - 0x7c]
call fcn.00479e04
inc dword [esi + 0x1c]
mov ecx, eax
mov eax, dword [ebx + 0x143c]
mov edx, dword [ebp - 0xe8]
shl edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
mov edx, dword [ebx + 0x14f0]
call fcn.004e5478
mov edx, eax
inc dword [esi + 0x1c]
pop eax
call fcn.004e558c
push eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004e54bc
pop ecx
test cl, cl
je 0x47bd69
mov dword [ebx + 0x1500], 1
jmp 0x47bcbb
inc dword [ebp - 0xe8]
mov word [esi + 0x10], 0x8c
lea eax, [ebp - 0x8c]
call fcn.00479e04
inc dword [esi + 0x1c]
mov ecx, eax
mov eax, dword [ebx + 0x143c]
mov edx, dword [ebp - 0xe8]
shl edx, 3
add edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
mov edx, 3
call fcn.004e5478
inc dword [esi + 0x1c]
lea edx, [ebp - 0x90]
pop eax
call fcn.004e558c
push eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.004e54bc
pop ecx
test cl, cl
je 0x47bd90
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xe8], eax
jmp 0x47bd90
mov eax, dword [ebx + 0x143c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jns 0x47bccd
add eax, 7
sar eax, 3
mov ecx, dword [ebp - 0xe8]
inc ecx
cmp eax, ecx
jle 0x47bd90
mov word [esi + 0x10], 0x80
lea eax, [ebp - 0x84]
call fcn.00479e04
inc dword [esi + 0x1c]
mov ecx, eax
mov eax, dword [ebx + 0x143c]
mov edx, dword [ebp - 0xe8]
shl edx, 3
add edx, 8
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x88]
mov edx, dword [ebx + 0x14f0]
call fcn.004e5478
mov edx, eax
inc dword [esi + 0x1c]
pop eax
call fcn.004e558c
test al, al
lea eax, [ebp - 0x84]
setne cl
and ecx, 1
mov edx, 2
push ecx
dec dword [esi + 0x1c]
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.004e54bc
pop ecx
test ecx, ecx
jne 0x47bc21
jmp 0x47bd90
inc dword [ebp - 0xe8]
mov eax, dword [ebx + 0x143c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jns 0x47bd81
add eax, 7
sar eax, 3
cmp eax, dword [ebp - 0xe8]
jg 0x47bba4
cmp byte [ebx + 0x1504], 0
jne 0x47c31d
cmp dword [ebx + 0x14e0], 1
jne 0x47bf42
mov ecx, dword [ebx + 0x2d0]
mov eax, dword [ecx + 0x38]
sar eax, 1
jns 0x47bdba
adc eax, 0
add eax, dword [ebx + 0x340]
mov dword [ebp - 0x1c0], eax
fild dword [ebp - 0x1c0]
fsubr dword [ebx + 0x1454]
add esp, 0xfffffff8
fstp qword [esp]
call fcn.004de52c
add esp, 8
mov edx, dword [ebx + 0x2d0]
mov edi, dword [edx + 0x38]
mov eax, edi
mov ecx, 3
cdq
idiv ecx
mov dword [ebp - 0x1c4], eax
fild dword [ebp - 0x1c4]
fcompp
fnstsw ax
sahf
jae 0x47be2a
sar edi, 1
jns 0x47be0d
adc edi, 0
mov dword [ebp - 0x1c8], edi
fild dword [ebp - 0x1c8]
fsubr dword [ebx + 0x1454]
call fcn.004de554
mov dword [ebx + 0x340], eax
mov edx, dword [ebx + 0x2d0]
mov ecx, dword [edx + 0x3c]
sar ecx, 1
jns 0x47be3a
adc ecx, 0
add ecx, dword [ebx + 0x344]
mov dword [ebp - 0x1c0], ecx
fild dword [ebp - 0x1c0]
fsubr dword [ebx + 0x1458]
add esp, 0xfffffff8
fstp qword [esp]
call fcn.004de52c
add esp, 8
mov eax, dword [ebx + 0x2d0]
mov edi, dword [eax + 0x3c]
mov eax, edi
mov ecx, 3
cdq
idiv ecx
mov dword [ebp - 0x1c4], eax
fild dword [ebp - 0x1c4]
fcompp
fnstsw ax
sahf
jae 0x47beaa
sar edi, 1
jns 0x47be8d
adc edi, 0
mov dword [ebp - 0x1c8], edi
fild dword [ebp - 0x1c8]
fsubr dword [ebx + 0x1458]
call fcn.004de554
mov dword [ebx + 0x344], eax
cmp dword [ebx + 0x340], 0
jge 0x47bebd
xor edx, edx
mov dword [ebx + 0x340], edx
jmp 0x47bef5
mov eax, dword [ebx + 0x14a0]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, dword [ebx + 0x2d0]
mov edx, dword [ecx + 0x38]
add edx, dword [ebx + 0x340]
cmp eax, edx
jge 0x47bef5
mov eax, dword [ebx + 0x14a0]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [ebx + 0x2d0]
sub eax, dword [edx + 0x38]
mov dword [ebx + 0x340], eax
cmp dword [ebx + 0x344], 0
jge 0x47bf08
xor eax, eax
mov dword [ebx + 0x344], eax
jmp 0x47bf52
mov eax, dword [ebx + 0x14a0]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, dword [ebx + 0x2d0]
mov edx, dword [ecx + 0x3c]
add edx, dword [ebx + 0x344]
cmp eax, edx
jge 0x47bf52
mov eax, dword [ebx + 0x14a0]
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edx, dword [ebx + 0x2d0]
sub eax, dword [edx + 0x3c]
mov dword [ebx + 0x344], eax
jmp 0x47bf52
xor eax, eax
xor ecx, ecx
mov dword [ebx + 0x340], eax
mov dword [ebx + 0x344], ecx
mov eax, dword [ebx + 0x14a0]
push eax
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
xor ecx, ecx
xor edx, edx
sub ecx, dword [ebx + 0x344]
sub edx, dword [ebx + 0x340]
call fcn.00496654
cmp dword [ebx + 0x13b8], 1
jne 0x47c221
cmp dword [ebx + 0x1500], 1
jne 0x47c221
cmp byte [ebx + 0x1504], 0
jne 0x47c221
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.00496478
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
mov eax, dword [eax + 0x10]
mov edx, 2
call fcn.00496184
mov word [esi + 0x10], 0x98
lea eax, [ebp - 0x94]
call fcn.00479e04
inc dword [esi + 0x1c]
mov ecx, eax
mov eax, dword [ebx + 0x143c]
mov edx, dword [ebp - 0xe8]
shl edx, 3
inc edx
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x94]
call fcn.004e56bc
mov dword [ebp - 0xf4], eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.004e54bc
mov word [esi + 0x10], 0xa4
lea eax, [ebp - 0x98]
call fcn.00479e04
inc dword [esi + 0x1c]
mov ecx, eax
mov eax, dword [ebx + 0x143c]
mov edx, dword [ebp - 0xe8]
shl edx, 3
add edx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x98]
call fcn.004e56bc
mov dword [ebp - 0xf8], eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.004e54bc
mov ecx, dword [ebx + 0x340]
sub dword [ebp - 0xf4], ecx
mov eax, dword [ebx + 0x344]
sub dword [ebp - 0xf8], eax
mov word [esi + 0x10], pe_nt_image_headers32
lea eax, [ebp - 0x9c]
call fcn.00479e04
inc dword [esi + 0x1c]
mov ecx, eax
mov eax, dword [ebx + 0x143c]
mov edx, dword [ebp - 0xe8]
shl edx, 3
add edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.004e5478
inc dword [esi + 0x1c]
lea edx, [ebp - 0xa0]
pop eax
call fcn.004e558c
push eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.004e54bc
pop ecx
test cl, cl
je 0x47c11e
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
mov eax, dword [eax + 0x10]
mov edx, 0xffff
call fcn.00496078
jmp 0x47c136
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
mov eax, dword [eax + 0x10]
mov edx, 0xff
call fcn.00496078
mov word [esi + 0x10], 0xbc
lea eax, [ebp - 0xa4]
call fcn.00479e04
inc dword [esi + 0x1c]
mov ecx, eax
mov eax, dword [ebx + 0x143c]
mov edx, dword [ebp - 0xe8]
shl edx, 3
add edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa8]
mov edx, 3
call fcn.004e5478
inc dword [esi + 0x1c]
lea edx, [ebp - 0xa8]
pop eax
call fcn.004e558c
push eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0xa4]
mov edx, 2
call fcn.004e54bc
pop ecx
test cl, cl
je 0x47c1eb
mov eax, dword [ebp - 0xf4]
add eax, 0x14
push eax
mov edx, dword [ebp - 0xf8]
add edx, 0x14
push edx
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
mov ecx, dword [ebp - 0xf8]
add ecx, 0xffffffec
mov edx, dword [ebp - 0xf4]
add edx, 0xffffffec
call fcn.00496700
mov eax, dword [ebp - 0xf4]
add eax, 0xf
push eax
mov edx, dword [ebp - 0xf8]
add edx, 0xf
push edx
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
mov ecx, dword [ebp - 0xf8]
add ecx, 0xfffffff1
mov edx, dword [ebp - 0xf4]
add edx, 0xfffffff1
call fcn.00496700
cmp dword [ebx + 0x14e0], 1
jne 0x47c576
fild dword [ebx + 0x340]
fsubr dword [ebx + 0x1454]
call fcn.004de554
mov dword [ebp - 0xf4], eax
fild dword [ebx + 0x344]
fsubr dword [ebx + 0x1458]
call fcn.004de554
mov dword [ebp - 0xf8], eax
mov eax, dword [ebx + 0x14a8]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 0xf8]
push eax
mov eax, dword [ebx + 0x14a8]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
mov eax, dword [ebp - 0xf4]
push eax
lea edx, [ebp - 0x18c]
push edx
call fcn.0047aeec
add esp, 0x14
push eax
mov eax, dword [ebx + 0x14a8]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x14a8]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
lea ecx, [ebp - 0x17c]
push ecx
call fcn.0047aeec
add esp, 0x14
push eax
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
push eax
mov eax, dword [ebx + 0x14a8]
call fcn.0049af30
pop ecx
pop edx
call fcn.004965cc
mov eax, dword [ebx + 0x1464]
call fcn.0049c53c
push eax
mov edx, dword [ebp - 0xf8]
push edx
mov ecx, dword [ebp - 0xf4]
push ecx
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
call fcn.00496b68
push eax
call fcn.004f9756
jmp 0x47c576
cmp dword [ebx + 0x14e0], 1
jne 0x47c41c
mov eax, dword [ebx + 0x14a8]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x1c0], eax
fild dword [ebp - 0x1c0]
fadd dword [ebx + 0x1458]
call fcn.004de554
push eax
mov eax, dword [ebx + 0x14a8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x1c4], eax
fild dword [ebp - 0x1c4]
fadd dword [ebx + 0x1454]
call fcn.004de554
push eax
fld dword [ebx + 0x1458]
call fcn.004de554
push eax
fld dword [ebx + 0x1454]
call fcn.004de554
push eax
lea edx, [ebp - 0x1ac]
push edx
call fcn.0047aeec
add esp, 0x14
push eax
mov eax, dword [ebx + 0x14a8]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x14a8]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
lea ecx, [ebp - 0x19c]
push ecx
call fcn.0047aeec
add esp, 0x14
push eax
mov eax, dword [ebx + 0x14a0]
call fcn.0049af30
push eax
mov eax, dword [ebx + 0x14a8]
call fcn.0049af30
pop ecx
pop edx
call fcn.004965cc
mov eax, dword [ebx + 0x1464]
call fcn.0049c53c
push eax
fld dword [ebx + 0x1458]
call fcn.004de554
push eax
fld dword [ebx + 0x1454]
call fcn.004de554
push eax
mov eax, dword [ebx + 0x14a0]
call fcn.0049af30
call fcn.00496b68
push eax
call fcn.004f9756
mov edx, dword [ebx + 0x1444]
imul edx, dword [ebx + 0x14d0]
cmp edx, 0x3e8
jge 0x47c48f
cmp dword [ebx + 0x1440], 2
jge 0x47c4c6
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
call fcn.00496b68
push eax
call fcn.004f9598
cmp eax, 4
je 0x47c4c6
push 4
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
call fcn.00496b68
push eax
call fcn.004f9640
push 0
push 0
push 0
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
call fcn.00496b68
push eax
call fcn.004f9622
jmp 0x47c4c6
inc dword [ebx + 0x1440]
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
call fcn.00496b68
push eax
call fcn.004f9598
dec eax
je 0x47c4c6
push 1
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
call fcn.00496b68
push eax
call fcn.004f9640
push 0xcc0020
mov eax, dword [ebx + 0x14a0]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x14a0]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x14a0]
call fcn.0049af30
call fcn.00496b68
push eax
mov edi, dword [ebx + 0x2d0]
mov eax, dword [edi + 0x3c]
push eax
mov edx, dword [edi + 0x38]
push edx
push 0
push 0
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
call fcn.00496b68
push eax
call fcn.004f965e
push 0
push 0
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
or ecx, 0xffffffff
or edx, 0xffffffff
call fcn.00496848
cmp dword [ebx + 0x14e0], 1
jne 0x47c576
mov eax, dword [ebx + 0x14a8]
push eax
mov eax, dword [ebx + 0x14a0]
call fcn.0049af30
push eax
fld dword [ebx + 0x1458]
call fcn.004de554
push eax
fld dword [ebx + 0x1454]
call fcn.004de554
mov edx, eax
pop ecx
pop eax
call fcn.00496654
cmp dword [ebx + 0x137c], 1
jne 0x47c6b5
mov word [esi + 0x10], 0xc8
lea eax, [ebp - 0xb4]
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
mov edx, 0x484a30
lea eax, [ebp - 0xb0]
call fcn.004e5404
inc dword [esi + 0x1c]
lea edx, [ebp - 0xb0]
push edx
mov ecx, dword [ebx + 0x14d0]
push ecx
mov eax, dword [ebx + 0x14f0]
inc eax
push eax
push ebx
lea eax, [ebp - 0xac]
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
call fcn.0047ca7c
add esp, 0x10
lea eax, [ebp - 0xac]
pop edx
pop ecx
call fcn.004e5500
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xbc]
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
mov edx, dword [ebx + 0x14d0]
push edx
mov ecx, dword [ebx + 0x14ec]
push ecx
push ebx
lea eax, [ebp - 0xb8]
call fcn.00479e04
push eax
inc dword [esi + 0x1c]
call fcn.0047ca7c
add esp, 0x10
lea edx, [ebp - 0xb8]
pop ecx
pop eax
call fcn.004e5500
lea edx, [ebp - 0xbc]
mov ecx, dword [edx]
push ecx
mov eax, dword [ebx + 0x2d0]
call fcn.004ab098
mov edx, dword [ebx + 0x2d0]
mov edx, dword [edx + 0x38]
add edx, 0xffffff9c
xor ecx, ecx
call fcn.004e53f4
dec dword [esi + 0x1c]
lea eax, [ebp - 0xbc]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0xb8]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0xb0]
mov edx, 2
call fcn.004e54bc
dec dword [esi + 0x1c]
lea eax, [ebp - 0xac]
mov edx, 2
call fcn.004e54bc
inc dword [ebx + 0x14f0]
mov eax, dword [ebx + 0x1448]
cmp eax, 1
jle 0x47c987
cmp byte [ebx + 0x1495], 1
jne 0x47c987
mov ecx, dword [ebx + 0x14ec]
add ecx, 0xfffffffe
cmp ecx, dword [ebx + 0x14f0]
jle 0x47c987
dec eax
mov dword [ebp - 0xf0], eax
xor eax, eax
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe4]
cmp edx, dword [ebp - 0xf0]
jge 0x47c90a
cmp dword [ebp - 0xe4], 0
jle 0x47c74b
cmp dword [ebx + 0x14e0], 1
jne 0x47c74b
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe8]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe8]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebx + 0x14b4]
call fcn.004c8b68
mov dword [ebp - 0xec], eax
cmp dword [ebx + 0x14e0], 1
jne 0x47c7ef
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe8]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
cmp dword [ebp - 0xe8], 0
je 0x47c7ef
mov edx, dword [ebp - 0xec]
mov eax, dword [ebx + 0x14b4]
call fcn.004c8b78
mov ecx, dword [ebx + 0x14f8]
xor eax, eax
sub ecx, dword [ebx + 0x14f4]
dec ecx
mov dword [ebx + 0x14fc], ecx
mov dword [ebx + 0x14f4], eax
mov edx, dword [0x48d668]
mov ecx, dword [edx + 0x308]
cmp byte [ecx + 0x2c], 0
jne 0x47c7d9
mov eax, dword [ebx + 0x1448]
dec eax
sub eax, dword [ebp - 0xe4]
add dword [ebx + 0x1444], eax
xor edx, edx
mov dword [ebx + 0x1448], edx
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x47ca73
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe8]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
cmp dword [ebp - 0xe8], 0
jle 0x47c875
mov edx, dword [ebp - 0xec]
mov eax, dword [ebx + 0x14b4]
call fcn.004c8b78
mov ecx, dword [ebx + 0x14f8]
xor eax, eax
sub ecx, dword [ebx + 0x14f4]
dec ecx
mov dword [ebx + 0x14fc], ecx
mov dword [ebx + 0x14f4], eax
mov edx, dword [0x48d668]
mov ecx, dword [edx + 0x308]
cmp byte [ecx + 0x2c], 0
jne 0x47c85f
mov eax, dword [ebx + 0x1448]
dec eax
sub eax, dword [ebp - 0xe4]
add dword [ebx + 0x1444], eax
xor edx, edx
mov dword [ebx + 0x1448], edx
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x47ca73
mov eax, dword [ebx + 0x14ec]
add eax, 0xfffffffe
cmp eax, dword [ebx + 0x14f0]
jg 0x47c8ec
mov edx, dword [ebp - 0xec]
mov eax, dword [ebx + 0x14b4]
call fcn.004c8b78
mov edx, dword [ebx + 0x14f8]
xor ecx, ecx
sub edx, dword [ebx + 0x14f4]
dec edx
mov dword [ebx + 0x14fc], edx
mov dword [ebx + 0x14f4], ecx
mov eax, dword [0x48d668]
mov edx, dword [eax + 0x308]
cmp byte [edx + 0x2c], 0
jne 0x47c8d6
mov ecx, dword [ebx + 0x1448]
dec ecx
sub ecx, dword [ebp - 0xe4]
add dword [ebx + 0x1444], ecx
xor eax, eax
mov dword [ebx + 0x1448], eax
mov edx, dword [esi]
mov dword fs:[0], edx
jmp 0x47ca73
inc dword [ebx + 0x14f0]
inc dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xe4]
cmp ecx, dword [ebp - 0xf0]
jl 0x47c70d
cmp dword [ebx + 0x14e0], 1
jne 0x47c957
mov eax, dword [ebx + 0x14b4]
lea edx, [ebp - 0xe8]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
fild dword [ebp - 0xe8]
lea edx, [ebp - 0xe8]
mov ecx, 4
fstp dword [ebx + 0x145c]
mov eax, dword [ebx + 0x14b4]
mov edi, dword [eax]
call dword [edi + 4]
fild dword [ebp - 0xe8]
fstp dword [ebx + 0x1460]
mov eax, dword [ebx + 0x14f8]
xor edx, edx
sub eax, dword [ebx + 0x14f4]
dec eax
xor ecx, ecx
mov dword [ebx + 0x14fc], eax
mov dword [ebx + 0x14f4], edx
mov dword [ebx + 0x1448], ecx
mov eax, dword [esi]
mov dword fs:[0], eax
jmp 0x47ca73
mov edx, dword [ebx + 0x14f8]
xor ecx, ecx
sub edx, dword [ebx + 0x14f4]
dec edx
mov dword [ebx + 0x14fc], edx
mov dword [ebx + 0x14f4], ecx
mov eax, dword [ebx + 0x1448]
test eax, eax
jl 0x47c9cd
mov edx, dword [0x48d668]
mov ecx, dword [edx + 0x308]
cmp byte [ecx + 0x2c], 0
jne 0x47c9c5
dec eax
add dword [ebx + 0x1444], eax
xor eax, eax
mov dword [ebx + 0x1448], eax
cmp byte [ebx + 0x1496], 1
jne 0x47ca6a
push 0x10
push 0
lea edx, [ebp - 0x1bc]
push edx
call fcn.004da07c
add esp, 0xc
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x1b4], 2
push ecx
push 0x100
push 0x814
mov eax, dword [ebx + 0x1498]
push eax
call fcn.004f9a64
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
jne 0x47ca6a
mov edx, dword [ebx + 0x14f0]
mov ecx, dword [ebp - 0x1b8]
dec edx
imul edx, dword [ebx + 0x14d0]
sub ecx, edx
mov dword [ebp - 0xe8], ecx
cmp dword [ebp - 0xe8], 0x1f4
jle 0x47ca6a
cmp dword [ebp - 0xe8], 0xbb8
jge 0x47ca6a
mov eax, dword [ebp - 0xe8]
cdq
idiv dword [ebx + 0x14d0]
mov dword [ebx + 0x1444], eax
mov ecx, dword [esi]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret