Function at 0x47aa70
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x30
mov eax, dword [0x4fe040]
xor eax, esp
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x3c]
xorps xmm0, xmm0
mov dword [esp + 0xc], ecx
mov dword [esp], 0
mov byte [esp + 8], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x18], ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
mov edi, dword [esp + 0x48]
movups xmmword [esp + 0x24], xmm0
test ecx, ecx
je 0x47ba63
test edi, edi
je 0x47ba63
mov edx, dword [edi + 0x48]
test edx, edx
je 0x47ba63
cmp ecx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffe
add eax, edx
cmp ecx, eax
ja 0x47ba63
mov bl, byte [ecx]
lea edx, [ecx + 1]
movzx eax, bl
mov dword [esi], eax
mov dword [esp + 0x14], edx
cmp bl, 0x21
jae 0x47ba63
cmp bl, 1
jne 0x47ab71
movzx ebx, byte [edx]
mov ebp, dword [edi + 0x18]
cmp ebx, ebp
ja 0x47ba63
movzx ecx, byte [edx + 1]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
lea eax, [ebx + ecx]
cmp eax, ebp
ja 0x47ba63
mov dword [esi + 4], ebx
mov dword [esi + 8], 0
mov eax, dword [edi + 0x1c]
pop edi
lea eax, [eax + ecx*4]
add eax, 4
mov dword [esi + 0xc], eax
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004018ca
add esp, 0x30
ret
cmp bl, 2
je 0x47b9b2
cmp bl, 3
je 0x47b9b2
cmp bl, 0xb
jne 0x47abc6
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffe
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
mov al, 1
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004018ca
add esp, 0x30
ret
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push ecx
push edi
call fcn.00479ee0
add esp, 0x10
test al, al
je 0x47ba63
mov ebx, dword [esi]
cmp ebx, 4
je 0x47b837
cmp ebx, 5
sete byte [esp + 0x18]
je 0x47b837
cmp ebx, 6
je 0x47b6a8
cmp ebx, 7
sete byte [esp + 0x18]
je 0x47b6a8
cmp ebx, 8
je 0x47b573
cmp ebx, 9
sete byte [esp + 0x18]
je 0x47b573
cmp ebx, 0xa
jne 0x47ac7b
mov edx, dword [esp + 0x14]
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffe
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
mov al, 1
pop edi
mov dword [esi + 0xc], ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004018ca
add esp, 0x30
ret
cmp ebx, 0xc
je 0x47b3c1
cmp ebx, 0xd
je 0x47b3c1
cmp ebx, 0xe
je 0x47b2e2
cmp ebx, 0xf
je 0x47b2e2
lea eax, [ebx - 0x10]
cmp eax, 7
ja 0x47af0d
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffe
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx eax, byte [edx]
add edx, 2
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
shl ecx, 2
mov dword [esi + 0xc], ecx
cmp ebx, 0x10
je 0x47ad06
cmp ebx, 0x11
je 0x47ad06
cmp ebx, 0x12
je 0x47ad06
cmp ebx, 0x13
je 0x47ad06
mov dword [esi + 0x10], ecx
jmp 0x47ad43
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffe
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx eax, byte [edx]
add edx, 2
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
shl ecx, 2
mov dword [esi + 0x10], ecx
cmp ebx, 0x12
je 0x47ad58
cmp ebx, 0x13
je 0x47ad58
cmp ebx, 0x16
je 0x47ad58
cmp ebx, 0x17
je 0x47ad58
mov dword [esi + 0x14], 0
xor ecx, ecx
jmp 0x47ada7
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx eax, byte [edx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
or ecx, eax
lea eax, [edx + 4]
shl ecx, 0x10
mov dword [esi + 0x14], ecx
mov dword [esp + 0x1c], eax
movzx eax, byte [edx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 3]
mov edx, dword [esp + 0x1c]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x18], ecx
cmp ebx, 0x11
je 0x47adc2
cmp ebx, 0x13
je 0x47adc2
cmp ebx, 0x15
je 0x47adc2
cmp ebx, 0x17
jne 0x47aef2
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx ebp, byte [edx]
movzx eax, byte [edx + 1]
shl ebp, 8
or ebp, eax
movzx eax, byte [edx + 2]
shl ebp, 8
or ebp, eax
movzx eax, byte [edx + 3]
shl ebp, 8
or ebp, eax
cmp ebx, 0x11
mov ebx, dword [esp + 0x20]
jne 0x47ae31
lea eax, [esp + 0x24]
push eax
push 2
push ebp
push edi
push ebx
call fcn.00479f60
add esp, 0x14
test al, al
je 0x47ba63
mov eax, dword [esp + 0x24]
shl eax, 2
add dword [esi + 0xc], eax
mov eax, dword [esp + 0x28]
shl eax, 2
add dword [esi + 0x10], eax
cmp dword [esi], 0x13
jne 0x47ae7e
lea eax, [esp + 0x24]
push eax
push 4
push ebp
push edi
push ebx
call fcn.00479f60
add esp, 0x14
test al, al
je 0x47ba63
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x24]
lea eax, [ecx + eax*4]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x28]
lea eax, [ecx + eax*4]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x2c]
shl eax, 0x10
add dword [esi + 0x14], eax
mov eax, dword [esp + 0x30]
shl eax, 0x10
add dword [esi + 0x18], eax
cmp dword [esi], 0x15
jne 0x47aeae
lea eax, [esp + 0x24]
push eax
push 1
push ebp
push edi
push ebx
call fcn.00479f60
add esp, 0x14
test al, al
je 0x47ba63
mov eax, dword [esp + 0x24]
lea ecx, [eax*4]
add dword [esi + 0xc], ecx
add dword [esi + 0x10], ecx
cmp dword [esi], 0x17
jne 0x47aef2
lea eax, [esp + 0x24]
push eax
push 3
push ebp
push edi
push ebx
call fcn.00479f60
add esp, 0x14
test al, al
je 0x47ba63
mov eax, dword [esp + 0x24]
lea ecx, [eax*4]
mov eax, dword [esp + 0x28]
add dword [esi + 0xc], ecx
add dword [esi + 0x10], ecx
shl eax, 0x10
add dword [esi + 0x14], eax
mov eax, dword [esp + 0x2c]
shl eax, 0x10
add dword [esi + 0x18], eax
pop edi
mov dword [esi], 0x10
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004018ca
add esp, 0x30
ret
cmp ebx, 0x18
je 0x47b17d
cmp ebx, 0x1a
je 0x47b17d
cmp ebx, 0x19
je 0x47b17d
cmp ebx, 0x1b
je 0x47b17d
cmp ebx, 0x1c
je 0x47afd8
cmp ebx, 0x1d
je 0x47afd8
cmp ebx, 0x1e
je 0x47afd8
cmp ebx, 0x1f
je 0x47afd8
cmp ebx, 0x20
jne 0x47ba63
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
dec eax
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx eax, byte [edx]
inc edx
mov dword [esp + 0x14], edx
cmp eax, 0x1c
jae 0x47ba63
mov dword [esi + 0xc], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x24]
push edi
call fcn.00479ee0
add esp, 0x10
test al, al
je 0x47ba63
mov eax, dword [esp + 0x10]
pop edi
mov dword [esi + 0x10], eax
mov al, 1
mov byte [esi + 0x14], 0
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004018ca
add esp, 0x30
ret
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx eax, byte [edx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
add edx, 4
or ecx, eax
shl ecx, 2
mov dword [esi + 0xc], ecx
movzx eax, byte [edx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
shl ecx, 2
mov dword [esi + 0x10], ecx
cmp ebx, 0x1e
je 0x47b048
cmp ebx, 0x1f
je 0x47b048
mov dword [esi + 0x14], 0
xor ecx, ecx
mov ebx, edx
jmp 0x47b091
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx eax, byte [edx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
add edx, 4
or ecx, eax
mov ebx, edx
shl ecx, 0x10
mov dword [esi + 0x14], ecx
movzx eax, byte [ebx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx - 1]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x18], ecx
mov eax, dword [esi]
cmp eax, 0x1d
je 0x47b0a4
cmp eax, 0x1f
jne 0x47b162
cmp ebx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx ebx, byte [edx]
movzx eax, byte [edx + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
cmp dword [esi], 0x1d
jne 0x47b115
lea eax, [esp + 0x24]
push eax
push 2
push ebx
push edi
push ebp
call fcn.00479f60
add esp, 0x14
test al, al
je 0x47ba63
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x24]
lea eax, [ecx + eax*4]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x28]
lea eax, [ecx + eax*4]
mov dword [esi + 0x10], eax
cmp dword [esi], 0x1f
jne 0x47b162
lea eax, [esp + 0x24]
push eax
push 4
push ebx
push edi
push ebp
call fcn.00479f60
add esp, 0x14
test al, al
je 0x47ba63
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x24]
lea eax, [ecx + eax*4]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x28]
lea eax, [ecx + eax*4]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x2c]
shl eax, 0x10
add dword [esi + 0x14], eax
mov eax, dword [esp + 0x30]
shl eax, 0x10
add dword [esi + 0x18], eax
pop edi
mov dword [esi], 0x1c
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004018ca
add esp, 0x30
ret
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffe
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx eax, byte [edx]
add edx, 2
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
shl ecx, 2
mov dword [esi + 0xc], ecx
cmp ebx, 0x1a
je 0x47b1d6
cmp ebx, 0x1b
je 0x47b1d6
mov dword [esi + 0x10], 0
xor ecx, ecx
mov ebx, edx
jmp 0x47b21f
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx eax, byte [edx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
add edx, 4
or ecx, eax
mov ebx, edx
shl ecx, 0x10
mov dword [esi + 0x10], ecx
movzx eax, byte [ebx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx - 1]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x14], ecx
mov eax, dword [esi]
cmp eax, 0x19
je 0x47b232
cmp eax, 0x1b
jne 0x47b2c7
cmp ebx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx ecx, byte [edx]
mov ebx, 3
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
xor edx, edx
or ecx, eax
mov eax, dword [esi]
cmp eax, 0x1b
cmovne ebx, edx
cmp eax, 0x19
jne 0x47b283
lea ebx, [edx + 1]
jmp 0x47b288
cmp eax, 0x1b
jne 0x47b2c7
lea eax, [esp + 0x24]
push eax
push ebx
push ecx
push edi
push ebp
call fcn.00479f60
add esp, 0x14
test al, al
je 0x47ba63
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x24]
lea eax, [ecx + eax*4]
mov dword [esi + 0xc], eax
cmp ebx, 3
jne 0x47b2c7
mov eax, dword [esp + 0x28]
shl eax, 0x10
add dword [esi + 0x10], eax
mov eax, dword [esp + 0x2c]
shl eax, 0x10
add dword [esi + 0x14], eax
pop edi
mov dword [esi], 0x18
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004018ca
add esp, 0x30
ret
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx eax, byte [edx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
add edx, 4
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0xc], ecx
movzx eax, byte [edx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x10], ecx
cmp ebx, 0xf
jne 0x47b3a6
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
lea eax, [esp + 0x24]
push eax
push 2
push ecx
push edi
push ebp
call fcn.00479f60
add esp, 0x14
test al, al
je 0x47ba63
mov eax, dword [esp + 0x24]
shl eax, 0x10
add dword [esi + 0xc], eax
mov eax, dword [esp + 0x28]
shl eax, 0x10
add dword [esi + 0x10], eax
pop edi
mov dword [esi], 0xe
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004018ca
add esp, 0x30
ret
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
mov byte [esi + 8], 0
push eax
push dword [esp + 0x24]
push edi
call fcn.00479ee0
add esp, 0x10
test al, al
je 0x47ba63
mov edx, dword [esp + 0x10]
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xffffffe8
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx ecx, byte [edx]
lea ebx, [edx + 0x18]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
mov dword [esi + 0xc], ecx
movzx eax, byte [edx + 4]
movzx ecx, byte [edx + 5]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x18], ecx
movzx eax, byte [edx + 8]
movzx ecx, byte [edx + 9]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x10], ecx
movzx eax, byte [edx + 0xc]
movzx ecx, byte [edx + 0xd]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x1c], ecx
movzx eax, byte [edx + 0x10]
movzx ecx, byte [edx + 0x11]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x13]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x14], ecx
movzx eax, byte [edx + 0x14]
movzx ecx, byte [edx + 0x15]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x17]
shl ecx, 8
or ecx, eax
cmp dword [esi], 0xd
mov dword [esi + 0x20], ecx
jne 0x47b558
cmp ebx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x47ba63
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
lea eax, [esp + 0x24]
push eax
push 6
push ecx
push edi
push ebp
call fcn.00479f60
add esp, 0x14
test al, al
je 0x47ba63
mov eax, dword [esp + 0x24]
add dword [esi + 0xc], eax
mov eax, dword [esp + 0x28]
add dword [esi + 0x18], eax
mov eax, dword [esp + 0x2c]
add dword [esi + 0x10], eax
mov eax, dword [esp + 0x30]
add dword [esi + 0x1c], eax
mov eax, dword [esp + 0x34]
add dword [esi + 0x14], eax
mov eax, dword [esp + 0x38]
add dword [esi + 0x20], eax
pop edi
mov dword [esi], 0xc
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004018ca
add esp, 0x30
ret
push dword [esp + 0x18]
lea eax, [esi + 4]
push eax
push dword [esp + 0x18]
push edi
call fcn.0047aa00
add esp, 0x10
test al, al
je 0x47ba63
mov edx, dword [esp + 0x14]
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffff8
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx eax, byte [edx]
lea ebx, [edx + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x18], ecx
movzx eax, byte [edx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 3]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x1c], ecx
movzx eax, byte [edx + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 5]
or ecx, eax
shl ecx, 2
mov dword [esi + 0x20], ecx
movzx eax, byte [edx + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 7]
or ecx, eax
shl ecx, 2
cmp byte [esp + 0x18], 0
mov dword [esi + 0x24], ecx
je 0x47b68d
cmp ebx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x47ba63
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
lea eax, [esp + 0x24]
push eax
push 4
push ecx
push edi
push ebp
call fcn.00479f60
add esp, 0x14
test al, al
je 0x47ba63
mov eax, dword [esp + 0x24]
shl eax, 0x10
add dword [esi + 0x18], eax
mov eax, dword [esp + 0x28]
shl eax, 0x10
add dword [esi + 0x1c], eax
mov eax, dword [esp + 0x2c]
shl eax, 2
add dword [esi + 0x20], eax
mov eax, dword [esp + 0x30]
shl eax, 2
add dword [esi + 0x24], eax
pop edi
mov dword [esi], 8
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004018ca
add esp, 0x30
ret
push dword [esp + 0x18]
lea eax, [esi + 4]
push eax
push dword [esp + 0x18]
push edi
call fcn.0047aa00
add esp, 0x10
test al, al
je 0x47ba63
mov ebx, dword [esp + 0x14]
cmp ebx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffff4
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x47ba63
movzx eax, byte [ebx]
lea edx, [ebx + 0xc]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 1]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x18], ecx
movzx eax, byte [ebx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 3]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x1c], ecx
movzx eax, byte [ebx + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 5]
or ecx, eax
mov eax, 0x7fffffff
shl ecx, 0x10
test ecx, ecx
cmovs ecx, eax
mov dword [esi + 0x20], ecx
movzx eax, byte [ebx + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 7]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x24], ecx
movzx eax, byte [ebx + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 9]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x28], ecx
movzx eax, byte [ebx + 0xa]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 0xb]
or ecx, eax
mov eax, 0x7fffffff
shl ecx, 0x10
test ecx, ecx
cmovs ecx, eax
cmp byte [esp + 0x18], 0
mov dword [esi + 0x2c], ecx
je 0x47b81c
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
lea eax, [esp + 0x24]
push eax
push 6
push ecx
push edi
push ebp
call fcn.00479f60
add esp, 0x14
test al, al
je 0x47ba63
mov eax, dword [esp + 0x24]
shl eax, 0x10
add dword [esi + 0x18], eax
mov eax, dword [esp + 0x28]
shl eax, 0x10
add dword [esi + 0x1c], eax
mov eax, dword [esp + 0x2c]
shl eax, 0x10
add dword [esi + 0x20], eax
mov eax, dword [esp + 0x30]
shl eax, 0x10
add dword [esi + 0x24], eax
mov eax, dword [esp + 0x34]
shl eax, 0x10
add dword [esi + 0x28], eax
mov eax, dword [esp + 0x38]
shl eax, 0x10
add dword [esi + 0x2c], eax
pop edi
mov dword [esi], 6
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004018ca
add esp, 0x30
ret
push dword [esp + 0x18]
lea eax, [esi + 4]
push eax
push dword [esp + 0x18]
push edi
call fcn.0047aa00
add esp, 0x10
test al, al
je 0x47ba63
mov edx, dword [esp + 0x14]
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffff4
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx eax, byte [edx]
lea ebx, [edx + 0xc]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x18], ecx
movzx eax, byte [edx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 3]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x1c], ecx
movzx eax, byte [edx + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 5]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x20], ecx
movzx eax, byte [edx + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 7]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x24], ecx
movzx eax, byte [edx + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 9]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x28], ecx
movzx eax, byte [edx + 0xa]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 0xb]
or ecx, eax
shl ecx, 0x10
cmp byte [esp + 0x18], 0
mov dword [esi + 0x2c], ecx
je 0x47b997
cmp ebx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x47ba63
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
lea eax, [esp + 0x24]
push eax
push 6
push ecx
push edi
push ebp
call fcn.00479f60
add esp, 0x14
test al, al
je 0x47ba63
mov eax, dword [esp + 0x24]
shl eax, 0x10
add dword [esi + 0x18], eax
mov eax, dword [esp + 0x28]
shl eax, 0x10
add dword [esi + 0x1c], eax
mov eax, dword [esp + 0x2c]
shl eax, 0x10
add dword [esi + 0x20], eax
mov eax, dword [esp + 0x30]
shl eax, 0x10
add dword [esi + 0x24], eax
mov eax, dword [esp + 0x34]
shl eax, 0x10
add dword [esi + 0x28], eax
mov eax, dword [esp + 0x38]
shl eax, 0x10
add dword [esi + 0x2c], eax
pop edi
mov dword [esi], 4
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004018ca
add esp, 0x30
ret
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffc
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x47ba63
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
add edx, 4
shl cx, 8
or cx, ax
mov word [esi + 4], cx
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
shl cx, 8
or cx, ax
mov word [esi + 6], cx
cmp bl, 3
jne 0x47ba48
cmp edx, dword [edi + 0x24]
jb 0x47ba63
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x47ba63
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
lea eax, [esp + 0x24]
push eax
push 1
push ecx
push edi
push ebp
call fcn.00479f60
add esp, 0x14
test al, al
je 0x47ba63
mov ax, word [esp + 0x24]
add word [esi + 6], ax
pop edi
mov dword [esi], 2
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004018ca
add esp, 0x30
ret
mov ecx, dword [esp + 0x3c]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004018ca
add esp, 0x30
ret