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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi]
mov eax, dword [edi + 8]
mov edx, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*8]
lea ebx, [esi + eax*8 + 0x2e0]
movzx eax, byte [ebx + 0x24]
mov dword [esp + 0x38], edx
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea ecx, [esi + 0x148]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x38]
shl edx, 4
lea eax, [edx + eax + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x4c], 0
test eax, eax
jle 0x47e16b
lea ecx, [esi + 0x48]
mov edx, dword [esp + 0x18]
cmp dword [ecx], edx
je 0x47e340
inc dword [esp + 0x4c]
add ecx, 4
cmp dword [esp + 0x4c], eax
jl 0x47e152
xor eax, eax
xor edx, edx
mov ecx, dword [ebp + 0xc]
not eax
and eax, dword [ebp + 0x10]
not edx
and edx, dword [ebp + 0x14]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], edx
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
call fcn.004bd3e0
and eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
test byte [eax + 0x24], 0x40
je 0x47e1ac
test byte [esi + 0x22], 0x20
mov dword [esp + 0x68], 1
je 0x47e1b4
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x18]
mov ecx, dword [eax + 0x6c]
lea edx, [ecx + 1]
mov dword [eax + 0x6c], edx
lea edx, [ecx - 1]
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], ecx
test ecx, edx
jne 0x47e200
mov eax, ecx
lea ecx, [eax*8 + 4]
push 0
push ecx
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0x70]
mov esi, dword [ecx]
call fcn.00420ee0
mov edx, dword [esp + 0x5c]
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x6c]
mov dword [edx + 0x70], eax
add esp, 8
mov eax, edx
mov eax, dword [eax + 0x70]
test eax, eax
je 0x47e20e
mov dword [eax + ecx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ecx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + 0x6c]
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
lea edx, [eax - 1]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], eax
test eax, edx
jne 0x47e267
lea ecx, [eax*8 + 4]
push 0
push ecx
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0x70]
mov esi, dword [ecx]
call fcn.00420ee0
mov edx, dword [esp + 0x5c]
mov esi, dword [ebp + 8]
mov dword [edx + 0x70], eax
mov eax, dword [esp + 0x6c]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x70]
test ecx, ecx
je 0x47e275
mov dword [ecx + eax*4], 0xffffffff
or ecx, 0xffffffff
sub ecx, eax
cmp byte [ebx + 0x24], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], ecx
mov dword [ebx + 0x18], ecx
jbe 0x47e2b1
test byte [eax + 0x24], 8
je 0x47e2b1
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov esi, dword [esp + 0x10]
push eax
push 0
push 0x19
mov dword [ebx], eax
call fcn.0043c9d0
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x7c], ecx
test cl, 4
je 0x47e355
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x54], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x74], edx
jg 0x47e2ef
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x47e31f
mov eax, dword [esp + 0x10]
inc dword [eax + 0x20]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x64]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x74]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x14
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x10]
push eax
push ecx
push 0x16
call fcn.0043c9d0
add esp, 0xc
mov byte [ebx + 0x25], 0x10
jmp 0x47f46d
mov ecx, dword [esp + 0x4c]
mov eax, 1
xor edx, edx
call fcn.004acad0
jmp 0x47e16f
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x24]
test edx, 0x400
je 0x47e56d
movzx eax, word [ecx + 0x28]
mov esi, dword [edi + 0x38]
inc dword [edi + 0x64]
mov edx, dword [edi + 0x3c]
mov dword [esp + 0x48], eax
add eax, 2
cmp eax, esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], edx
jg 0x47e394
add edx, eax
sub esi, eax
mov dword [edi + 0x3c], edx
mov dword [edi + 0x38], esi
jmp 0x47e3a3
mov edx, dword [edi + 0x48]
lea esi, [edx + 1]
add eax, edx
mov dword [esp + 0x34], esi
mov dword [edi + 0x48], eax
mov eax, dword [ebx + 0xc]
xor esi, esi
cmp dword [esp + 0x48], esi
mov dword [esp + 0x64], eax
jle 0x47e40b
mov edx, dword [esp + 0x34]
add edx, 2
mov dword [esp + 0x50], edx
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x47e400
test byte [eax + 0x12], 1
mov ecx, dword [esp + 0x50]
push ecx
je 0x47e3ed
mov edx, dword [esp + 0x24]
push edx
push esi
push eax
push edi
mov eax, ebx
call fcn.0047d590
mov eax, dword [ebx + 0x10]
add esp, 0x14
mov dword [esp + 0x64], eax
jmp 0x47e3fc
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
push eax
push edi
call fcn.00451860
add esp, 0xc
mov ecx, dword [esp + 0x2c]
inc dword [esp + 0x50]
inc esi
cmp esi, dword [esp + 0x48]
jl 0x47e3bd
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
cmp dword [edx + 0x54], esi
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x74], ecx
jg 0x47e42e
push eax
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x47e45e
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 4]
inc dword [eax + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x19
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x74], eax
jg 0x47e482
push esi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x47e4af
mov eax, dword [esp + 0x74]
inc dword [esi + 0x20]
mov ecx, dword [esp + 0x48]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x34]
inc edx
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x19
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x2c]
movzx ecx, byte [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 0x34]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff7
add ecx, 0xfffffffe
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
push 0xe
call fcn.0043ca30
mov eax, dword [esp + 0x44]
xor esi, esi
add esp, 0x18
cmp dword [esp + 0x48], esi
mov byte [eax + 0x1c], 0
jle 0x47e524
nop
cmp esi, 0x10
jge 0x47e524
mov eax, dword [esp + 0x2c]
mov dx, word [eax + 0x1e]
mov cx, si
shr dx, cl
test dl, 1
je 0x47e51d
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + esi*4]
mov edi, ebx
call fcn.0047d4d0
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
inc esi
cmp esi, dword [esp + 0x48]
jl 0x47e4f0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x28], ecx
mov ecx, dword [esp + 0x34]
mov byte [ebx + 0x25], 0x95
mov eax, dword [edx + 0x20]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x4c]
push ecx
mov esi, edi
call fcn.004504c0
mov edx, dword [esp + 0x50]
add esp, 4
cmp edx, dword [edi + 0x38]
jle 0x47e561
mov ecx, dword [esp + 0x34]
mov eax, edx
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
mov eax, edi
call fcn.00450520
jmp 0x47f470
mov eax, edx
and eax, 0x100
je 0x47e60c
test dl, 5
je 0x47e60c
mov edx, ecx
mov eax, dword [edx + 0x2c]
mov eax, dword [eax]
inc dword [edi + 0x48]
mov esi, dword [edi + 0x48]
mov ecx, dword [esp + 0x20]
push esi
push ecx
push 0
push eax
push edi
mov eax, ebx
call fcn.0047d590
mov ebx, eax
add esp, 0x14
cmp ebx, esi
je 0x47e5b1
mov edx, edi
call fcn.00452af0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x10]
push eax
push ebx
push 0x26
mov dword [esp + 0x50], eax
call fcn.0043c9d0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ebx
push eax
push ecx
push 0x46
call fcn.0043c8d0
push ebx
mov eax, 1
mov esi, edi
call fcn.004504c0
mov edx, dword [esp + 0x2c]
add esp, 0x14
push 0xffffffffffffffff
push edx
mov edx, edi
call fcn.004503c0
mov eax, dword [esp + 0x1c]
add esp, 8
mov byte [eax + 0x25], 0x9a
jmp 0x47f470
test eax, eax
je 0x47e807
test dl, 2
je 0x47e807
xor eax, eax
xor esi, esi
mov dword [esp + 0x40], 0x9a
mov dword [esp + 0x64], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], esi
test dl, 0x20
je 0x47e648
mov eax, dword [ecx + 0x2c]
mov esi, dword [eax]
mov dword [esp + 0x44], esi
mov eax, 1
test dl, 0x10
je 0x47e657
mov ecx, dword [ecx + 0x2c]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x48], edx
cmp dword [esp + 0x20], 0
je 0x47e66c
mov eax, esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], eax
test esi, esi
je 0x47e6f7
mov eax, dword [esp + 0x44]
mov esi, dword [eax]
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x70]
push ecx
mov ecx, edi
mov byte [esp + 0x54], 0x41
mov byte [esp + 0x55], 0x3f
mov byte [esp + 0x56], 0x3e
mov byte [esp + 0x57], 0x40
call fcn.00451730
movzx ecx, byte [esi]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x14]
add esp, 4
push eax
push edx
movzx edx, byte [esp + ecx + 8]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x20]
push eax
push edx
call fcn.0043c8d0
mov eax, dword [esp + 0x84]
push eax
mov eax, 1
mov esi, edi
call fcn.004504c0
mov esi, dword [esp + 0x84]
add esp, 0x14
mov edx, edi
call fcn.00452af0
mov eax, dword [esp + 0x44]
mov edi, ebx
call fcn.0047d4d0
mov edi, dword [esp + 0x1c]
jmp 0x47e71c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
neg eax
sbb eax, eax
push ecx
and eax, 0xfffffffd
push edx
add eax, 0x6c
push eax
call fcn.0043c9d0
add esp, 0xc
mov eax, dword [esp + 0x48]
test eax, eax
je 0x47e77f
mov esi, dword [eax]
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov ecx, dword [esi + 0x10]
push eax
push ecx
push edi
mov dword [esp + 0x70], eax
call fcn.00451860
mov al, byte [esi]
add esp, 0xc
cmp al, 0x52
je 0x47e75b
cmp al, 0x50
je 0x47e75b
xor edx, edx
cmp dword [esp + 0x20], edx
setne dl
lea edx, [edx + edx + 0x50]
mov dword [esp + 0x40], edx
jmp 0x47e76c
xor eax, eax
cmp dword [esp + 0x20], eax
sete al
lea eax, [eax + eax + 0x51]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
mov edi, ebx
call fcn.0047d4d0
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x20], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x20]
mov ecx, dword [esp + 0x18]
sete dl
add dl, 8
cmp dword [esp + 0x40], 0x9a
mov byte [ebx + 0x25], dl
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], eax
je 0x47f470
inc dword [edi + 0x48]
mov ebx, dword [edi + 0x48]
mov esi, dword [esp + 0x10]
push ebx
mov edx, ecx
push edx
push 0x67
call fcn.0043c9d0
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0xffffffffffffffff
push eax
mov edx, edi
call fcn.004503c0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x48]
push ebx
push ecx
push edx
push eax
call fcn.0043c8d0
mov eax, dword [esi + 4]
add esp, 0x18
test eax, eax
je 0x47f470
mov ecx, esi
mov ecx, dword [ecx + 0x20]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 0x53
jmp 0x47f470
test edx, 0x200
je 0x47ed1b
movzx eax, word [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x28], eax
xor eax, eax
test byte [esi + 0x22], 1
mov dword [esp + 0x50], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0xe], al
mov byte [esp + 0xd], al
mov byte [esp + 0xf], al
mov dword [esp + 0x48], edx
je 0x47e863
cmp byte [esi + 0x24], al
jle 0x47e863
mov edx, dword [esp + 0x50]
mov dx, word [edx + 0x32]
cmp dx, word [esp + 0x28]
jbe 0x47e863
mov byte [esp + 0xd], 1
mov eax, 1
movzx esi, word [esp + 0x28]
mov edx, dword [ecx + 0x24]
mov dword [esp + 0x24], esi
test dl, 0x20
je 0x47e884
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x34], eax
inc esi
mov eax, 1
test dl, 0x10
je 0x47e8c6
cmp dword [esp + 0x34], 0
mov ecx, dword [ecx + 0x2c]
mov edx, dword [ecx + esi*4]
mov dword [esp + 0x40], edx
mov eax, 1
jne 0x47e8c6
mov edx, dword [esp + 0x50]
mov ecx, dword [edx + 4]
mov esi, dword [esp + 0x24]
movsx ecx, word [ecx + esi*2]
test ecx, ecx
jl 0x47e8c6
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 4]
lea ecx, [ecx + ecx*2]
cmp byte [edx + ecx*8 + 0x14], 0
jne 0x47e8c6
mov byte [esp + 0xd], al
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x4c]
push ecx
push eax
push esi
push ebx
push edi
call fcn.0047d760
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x60]
add esp, 0x14
test eax, eax
je 0x47e8f2
mov edx, dword [esp + 0x24]
mov al, byte [edx + eax]
mov byte [esp + 0xe], al
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x50]
movzx eax, word [ecx + 0x32]
cmp word [esp + 0x28], ax
jae 0x47e91f
mov edx, dword [ecx + 0x1c]
mov esi, dword [esp + 0x24]
xor ecx, ecx
cmp byte [esi + edx], cl
mov esi, dword [esp + 0x20]
sete cl
cmp esi, ecx
je 0x47e92a
test esi, esi
je 0x47e949
cmp ax, word [esp + 0x28]
jne 0x47e949
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov cl, byte [esp + 0xd]
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], eax
mov byte [esp + 0xd], 0
mov byte [esp + 0xf], cl
jmp 0x47e94d
mov eax, dword [esp + 0x34]
mov cl, 0x28
test eax, eax
je 0x47e960
mov dword [esp + 0x58], 0
test byte [eax + 0x12], cl
je 0x47e968
mov dword [esp + 0x58], 1
mov edx, dword [esp + 0x40]
test edx, edx
je 0x47e97d
mov dword [esp + 0x5c], 0
test byte [edx + 0x12], cl
je 0x47e985
mov dword [esp + 0x5c], 1
test eax, eax
jne 0x47e994
cmp word [esp + 0x28], ax
ja 0x47e994
xor esi, esi
jmp 0x47e999
mov esi, 1
cmp dword [esp + 0x34], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], esi
mov dword [esp + 0x28], eax
je 0x47ea36
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x3c]
mov esi, dword [edx + 0x10]
lea ebx, [eax + ecx]
push ebx
push esi
push edi
mov dword [esp + 0x70], esi
call fcn.00451860
add esp, 0xc
mov eax, esi
call fcn.0044ef30
test eax, eax
je 0x47e9ee
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
push edx
push ebx
push 0x4c
call fcn.0043c9d0
add esp, 0xc
cmp dword [esp + 0x4c], 0
je 0x47ea28
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
mov bl, byte [eax + esi]
mov eax, dword [esp + 0x64]
call fcn.0044d460
mov ebx, dword [esp + 0x24]
cmp al, 0x41
jne 0x47ea14
mov byte [ebx + esi], al
mov dl, byte [ebx + esi]
mov ecx, dword [esp + 0x64]
call fcn.0044efe0
test eax, eax
je 0x47ea28
mov byte [ebx + esi], 0x41
inc dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x60]
jmp 0x47ea67
cmp byte [esp + 0xd], 0
je 0x47ea67
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
mov ecx, eax
add ecx, edx
push ecx
push 0
push 0x1c
call fcn.0043c9d0
mov esi, 1
add esp, 0xc
add dword [esp + 0x28], esi
mov dword [esp + 0x58], 0
movzx eax, byte [esp + 0xd]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
push edx
sub ecx, eax
mov eax, dword [esp + 0x50]
push edi
call fcn.0047d520
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x68]
push edx
push eax
mov eax, dword [esp + 0x38]
lea edx, [ecx + esi*2]
movzx ecx, byte [eax + edx*2 + 0x4d0918]
mov eax, dword [esp + 0x28]
push ecx
call fcn.0043cb70
mov edx, dword [esp + 0x40]
add esp, 0x1c
cmp dword [esp + 0x40], 0
mov dword [esp + 0x28], edx
je 0x47eb61
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
lea ebx, [eax + ecx]
push ebx
mov eax, 1
mov esi, edi
mov dword [esp + 0x68], edx
mov dword [esp + 0x78], ebx
call fcn.004504c0
mov esi, dword [esp + 0x68]
add esp, 4
push ebx
push esi
push edi
call fcn.00451860
add esp, 0xc
mov eax, esi
call fcn.0044ef30
test eax, eax
je 0x47eb22
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
push edx
push ebx
push 0x4c
call fcn.0043c9d0
add esp, 0xc
mov esi, dword [esp + 0x64]
mov bl, byte [esp + 0xe]
mov eax, esi
call fcn.0044d460
cmp al, 0x41
je 0x47eb5b
mov dl, byte [esp + 0xe]
mov ecx, esi
call fcn.0044efe0
test eax, eax
jne 0x47eb5b
mov eax, dword [esp + 0x74]
push eax
push edi
lea eax, [esp + 0x16]
mov ecx, 1
call fcn.0047d520
add esp, 8
mov ebx, dword [esp + 0x14]
jmp 0x47eb89
cmp byte [esp + 0xf], 0
je 0x47eb8d
mov esi, dword [esp + 0x10]
mov ecx, edx
mov edx, dword [esp + 0x3c]
add ecx, edx
push ecx
push 0
push 0x1c
call fcn.0043c9d0
add esp, 0xc
mov dword [esp + 0x5c], 0
inc dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
call fcn.00420b20
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x47ebd5
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x30]
movzx ecx, byte [ecx + edx*2 + 0x4d0920]
push ecx
call fcn.0043cb70
add esp, 0x14
mov eax, dword [esp + 0x34]
mov edi, ebx
call fcn.0047d4d0
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x14]
call fcn.0047d4d0
cmp dword [esp + 0x68], 0
jne 0x47eccf
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0xc]
test byte [eax + 0x2c], 0x20
jne 0x47ec43
mov edi, dword [esp + 0x1c]
inc dword [edi + 0x48]
mov ebx, dword [edi + 0x48]
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
push ebx
push eax
push 0x70
call fcn.0043c9d0
mov ecx, dword [esp + 0x24]
add esp, 0xc
push 0xffffffffffffffff
push ecx
mov edx, edi
call fcn.004503c0
mov edx, dword [esp + 0x20]
push ebx
push edx
push 0x42
call fcn.0043c9d0
jmp 0x47ecc8
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x18], ecx
je 0x47eccf
call fcn.004575b0
mov ecx, dword [esp + 0x1c]
mov edi, eax
movzx esi, word [edi + 0x32]
call fcn.00452b20
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x68], eax
cmp dx, word [edi + 0x32]
jae 0x47eca9
mov eax, dword [esp + 0x68]
mov edx, dword [edi + 4]
mov si, word [edx + ebx*2]
mov edx, dword [esp + 0x50]
lea ecx, [ebx + eax]
push ecx
call fcn.004575d0
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
cwde
push eax
push ecx
push 0x2f
call fcn.0043c8d0
movzx edx, word [edi + 0x32]
inc ebx
add esp, 0x10
cmp ebx, edx
jl 0x47ec73
movzx eax, word [edi + 0x32]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x20]
push 0x44
call fcn.0043cb70
mov edi, dword [esp + 0x28]
add esp, 0x14
mov eax, dword [esp + 0x2c]
test dword [eax + 0x24], 0x1000
je 0x47ece2
mov byte [edi + 0x25], 0x9a
jmp 0x47ecf0
cmp dword [esp + 0x20], 0
sete cl
add cl, 8
mov byte [edi + 0x25], cl
mov edx, dword [esp + 0x48]
mov dword [edi + 0x28], edx
mov cl, byte [eax + 0x26]
and cl, 1
mov byte [edi + 0x26], cl
test byte [eax + 0x24], 0xf
mov edi, dword [esp + 0x1c]
jne 0x47f470
mov edx, dword [esp + 0x14]
mov byte [edx + 0x27], 1
jmp 0x47f470
test edx, 0x2000
je 0x47f42d
mov eax, dword [edi + 0x44]
inc dword [edi + 0x48]
mov dword [esp + 0x6c], eax
inc eax
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x48]
xor ecx, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], ecx
call fcn.0043cc20
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
mov byte [ebx + 0x25], 0x12
mov dword [ebx + 0x28], eax
mov al, byte [esi + 0x29]
mov dword [esp + 0x60], edx
cmp al, 1
jbe 0x47ee6b
mov esi, dword [esp + 0x38]
movzx ebx, al
sub ebx, dword [ebp + 0xc]
push 0
dec ebx
lea ecx, [ebx + ebx*4]
shl ecx, 4
add ecx, 0x58
push ecx
call fcn.00420d90
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
jne 0x47edca
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x50]
mov dl, bl
inc dl
movzx eax, dl
mov edx, dword [esp + 0x34]
mov dword [edx + 4], eax
mov dword [edx], eax
mov eax, dword [ebp + 8]
lea edi, [edx + 8]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 4]
add eax, 8
cmp ebx, 1
mov dword [esp + 0x5c], eax
jl 0x47ee33
add edx, 0x58
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x64]
add edx, 0x6c
movzx eax, byte [edx]
lea esi, [eax + eax*4]
shl esi, 4
add esi, dword [esp + 0x5c]
mov edi, ebx
mov ecx, 0x14
add edx, 0x48
add ebx, 0x50
sub dword [esp + 0x68], 1
rep movsd dword es:[edi], dword [esi]
jne 0x47ee10
mov edi, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
test byte [edx + 0x22], 8
mov ebx, dword [esp + 0x30]
jne 0x47eeb3
mov eax, dword [esp + 0x44]
test byte [eax + 0x2c], 0x20
jne 0x47ee74
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov esi, dword [esp + 0x10]
push eax
push 0
push 0x1c
mov dword [esp + 0x58], eax
call fcn.0043c9d0
add esp, 0xc
jmp 0x47eea9
mov ecx, dword [esi + 4]
mov dword [esp + 0x34], ecx
jmp 0x47ee37
call fcn.004575b0
mov esi, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [edi + 0x44]
lea ecx, [eax + 1]
mov dword [edi + 0x44], ecx
movzx edx, word [ebx + 0x32]
push edx
push eax
push 0x39
mov dword [esp + 0x58], eax
call fcn.0043c9d0
add esp, 0xc
mov ecx, ebx
mov eax, edi
call fcn.0043d1a0
mov ebx, dword [esp + 0x30]
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x10]
push ecx
push 0
push 0x19
call fcn.0043c9d0
mov dword [esp + 0x88], eax
mov eax, dword [ebx + 0xc]
add esp, 0xc
cmp eax, 1
jle 0x47efee
mov dword [esp + 0x68], 0
test eax, eax
jle 0x47efee
xor ecx, ecx
mov dword [esp + 0x64], ecx
mov edx, dword [ebx + 0x14]
lea eax, [ecx + edx]
mov edx, dword [eax]
cmp eax, dword [esp + 0x2c]
je 0x47ef45
test byte [edx + 4], 1
jne 0x47ef45
mov eax, dword [ebx + 0x14]
add eax, ecx
test byte [eax + 0x14], 0x12
jne 0x47ef45
mov esi, 0xfff
test word [eax + 0x12], si
je 0x47ef45
mov esi, dword [esp + 0x38]
push 0
push 0
push edx
push esi
call fcn.0044df40
mov ebx, dword [esp + 0x38]
push eax
mov eax, esi
call fcn.0044dab0
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x44]
add esp, 0x14
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
inc eax
add ecx, 0x30
cmp eax, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
jl 0x47eef1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x47eff2
mov esi, dword [edi]
push 0
push 0x30
call fcn.00420d90
mov esi, eax
add esp, 8
test esi, esi
je 0x47ef98
push 0x30
push 0
push esi
call fcn.004aaf30
add esp, 0xc
or ecx, 0xffffffff
mov byte [esi], 0x48
mov word [esi + 0x22], cx
mov dword [esi + 0x18], 1
mov ebx, dword [edi]
test esi, esi
jne 0x47efb5
push esi
push ebx
call fcn.0044de10
mov edx, dword [esp + 0x30]
push edx
push ebx
call fcn.0044de10
add esp, 0x10
jmp 0x47efea
mov eax, dword [esp + 0x28]
mov dword [esi + 0x10], eax
mov eax, dword [eax + 4]
and eax, 0x100
or dword [esi + 4], eax
mov ebx, esi
call fcn.0044d700
mov ecx, dword [edi]
mov eax, dword [ecx + 0x64]
cmp dword [esi + 0x18], eax
jle 0x47efea
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.004231b0
mov edi, dword [esp + 0x24]
add esp, 8
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x60]
xor eax, eax
cmp dword [esi + 0xc], eax
mov dword [esp + 0x20], pe_nt_image_headers32
mov dword [esp + 0x50], eax
jle 0x47f2f4
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x14]
add eax, dword [esp + 0x64]
mov edx, dword [eax + 8]
cmp edx, dword [esp + 0x18]
je 0x47f030
mov ecx, 0x200
test word [eax + 0x12], cx
je 0x47f2dd
mov eax, dword [eax]
mov dword [esp + 0x24], 0
test ebx, ebx
je 0x47f049
test byte [eax + 4], 1
jne 0x47f049
mov dword [ebx + 0xc], eax
mov eax, ebx
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x38]
push ecx
push 0
push 0
push eax
push edx
push edi
call fcn.00482450
add esp, 0x1c
mov dword [esp + 0x78], eax
test eax, eax
je 0x47f2dd
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx + 0x24]
mov ecx, dword [ebp + 0xc]
push 0
push edx
mov edx, dword [esp + 0x3c]
push ecx
lea ecx, [eax + 0x2e0]
push edx
mov eax, edi
call fcn.0047de90
mov eax, dword [ebp + 8]
add esp, 0x10
test byte [eax + 0x22], 8
jne 0x47f200
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0xc]
mov esi, dword [esp + 0x50]
dec edx
cmp esi, edx
jne 0x47f0b6
or esi, 0xffffffff
mov eax, dword [esp + 0x44]
test byte [eax + 0x2c], 0x20
mov dword [esp + 0x5c], esi
jne 0x47f100
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
push 0
push ecx
push edx
push 0xffffffffffffffff
push eax
mov eax, edi
call fcn.00450650
add esp, 0x14
push esi
push eax
mov eax, dword [esp + 0x54]
push 0
push eax
mov eax, dword [esp + 0x20]
push 0x82
call fcn.0043cb70
add esp, 0x14
mov dword [esp + 0x24], eax
jmp 0x47f200
call fcn.004575b0
movzx ebx, word [eax + 0x32]
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x38]
cmp ebx, eax
mov dword [esp + 0x48], ecx
jg 0x47f127
add ecx, ebx
sub eax, ebx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x38], eax
jmp 0x47f136
mov eax, dword [edi + 0x48]
lea edx, [eax + 1]
add eax, ebx
mov dword [esp + 0x48], edx
mov dword [edi + 0x48], eax
xor esi, esi
test ebx, ebx
jle 0x47f16e
lea esp, [esp]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x18]
push 0
add ecx, esi
push ecx
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x4c]
push edx
movsx edx, word [ecx + esi*2]
push edx
push eax
mov eax, edi
call fcn.00450650
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x47f140
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x47f199
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
push ebx
push ecx
push 0
push edx
push 0x45
call fcn.0043cb70
add esp, 0x14
mov dword [esp + 0x24], eax
test esi, esi
jl 0x47f1e0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
push eax
push ebx
push ecx
push 0x31
call fcn.0043c8d0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x5c]
push 0
push edx
push eax
push 0x6e
call fcn.0043c8d0
add esp, 0x20
cmp dword [esp + 0x5c], 0
je 0x47f1e0
mov eax, esi
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x47f1e0
mov eax, dword [eax + 0x20]
lea edx, [eax + eax*4]
mov byte [ecx + edx*4 - 0x11], 0x10
mov eax, dword [esp + 0x48]
push eax
mov eax, ebx
mov esi, edi
call fcn.004504c0
add esp, 4
cmp ebx, dword [edi + 0x38]
jle 0x47f200
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ecx
mov esi, dword [esp + 0x10]
mov ebx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x54], ebx
jg 0x47f21c
push esi
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x47f24a
mov ecx, dword [esi + 4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x58]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], edx
xor edx, edx
mov byte [eax], 0x11
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
jmp 0x47f24c
xor edx, edx
mov eax, dword [esp + 0x24]
cmp eax, edx
je 0x47f26f
mov ecx, dword [esi + 0x20]
cmp ecx, eax
jbe 0x47f265
mov ebx, dword [esi + 4]
lea eax, [eax + eax*4]
mov dword [ebx + eax*4 + 8], ecx
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x58], ecx
mov eax, dword [esp + 0x78]
cmp byte [eax + 0x27], 0
je 0x47f281
mov dword [esp + 0x74], 1
mov ecx, dword [eax + 0x318]
test dword [ecx + 0x24], 0x200
je 0x47f2c8
cmp dword [esp + 0x50], edx
je 0x47f29f
mov esi, dword [esp + 0x3c]
cmp dword [ecx + 0x1c], esi
jne 0x47f2c8
mov esi, dword [esp + 0x44]
test byte [esi + 0x2c], 0x20
je 0x47f2b7
mov esi, dword [ecx + 0x1c]
mov ebx, dword [esi + 0x38]
and bl, 3
cmp bl, 2
je 0x47f2c8
mov ecx, dword [ecx + 0x1c]
or dword [esp + 0x20], 0x1000
mov dword [esp + 0x3c], ecx
jmp 0x47f2cc
mov dword [esp + 0x3c], edx
push eax
call fcn.00482d60
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [esp + 0x50]
add dword [esp + 0x64], 0x30
inc eax
cmp eax, dword [esi + 0xc]
mov dword [esp + 0x50], eax
jl 0x47f011
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov dword [eax + 0x30], ecx
test ecx, ecx
je 0x47f30a
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], edx
test ebx, ebx
je 0x47f323
mov eax, dword [esp + 0x38]
push ebx
push eax
mov dword [ebx + 0xc], 0
call fcn.0044de10
add esp, 8
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x7c]
cmp eax, ecx
jbe 0x47f33c
mov edx, dword [edx + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 4], eax
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0x20]
mov ecx, dword [edx + 0x18]
cmp dword [ecx + 0x54], esi
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0xc]
jg 0x47f363
push edx
call fcn.0043c840
mov edx, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x47f38a
mov ecx, dword [edx + 4]
inc dword [edx + 0x20]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor esi, esi
mov byte [eax], 0x10
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0
jmp 0x47f38c
xor esi, esi
mov ecx, dword [edx + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x70]
js 0x47f3a5
mov ebx, dword [ecx + 0x70]
cmp ebx, esi
je 0x47f3a5
mov esi, dword [edx + 0x20]
mov dword [ebx + eax*4], esi
mov edx, dword [edx + 0x20]
mov eax, dword [ebp + 8]
dec edx
mov dword [ecx + 0x58], edx
cmp byte [eax + 0x29], 1
jbe 0x47f413
cmp dword [esp + 0x34], 0
je 0x47f413
mov eax, dword [esp + 0x38]
test eax, eax
je 0x47f406
cmp dword [eax + 0x208], 0
je 0x47f3dc
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
call fcn.00420ae0
jmp 0x47f413
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax + 0x114]
jb 0x47f406
cmp ecx, dword [eax + 0x118]
jae 0x47f406
mov edx, dword [eax + 0x110]
mov dword [ecx], edx
dec dword [eax + 0xfc]
mov dword [eax + 0x110], ecx
jmp 0x47f413
mov eax, dword [esp + 0x34]
push eax
call fcn.00420a40
add esp, 4
cmp dword [esp + 0x74], 0
jne 0x47f470
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
call fcn.0047d4d0
mov edi, dword [esp + 0x1c]
jmp 0x47f470
test byte [esp + 0x7c], 8
je 0x47f43a
mov byte [ebx + 0x25], 0x9a
jmp 0x47f470
mov eax, dword [esp + 0x20]
mov cl, byte [eax + 0x4d0924]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x10]
mov byte [ebx + 0x25], cl
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x28], ecx
movzx eax, byte [eax + 0x4d0928]
push edx
push ecx
push eax
call fcn.0043c9d0
add esp, 0xc
inc eax
mov byte [ebx + 0x27], 1
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
test ebx, ebx
jle 0x47f4d1
mov edi, edi
test byte [esi + 0x14], 6
jne 0x47f4c5
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and eax, dword [edx + 0x40]
and ecx, dword [edx + 0x44]
or eax, ecx
je 0x47f4a3
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x27], 1
jmp 0x47f4c5
cmp dword [edx], 0
mov eax, dword [esi]
je 0x47f4b0
test byte [eax + 4], 1
je 0x47f4c5
mov edx, dword [esp + 0x54]
push 0x10
push edx
push eax
push edi
call fcn.00451fd0
add esp, 0x10
or byte [esi + 0x14], 4
dec ebx
add esi, 0x30
test ebx, ebx
jg 0x47f480
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x74], eax
test eax, eax
jle 0x47f616
jmp 0x47f4f0
test byte [esi + 0x14], 6
jne 0x47f5fe
mov eax, 0x402
cmp word [esi + 0x12], ax
jne 0x47f5fe
mov ecx, dword [esp + 0x18]
cmp dword [esi + 8], ecx
jne 0x47f5fe
mov edx, dword [esp + 0x14]
cmp dword [edx], 0
jne 0x47f5fe
mov eax, dword [esi]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push 0
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0xc]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, 3
call fcn.0047b7f0
add esp, 0x10
mov dword [esp + 0x7c], eax
test eax, eax
je 0x47f5fe
test byte [eax + 0x14], 4
jne 0x47f5fe
mov esi, dword [esp + 0x38]
push 0
push 0x30
call fcn.00420d90
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x47f5fa
mov edx, dword [esp + 0x7c]
mov esi, dword [edx]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x78]
push 0x10
mov ecx, 0xc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x20]
push edx
push ebx
push eax
mov dword [ebx + 0xc], ecx
call fcn.00451fd0
mov ecx, dword [esp + 0x48]
add esp, 0x10
test ecx, ecx
je 0x47f5ed
cmp dword [ecx + 0x208], 0
je 0x47f5c7
mov eax, ebx
call fcn.00420ae0
jmp 0x47f5f6
cmp ebx, dword [ecx + 0x114]
jb 0x47f5ed
cmp ebx, dword [ecx + 0x118]
jae 0x47f5ed
mov edx, dword [ecx + 0x110]
mov dword [ebx], edx
dec dword [ecx + 0xfc]
mov dword [ecx + 0x110], ebx
jmp 0x47f5f6
push ebx
call fcn.00420a40
add esp, 4
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x74]
dec eax
add esi, 0x30
mov dword [esp + 0x74], eax
mov dword [esp + 0x2c], esi
test eax, eax
jg 0x47f4f0
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
je 0x47f703
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x20]
mov edx, dword [eax]
mov dword [eax + 0x1c], ecx
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
mov dword [esp + 0x7c], edx
jg 0x47f64b
push ebx
call fcn.0043c840
add esp, 4
test eax, eax
jne 0x47f678
mov eax, dword [ebx + 4]
mov ecx, 1
add dword [ebx + 0x20], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x19
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
lea eax, [edi + 0x80]
mov esi, 0xa
mov edx, dword [eax]
test edx, edx
je 0x47f6ab
cmp byte [eax - 6], 0
je 0x47f6a5
mov cl, byte [edi + 0x13]
cmp cl, 8
jae 0x47f6a1
movzx ecx, cl
mov dword [edi + ecx*4 + 0x18], edx
inc byte [edi + 0x13]
mov byte [eax - 6], 0
mov dword [eax], 0
add eax, 0x14
sub esi, 1
jne 0x47f683
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x14]
xor ebx, ebx
cmp dword [eax + 0xc], ebx
jle 0x47f703
mov edx, dword [esp + 0x14]
test byte [esi + 0x14], 6
jne 0x47f6f6
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and eax, dword [edx + 0x40]
and ecx, dword [edx + 0x44]
or eax, ecx
jne 0x47f6f6
mov edx, dword [esp + 0x54]
mov eax, dword [esi]
push 0x10
push edx
push eax
push edi
call fcn.00451fd0
mov edx, dword [esp + 0x24]
add esp, 0x10
or byte [esi + 0x14], 4
mov ecx, dword [esp + 0x30]
inc ebx
add esi, 0x30
cmp ebx, dword [ecx + 0xc]
jl 0x47f6c5
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret