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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 0x34], edx
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x10], ecx
mov dl, byte [ecx]
mov ecx, dword [ecx + 4]
mov byte [esp + 0x17], dl
movzx edx, dl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], 0
push edi
mov edi, dword [ebx + 8]
mov dword [esp + 0x30], edi
test esi, esi
je 0x479e03
movzx ecx, byte [esi + 1]
jmp 0x479e05
xor ecx, ecx
mov dword [esp + 0x40], ecx
test eax, eax
je 0x479e1a
cmp dword [eax], 0
jne 0x479e74
mov dword [esp + 0x34], 0
test ecx, ecx
jne 0x479e74
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + 0xc]
test edx, edx
jle 0x479e74
mov ecx, dword [edi + 0x74]
mov esi, dword [ebp + 0x18]
cmp dword [edi + 0x78], ecx
jg 0x479e49
push 1
push esi
push edx
mov edx, 0x31
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
jmp 0x479e74
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x1c]
mov edx, dword [esp + 0x14]
mov esi, dword [eax]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x20], esi
test eax, eax
jne 0x479eb9
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x479ead
mov eax, dword [ecx]
test byte [ecx + 0x20], 1
mov eax, dword [eax]
lea edx, [eax + 1]
cmovne edx, eax
add dword [ebx + 0x2c], edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [edx + 0xc], eax
add dword [ebx + 0x2c], esi
jmp 0x479ecc
mov ecx, dword [ebx + 0x2c]
add eax, esi
cmp eax, ecx
jle 0x479ec8
lea eax, [ecx + esi]
mov dword [ebx + 0x2c], eax
mov ecx, dword [esp + 0x34]
cmp dword [ebp + 8], 0
mov dword [edx + 0x10], esi
mov edx, dword [edx + 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], edx
jl 0x479f57
xor ecx, ecx
mov dword [esp + 0x38], ecx
test esi, esi
jle 0x47a091
mov ebx, edx
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x479f11
lea eax, [ecx + ebx]
mov edx, 0x5c
push eax
push ecx
push dword [ebp + 8]
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
jmp 0x479f41
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
add eax, ebx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x38], ecx
cmp ecx, esi
jl 0x479ef0
mov ebx, dword [esp + 0x28]
jmp 0x47a08d
mov ah, byte [esp + 0x1b]
cmp ah, 3
je 0x47a091
cmp ah, 0xa
je 0x479f77
cmp ah, 9
je 0x479f77
cmp ah, 0xd
je 0x479f77
xor al, al
jmp 0x479f79
mov al, 1
mov byte [esp + 0x38], al
test ecx, ecx
je 0x47a047
cmp dword [esp + 0x40], 0
jne 0x47a047
cmp ah, 0xc
je 0x47a047
cmp ah, 0xe
je 0x47a047
or al, 0xc
mov byte [esp + 0x38], al
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x48], eax
cmp eax, dword [ecx]
jge 0x479ffc
mov edi, dword [esp + 0x34]
mov ebx, eax
lea esi, [ebx + ebx*4]
shl esi, 2
movzx eax, word [esi + ecx + 0x18]
test eax, eax
je 0x479fe2
lea ecx, [eax + eax*4]
mov dx, bx
mov eax, dword [esp + 0x3c]
sub dx, word [edi + 4]
inc dx
mov eax, dword [eax + 0x1c]
mov word [eax + ecx*4 + 4], dx
mov ecx, dword [edi]
inc ebx
add esi, 0x14
cmp ebx, dword [ecx]
jl 0x479fc1
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
test eax, eax
jle 0x47a043
mov edx, dword [esp + 0x1c]
lea edi, [ecx + 0x18]
mov ebx, eax
movzx ecx, word [edi]
lea edi, [edi + 0x14]
xor eax, eax
test cx, cx
cmove eax, edx
mov edx, eax
lea eax, [esi - 1]
cmove eax, esi
mov esi, eax
sub ebx, 1
jne 0x47a012
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov al, byte [esp + 0x38]
mov dword [esp + 0x4c], edx
mov byte [esp + 0x50], al
cmp dword [esi + 8], 0
je 0x47a079
test al, 8
je 0x47a079
cmp dword [esp + 0x24], 0
jle 0x47a079
lea eax, [esp + 0x4c]
mov dword [esp + 0x1c], 0
mov dword [ecx + 0x24], eax
jmp 0x47a091
push dword [esp + 0x38]
mov ecx, ebx
push 0
push edx
mov edx, dword [esi + 0x1c]
call fcn.0044ab80
add esp, 0xc
mov edx, dword [esp + 0xc]
cmp dword [esp + 0x40], 0
je 0x47a0f9
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
push edx
push dword [ecx + 0x1c]
movzx esi, byte [eax + 1]
mov ecx, ebx
push dword [ebp + 0x18]
mov edx, esi
push dword [eax + 4]
call fcn.004798f0
mov ecx, dword [esp + 0x54]
mov edx, esi
push dword [ecx + 8]
mov ecx, ebx
push eax
call fcn.00479ca0
mov eax, dword [esp + 0x4c]
add esp, 0x18
mov edx, dword [esp + 0x3c]
test eax, eax
jne 0x47a101
mov esi, dword [edx + 0xc]
test esi, esi
jle 0x47a101
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x47a116
push 1
push dword [ebp + 0x18]
lea edx, [eax + 0x31]
mov ecx, edi
push esi
call fcn.0042a9a0
add esp, 0xc
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
dec ecx
cmp ecx, 0xe
ja case.0x47a10f.4
jmp dword [ecx*4 + 0x47ae9c]
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x47a0fd
mov al, byte [ebx + 0x13]
test al, al
jne 0x47a159
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
jmp 0x47a168
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x98]
mov ecx, dword [edi + 0x74]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x78], ecx
jg 0x47a193
push eax
push esi
push dword [esp + 0x14]
mov edx, 0x5f
mov ecx, edi
call fcn.0042a9a0
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x47a1c6
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov edx, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x74], eax
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x5f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x2c], ecx
cmp dword [edi + 0x78], ecx
jg 0x47a1ee
push edx
push dword [esp + 0x20]
mov edx, 0x88
mov ecx, edi
push dword [esp + 0x18]
call fcn.0042a9a0
add esp, 0xc
mov ecx, eax
jmp 0x47a225
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x88
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
jne 0x47a23c
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], esi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je case.0x47a10f.4
mov al, byte [ebx + 0x13]
cmp al, 8
jae case.0x47a10f.4
movzx eax, al
mov dword [ebx + eax*4 + 0x98], ecx
inc byte [ebx + 0x13]
jmp case.0x47a10f.4
mov ecx, dword [edi + 0x74]
mov esi, dword [esp + 0x20]
cmp dword [edi + 0x78], ecx
jg 0x47a28e
push esi
push dword [esp + 0x10]
mov edx, 0x8a
mov ecx, edi
push dword [esp + 0x18]
call fcn.0042a9a0
add esp, 0xc
jmp case.0x47a10f.4
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x8a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp case.0x47a10f.4
mov edx, dword [esp + 0x24]
inc edx
cmp edx, 1
jne 0x47a2f4
mov al, byte [ebx + 0x13]
test al, al
jne 0x47a2df
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x14], eax
jmp 0x47a31e
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x98]
mov dword [esp + 0x14], eax
jmp 0x47a31e
mov esi, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x14], ecx
cmp edx, esi
jg 0x47a30f
lea eax, [edx + ecx]
sub esi, edx
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], esi
jmp 0x47a31e
mov eax, dword [ebx + 0x2c]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x14], ecx
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x24]
mov ecx, dword [edi + 0x74]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x78], ecx
jg 0x47a34d
push eax
push esi
push dword [esp + 0x14]
mov edx, 0x5f
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47a37c
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x5f
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x1b], 5
jne 0x47a48b
mov ecx, dword [edi + 0x74]
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x2c], ecx
lea eax, [ecx + 4]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x78], ecx
jg 0x47a3bc
push dword [esp + 0x14]
mov ecx, edi
push eax
push edx
mov edx, 0x1f
call fcn.0042a9a0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, eax
jmp 0x47a3f3
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
jne 0x47a40e
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x2c], ecx
cmp dword [edi + 0x78], ecx
jg 0x47a438
push dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, edi
push edx
inc eax
mov edx, 0x88
push eax
call fcn.0042a9a0
add esp, 0xc
mov ecx, eax
jmp 0x47a474
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x74], eax
inc ebx
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x88
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
jne 0x47a48b
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], esi
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x47a4ba
mov eax, dword [esp + 0x24]
mov edx, ecx
mov esi, dword [esp + 0x14]
mov ecx, ebx
push eax
push 1
push dword [esp + 0x24]
add eax, esi
push eax
push dword [esp + 0x4c]
call fcn.00478f30
add esp, 0x14
jmp 0x47a5b5
mov al, byte [ebx + 0x13]
test al, al
jne 0x47a4c9
inc dword [ebx + 0x2c]
mov edx, dword [ebx + 0x2c]
jmp 0x47a4d8
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov edx, dword [ebx + eax*4 + 0x98]
mov ecx, dword [edi + 0x74]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x40], edx
cmp dword [edi + 0x78], ecx
jg 0x47a501
push 0
push edx
push esi
mov edx, 0x7d
mov ecx, edi
call fcn.0042a9a0
mov edx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x47a52c
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x7d
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x47a553
mov esi, dword [esp + 0x14]
mov ecx, edi
push edx
push esi
push dword [esp + 0x18]
mov edx, 0x7e
call fcn.0042a9a0
mov edx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x47a582
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x74]
test eax, eax
jle 0x47a59d
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
mov edi, 8
mov word [eax + ecx*4 - 0x12], di
mov edi, dword [esp + 0x30]
test edx, edx
je 0x47a5b5
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x47a5b5
movzx eax, al
mov dword [ebx + eax*4 + 0x98], edx
inc byte [ebx + 0x13]
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 1
jne 0x47a5e4
test esi, esi
je case.0x47a10f.4
mov al, byte [ebx + 0x13]
cmp al, 8
jae case.0x47a10f.4
movzx eax, al
mov dword [ebx + eax*4 + 0x98], esi
inc byte [ebx + 0x13]
jmp case.0x47a10f.4
cmp eax, dword [ebx + 0x1c]
jle case.0x47a10f.4
mov dword [ebx + 0x20], esi
jmp 0x47ae16
test eax, eax
jne 0x47a8fb
mov ecx, dword [esp + 0x14]
mov al, byte [ebx + 0x13]
mov esi, dword [ecx + 8]
mov dword [esp + 0x30], esi
test al, al
jne 0x47a617
inc dword [ebx + 0x2c]
mov ebx, dword [ebx + 0x2c]
jmp 0x47a626
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov ebx, dword [ebx + eax*4 + 0x98]
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x47a64c
push 0
push dword [ebp + 0x1c]
mov edx, 0x32
mov ecx, edi
push dword [esp + 0x14]
call fcn.0042a9a0
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x47a682
mov esi, dword [ebp + 0x1c]
lea eax, [ecx + 1]
mov edx, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x74], eax
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x74]
mov eax, esi
mov esi, dword [esp + 0x20]
shr eax, 0x1f
sub esi, eax
add eax, edx
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x78], ecx
jg 0x47a6af
push ebx
push esi
push eax
mov edx, 0x5f
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47a6da
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x5f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x30], 0
mov edx, dword [esp + 0xc]
mov esi, dword [edi + 0x74]
mov eax, dword [edi + 0x78]
jge 0x47a739
cmp eax, esi
jg 0x47a709
push edx
push ebx
push dword [esp + 0x18]
mov edx, 0x7e
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47ae20
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x47ae20
cmp eax, esi
jg 0x47a756
push edx
push ebx
push dword [esp + 0x18]
mov edx, 0x88
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
mov esi, eax
jmp 0x47a785
mov edx, dword [esp + 0x10]
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x88
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
jne 0x47ae20
mov eax, dword [edi + 0x70]
lea ecx, [esi + esi*4]
mov edx, dword [esp + 0x30]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x47ae20
test eax, eax
jne 0x47a8fb
mov al, byte [ebx + 0x13]
test al, al
jne 0x47a7c0
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
jmp 0x47a7cf
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x98]
mov ecx, dword [esp + 0x14]
mov edx, 0x5f
mov esi, dword [esp + 0x20]
push esi
mov dword [esp + 0x3c], eax
push dword [ecx + 0x14]
mov ecx, edi
push eax
push esi
push dword [esp + 0x1c]
call fcn.0042ace0
mov ecx, dword [edi + 0x74]
add esp, 0x14
mov dword [esp + 0x2c], ecx
cmp dword [edi + 0x78], ecx
jg 0x47a820
push dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov ecx, edi
push edx
push dword [esp + 0x18]
mov edx, 0x88
call fcn.0042a9a0
add esp, 0xc
mov ecx, eax
jmp 0x47a857
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x88
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
jne 0x47a86e
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], esi
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x47ae20
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x47ae20
movzx eax, al
mov dword [ebx + eax*4 + 0x98], ecx
inc byte [ebx + 0x13]
jmp 0x47ae20
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x47a8bb
push 0
push dword [esp + 0x14]
mov edx, 0x46
mov ecx, edi
push 1
call fcn.0042a9a0
add esp, 0xc
jmp case.0x47a10f.4
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp case.0x47a10f.4
test eax, eax
je 0x47ae20
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push ecx
push esi
push dword [esp + 0x24]
mov ecx, ebx
push dword [esp + 0x18]
push edx
mov edx, eax
call fcn.00478f30
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004bf1a3
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x47a8fb
cmp byte [esp + 0x1b], 0xd
jne 0x47a98f
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x47a95b
push eax
push eax
push edx
lea edx, [eax + 0xe]
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47ae20
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x47ae20
mov ecx, dword [edi + 0x74]
mov esi, dword [esp + 0x20]
cmp dword [edi + 0x78], ecx
jg 0x47a9b6
push 0
push esi
push dword [esp + 0x14]
mov edx, 0x52
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47ae20
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x52
mov dword [eax + ecx*4 + 8], esi
jmp 0x47a976
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], 0
mov eax, dword [ecx + 0x18]
mov cl, byte [ebx + 0x13]
mov dword [esp + 0x48], eax
mov edx, dword [eax]
mov dword [esp + 0x14], edx
test cl, cl
jne 0x47a9fb
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
jmp 0x47aa0a
dec cl
movzx eax, cl
mov byte [ebx + 0x13], cl
mov eax, dword [ebx + eax*4 + 0x98]
add edx, 2
mov dword [esp + 0x1c], eax
cmp edx, 1
jne 0x47aa3b
test cl, cl
jne 0x47aa26
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x24], eax
jmp 0x47aa65
dec cl
movzx eax, cl
mov byte [ebx + 0x13], cl
mov eax, dword [ebx + eax*4 + 0x98]
mov dword [esp + 0x24], eax
jmp 0x47aa65
mov esi, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x24], ecx
cmp edx, esi
jg 0x47aa56
lea eax, [edx + ecx]
sub esi, edx
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], esi
jmp 0x47aa65
mov eax, dword [ebx + 0x2c]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x24], ecx
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x24]
inc eax
add eax, dword [esp + 0x14]
cmp byte [esp + 0x1b], 6
mov dword [esp + 0x30], eax
jne 0x47ab0a
mov edx, dword [esp + 0x10]
mov esi, dword [edi + 0x74]
inc edx
mov dword [esp + 0x40], esi
cmp dword [edi + 0x78], esi
jg 0x47aaac
push dword [esp + 0xc]
mov ecx, edi
push 0
push edx
mov edx, 0x1f
call fcn.0042a9a0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x40], esi
jmp 0x47aadf
mov ebx, dword [esp + 0x28]
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
jne 0x47ab00
mov eax, dword [edi + 0x70]
lea ecx, [esi + esi*4]
mov esi, dword [esp + 0x20]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], esi
mov eax, dword [esp + 0x30]
jmp 0x47ab0e
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
jmp 0x47ab0e
mov esi, dword [esp + 0x20]
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x47ab32
push eax
push esi
mov esi, dword [esp + 0x14]
mov edx, 0x5f
push esi
mov ecx, edi
call fcn.0042a9a0
mov edx, dword [esp + 0x3c]
add esp, 0xc
jmp 0x47ab65
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x5f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x1b], 6
jne 0x47abdc
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x74]
inc eax
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x78], ecx
jg 0x47ab92
push 0
push edx
push eax
mov edx, 0x88
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47abc5
mov ebx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x88
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x74]
test eax, eax
jle 0x47abdc
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [edi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x47ac6f
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x24]
add eax, 0x18
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], ecx
nop dword [eax + eax]
movzx eax, word [eax]
lea edx, [esi - 1]
mov ecx, dword [edi + 0x74]
add edx, eax
cmp dword [edi + 0x78], ecx
jg 0x47ac25
push 0
push ebx
push edx
mov edx, 0x4f
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47ac54
mov esi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x44]
inc ebx
add eax, 0x14
sub dword [esp + 0x30], 1
mov dword [esp + 0x44], eax
jne 0x47ac00
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
lea esi, [edx + ecx]
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x47ac9a
push 0
push esi
push dword [esp + 0x18]
mov edx, 0x7c
mov ecx, edi
call fcn.0042a9a0
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x47accd
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x7c
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x74]
add esi, 2
cmp dword [edi + 0x78], ecx
jg 0x47acf7
push dword [esp + 0x1c]
mov ecx, edi
push esi
push edx
mov edx, 0x5f
call fcn.0042a9a0
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x47ad26
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x5f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [edi + 0x74]
cmp dword [edi + 0x78], esi
jg 0x47ad4e
push edx
push dword [esp + 0x20]
mov edx, 0x88
mov ecx, edi
push dword [esp + 0x18]
call fcn.0042a9a0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov esi, eax
jmp 0x47ad81
mov ebx, dword [esp + 0x10]
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x88
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
jne 0x47ada1
mov eax, dword [edi + 0x70]
lea ecx, [esi + esi*4]
mov byte [eax + ecx*4 + 1], 0xfd
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
add eax, 2
mov dword [ecx + 0x10], eax
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x47adcc
mov esi, dword [edi + 0x74]
jns 0x47adb1
lea ecx, [esi - 1]
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
je 0x47adc0
mov eax, 0x4edf68
jmp 0x47adc9
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], esi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x47ade8
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x47ade8
movzx eax, al
mov dword [ebx + eax*4 + 0x98], ecx
inc byte [ebx + 0x13]
mov eax, dword [esp + 0x14]
add eax, 2
cmp eax, 1
jne 0x47ae0e
test edx, edx
je case.0x47a10f.4
mov al, byte [ebx + 0x13]
cmp al, 8
jae case.0x47a10f.4
movzx eax, al
mov dword [ebx + eax*4 + 0x98], edx
inc byte [ebx + 0x13]
jmp case.0x47a10f.4
cmp eax, dword [ebx + 0x1c]
jle case.0x47a10f.4
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x1c], eax
cmp dword [esp + 0x34], 0
jne 0x47ae88
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 8]
test edx, edx
je 0x47ae88
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x47ae5a
push 0
push dword [ebp + 0x1c]
mov ecx, edi
push edx
mov edx, 0x3c
call fcn.0042a9a0
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004bf1a3
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x1c]
mov dword [eax + ecx*4], 0x3c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bf1a3
mov esp, ebp
pop ebp
ret