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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x58c
lea eax, [esp + 0x4d8]
mov dword [esp + 8], 0xa8
mov dword [esp + 4], 0xafa6d0
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x5a0]
test ecx, ecx
jne 0x41fca3
xor ebx, ebx
add esp, 0x58c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x5a0]
lea eax, [esp + 0x584]
mov dword [esp + 0x584], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call fcn.00522870
test eax, eax
mov dword [esp + 0x64], eax
je 0x41fc94
lea ecx, [esp + 0xef]
add eax, 0x64
mov dword [esp + 0x40], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0x44], eax
lea ebx, [esp + 0xef]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], 0x3e8
jmp 0x41fd85
mov edi, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xa
add edi, eax
mov dword [esp], edi
call sub.msvcrt.dll_memchr
test eax, eax
mov esi, eax
je 0x41fd35
lea ebx, [eax + 1]
sub ebx, edi
test ebx, ebx
jle 0x41fd7a
cmp dword [esp + 0xac], 1
jle 0x41fd7a
mov eax, dword [esp + 0xac]
mov ebp, ebx
sub eax, 1
cmp ebx, eax
jle 0x41fd55
mov ebp, eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], ebp
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
sub dword [esp + 0xac], ebp
add dword [esp + 0xb0], ebp
mov edx, dword [esp + 0x64]
add dword [edx + 0x24], ebx
test esi, esi
jne 0x41fdb5
mov esi, dword [esp + 0x64]
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x28]
sub ebx, eax
test ebx, ebx
jg 0x41fd10
mov dword [esp], esi
call fcn.005280b0
test eax, eax
je 0x41fdb5
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x28]
sub ebx, eax
test ebx, ebx
jg 0x41fd10
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x48]
test edx, edx
je 0x41fdd1
mov ebx, dword [esp + 0x40]
cmp dword [esp + 0xb0], ebx
je 0x42016d
mov eax, dword [esp + 0xac]
test eax, eax
jle 0x41fde6
mov esi, dword [esp + 0xb0]
mov byte [esi], 0
lea ebp, [esp + 0x580]
lea eax, [esp + 0xef]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebp
mov dword [esp + 4], 0xaf9f1f
mov dword [esp], eax
call sub.msvcrt.dll_sscanf
cmp eax, 2
je 0x421087
lea edx, [esp + 0x580]
lea ecx, [esp + 0xef]
mov dword [esp + 8], edx
mov dword [esp + 4], 0xafa44b
mov dword [esp], ecx
call sub.msvcrt.dll_sscanf
sub eax, 1
je 0x421087
lea ebx, [esp + 0x580]
lea esi, [esp + 0xef]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xafa452
mov dword [esp], esi
call sub.msvcrt.dll_sscanf
cmp eax, 2
je 0x420eec
lea ebp, [esp + 0x580]
lea eax, [esp + 0xef]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebp
mov dword [esp + 4], 0xafa45b
mov dword [esp], eax
call sub.msvcrt.dll_sscanf
cmp eax, 8
je 0x420ee5
lea edx, [esp + 0x580]
lea ecx, [esp + 0xef]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov dword [esp + 4], 0xafa474
mov dword [esp], ecx
call sub.msvcrt.dll_sscanf
cmp eax, 0xa
je 0x420eda
lea ebx, [esp + 0x580]
lea esi, [esp + 0xef]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xafa49a
mov dword [esp], esi
call sub.msvcrt.dll_sscanf
cmp eax, 4
je 0x420ed3
lea ebp, [esp + 0xef]
mov dword [esp + 4], 0xafa4a9
mov dword [esp], ebp
call sub.msvcrt.dll_strstr
test eax, eax
jne 0x420ec9
lea eax, [esp + 0x580]
lea edx, [esp + 0xef]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0xafa4b0
mov dword [esp], edx
call sub.msvcrt.dll_sscanf
cmp eax, 8
je 0x420177
lea ecx, [esp + 0x580]
lea ebx, [esp + 0xef]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0xafa4c8
mov dword [esp], ebx
call sub.msvcrt.dll_sscanf
cmp eax, 2
je 0x420177
lea esi, [esp + 0x580]
lea ebp, [esp + 0xef]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp + 4], 0xafa4d0
mov dword [esp], ebp
call sub.msvcrt.dll_sscanf
cmp eax, 3
je 0x420e80
lea eax, [esp + 0x580]
lea edx, [esp + 0xef]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0xafa4da
mov dword [esp], edx
call sub.msvcrt.dll_sscanf
cmp eax, 3
je 0x420e80
cmp byte [esp + 0xef], 0x3c
je 0x420e95
mov esi, dword [esp + 0x40]
mov edi, 0xafa4e4
mov ecx, 0x10
cld
repe cmpsb byte [esi], byte es:[edi]
je 0x420e76
mov esi, dword [esp + 0x40]
mov edi, 0xafa4f5
mov ecx, 0xa
repe cmpsb byte [esi], byte es:[edi]
je 0x420e76
lea ecx, [esp + 0x580]
lea ebx, [esp + 0xef]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0xafa500
mov dword [esp], ebx
call sub.msvcrt.dll_sscanf
cmp eax, 3
je 0x420e8a
lea esi, [esp + 0x580]
lea ebp, [esp + 0xef]
mov dword [esp + 8], esi
mov dword [esp + 4], 0xafa50a
mov dword [esp], ebp
call sub.msvcrt.dll_sscanf
cmp eax, 1
je 0x420ec5
lea eax, [esp + 0x58b]
mov dword [esp + 8], eax
lea eax, [esp + 0xef]
mov dword [esp + 4], 0xafa514
mov dword [esp], eax
call sub.msvcrt.dll_sscanf
cmp eax, 1
jne 0x420105
cmp byte [esp + 0x58b], 0x45
je 0x420ef5
lea edx, [esp + 0xef]
mov dword [esp + 4], 0xafa521
mov dword [esp], edx
call sub.msvcrt.dll_strstr
test eax, eax
jne 0x420ea9
lea ecx, [esp + 0x580]
lea ebx, [esp + 0xef]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0xafa440
mov dword [esp], ebx
call sub.msvcrt.dll_sscanf
cmp eax, 3
je 0x420e9f
add dword [esp + 0xa8], 1
cmp dword [esp + 0xa8], 0x64
jne 0x41fcf5
mov eax, 0xffffffff
jmp 0x420eae
mov eax, 0xc
mov dword [0xad1eb0], eax
mov edx, 0x42c80000
mov dword [esp + 0x78], 1
cmp eax, 0xffffffff
mov dword [0xad1eb4], edx
je 0x420606
lea eax, [eax + eax*2]
lea eax, [esp + eax*4 + 0x4d8]
mov dword [esp + 0x80], eax
mov eax, dword [eax + 8]
mov dword [esp + 8], 0xafa550
mov dword [esp + 4], 4
mov dword [esp], 0x24
mov dword [esp + 0xc], eax
call fcn.00405fb0
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
call fcn.00528c60
mov eax, dword [esp + 0x64]
mov ebx, dword [eax + 0x34]
mov ecx, dword [eax + 0x30]
cmp ebx, 0
jl 0x420632
jle 0x420629
mov esi, dword [esp + 0x64]
xor edx, edx
mov eax, dword [esi + 0x28]
sub eax, ecx
sbb edx, ebx
test edx, edx
js 0x420632
mov dword [esi + 0x24], eax
mov dword [esp], 0x1500
call sub.msvcrt.dll_malloc
test eax, eax
je 0x41fc94
mov dword [esp + 0x70], eax
mov dword [esp], 0xa8
call sub.msvcrt.dll_malloc
mov dword [esp + 0x7c], 0
mov dword [esp + 0x68], 0x20
mov dword [0xf6c730], 0
mov dword [esp + 0xc0], 0
mov edi, eax
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x68], eax
jle 0x4203ca
mov dword [esp], edi
mov dword [esp + 8], 0xa8
mov dword [esp + 4], 0
call sub.msvcrt.dll_memset
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], edi
mov dword [esp], ecx
call dword [ebx]
test eax, eax
mov edi, eax
je 0x42050e
cmp eax, 0xffffffff
je 0x4204ef
mov eax, dword [0xc106b0]
test eax, eax
jne 0x4202c2
mov ebp, dword [esp + 0x80]
mov eax, dword [ebp + 4]
test eax, eax
je 0x4202c2
mov dword [esp], edi
call eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4203f0
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0xc0]
sub eax, 0xa8
mov dword [esp + 0x5c], eax
mov eax, dword [edx + eax + 4]
cmp eax, dword [edi + 4]
jbe 0x4203f0
mov ebp, dword [esp + 0x7c]
sub ebp, 1
cmp ebp, 0xffffffff
je 0x4203ac
mov eax, dword [esp + 0xc0]
mov ebx, dword [esp + 0x70]
add ebx, dword [esp + 0xc0]
sub eax, 0xa8
mov dword [esp + 0xbc], eax
mov eax, dword [ebx - 0xa4]
xor edx, edx
lea esi, [ebx - 0xa8]
mov dword [ebx + 4], eax
mov eax, dword [ebx - 0xa0]
mov dword [ebx + 8], eax
mov eax, dword [ebx - 0xa8]
mov dword [ebx], eax
movzx eax, byte [ebx - 8]
mov byte [ebx + 0xa0], al
mov dword [esp + 0x584], 0
mov eax, dword [ebx - 0xa8]
test eax, eax
jle 0x42037c
xor ecx, ecx
mov eax, dword [esi + ecx*4 + 0xc]
mov dword [ebx + ecx*4 + 0xc], eax
lea ecx, [edx + 1]
mov dword [esp + 0x584], ecx
mov edx, ecx
cmp dword [ebx - 0xa8], ecx
jg 0x420360
test ebp, ebp
je 0x420473
mov eax, dword [ebx - 0x14c]
cmp eax, dword [edi + 4]
jbe 0x420473
sub ebp, 1
mov ebx, esi
sub dword [esp + 0xbc], 0xa8
cmp ebp, 0xffffffff
jne 0x42031d
add dword [esp + 0x7c], 1
mov eax, dword [esp + 0x7c]
add dword [esp + 0xc0], 0xa8
cmp dword [esp + 0x68], eax
jg 0x420267
add dword [esp + 0x68], 0x10
imul eax, dword [esp + 0x68], 0xa8
mov edx, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll_realloc
mov dword [esp + 0x70], eax
jmp 0x420267
mov ebx, dword [esp + 0x70]
xor edx, edx
mov eax, dword [edi + 4]
add ebx, dword [esp + 0xc0]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi]
mov dword [ebx], eax
movzx eax, byte [edi + 0xa0]
mov byte [ebx + 0xa0], al
mov dword [esp + 0x584], 0
mov eax, dword [edi]
test eax, eax
jle 0x420445
xor ecx, ecx
mov eax, dword [edi + ecx*4 + 0xc]
mov dword [ebx + ecx*4 + 0xc], eax
lea ecx, [edx + 1]
mov dword [esp + 0x584], ecx
mov edx, ecx
cmp dword [edi], ecx
jg 0x42042d
mov eax, dword [0xf6c730]
test eax, eax
je 0x4203ac
mov ebx, dword [esp + 0xc0]
mov esi, dword [esp + 0x70]
mov dword [ebx + esi - 0xa0], eax
mov dword [0xf6c730], 0
jmp 0x4203ac
mov eax, dword [edi + 4]
xor edx, edx
xor ecx, ecx
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi]
mov dword [esi], eax
movzx eax, byte [edi + 0xa0]
mov byte [esi + 0xa0], al
mov dword [esp + 0x584], 0
mov eax, dword [edi + ecx*4 + 0xc]
mov dword [esi + ecx*4 + 0xc], eax
lea ecx, [edx + 1]
cmp ecx, 0xb
mov edx, ecx
mov dword [esp + 0x584], ecx
jle 0x42049f
mov ecx, dword [0xf6c730]
test ecx, ecx
je 0x4203ac
mov eax, dword [esp + 0xbc]
add eax, dword [esp + 0x5c]
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov edx, dword [0xf6c730]
mov dword [eax + 8], edx
mov dword [0xf6c730], 0
jmp 0x4203ac
mov eax, dword [esp + 0x70]
test eax, eax
je 0x41fc94
mov esi, dword [esp + 0x70]
xor ebx, ebx
mov dword [esp], esi
call sub.msvcrt.dll_free
jmp 0x41fc96
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc4], edx
mov dword [esp], ecx
call fcn.00528cd0
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], 0xafa578
mov dword [esp + 4], 4
mov dword [esp], 0x24
mov dword [esp + 0xc], ebx
call fcn.00405fb0
mov dword [esp + 8], 0xafa58f
mov dword [esp + 4], 4
mov dword [esp], 0x24
call fcn.00405fb0
test ebx, ebx
jle 0x4204fb
mov eax, dword [0xaa7044]
cmp eax, 2
je 0x420653
test eax, eax
je 0x420592
mov eax, dword [0xad1eb0]
cmp eax, 0xc
je 0x420653
cmp eax, 6
je 0x420653
mov eax, dword [esp + 0x78]
mov edx, 1
mov ecx, dword [esp + 0x7c]
fld dword [esp + 0x5a4]
fstp dword [esp + 4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp], 0x40c00000
call fcn.0041b7a0
mov esi, dword [esp + 0x70]
test esi, esi
je 0x41fc94
mov dword [esp], 0x14
call sub.msvcrt.dll_malloc
mov ebx, eax
mov eax, dword [esp + 0x5a0]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [ebx + 0x10], 0
mov dword [ebx], esi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
mov dword [ebx + 4], eax
jmp 0x41fc96
mov dword [esp + 8], 0xafa528
xor ebx, ebx
mov dword [esp + 4], 2
mov dword [esp], 0x24
call fcn.00405fb0
jmp 0x41fc96
cmp ecx, 0
ja 0x4201f6
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], ebp
call fcn.005284e0
jmp 0x42020e
mov ebp, dword [esp + 0x78]
xor edx, edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
fld dword [esp + 0x5a4]
mov dword [esp + 8], ebp
fstp dword [esp + 4]
mov dword [esp], 0x40c00000
call fcn.0041b7a0
mov eax, dword [esp + 0x70]
mov dword [esp + 0xdc], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0xcc], 0
add eax, 0xa8
mov dword [esp + 0x48], eax
imul edx, dword [esp + 0xdc], 0xa8
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0xdc]
add ecx, edx
mov ebx, dword [ecx + 8]
add eax, 1
mov ebp, dword [ecx]
cmp dword [esp + 0xc4], eax
mov dword [esp + 0x58], ecx
mov esi, dword [ecx + 4]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x90], ebp
jle 0x420e32
mov ecx, dword [esp + 0x48]
cmp ebx, dword [edx + ecx + 4]
jbe 0x420e32
mov ebx, ecx
mov ecx, eax
imul eax, eax, 0xa8
mov dword [esp + 0x94], 0
lea edx, [eax + ebx + 4]
jmp 0x420723
mov eax, dword [edx]
add edx, 0xa8
cmp eax, dword [esp + 0x84]
jae 0x42076e
mov eax, dword [edx - 0xa8]
mov ebp, dword [edx - 0xac]
add dword [esp + 0x94], 1
add dword [esp + 0x90], ebp
cmp esi, eax
mov dword [esp + 0x6c], ecx
jbe 0x420748
mov esi, eax
mov eax, dword [edx - 0xa4]
cmp dword [esp + 0x84], eax
jae 0x42075e
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x6c]
add ecx, 1
cmp ecx, dword [esp + 0xc4]
jl 0x420712
mov eax, dword [esp + 0x94]
lea eax, [eax + eax + 1]
mov dword [esp + 0xe4], eax
shl eax, 2
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [esp + 0x584], 0
mov dword [esp + 0x98], eax
mov edi, dword [esp + 0x90]
xor ebx, ebx
shl edi, 2
mov dword [esp], edi
call sub.msvcrt.dll_malloc
mov edx, dword [esp + 0x98]
mov dword [edx + ebx*4], eax
mov edx, dword [esp + 0x90]
test edx, edx
jle 0x4207ed
mov ecx, dword [esp + 0x98]
xor edx, edx
nop
mov eax, dword [esp + 0x584]
mov eax, dword [ecx + eax*4]
mov dword [eax + edx*4], 0xffffffff
add edx, 1
cmp edx, dword [esp + 0x90]
jne 0x4207d0
mov ebx, dword [esp + 0x584]
add ebx, 1
cmp ebx, dword [esp + 0xe4]
mov dword [esp + 0x584], ebx
jl 0x4207a9
mov ebx, dword [esp + 0x90]
sub esi, 1
mov dword [esp + 0x8c], esi
cmp ebx, 0xc
mov dword [esp + 0xe0], ebx
jle 0x42082f
mov dword [esp + 0xe0], 0xc
mov eax, dword [esp + 0xcc]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x90]
imul esi, dword [esp + 0xcc], 0xa8
add eax, 1
mov ebp, dword [esp + 0xcc]
imul eax, eax, 0xa8
add edx, 4
add ecx, 1
mov dword [esp + 0xb8], esi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x50], edx
add eax, 1
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ecx
mov ebx, dword [esp + 0x8c]
mov eax, dword [esp + 0x94]
add ebx, 1
test eax, eax
mov dword [esp + 0x88], ebx
js 0x4209f6
mov ebp, dword [esp + 0x50]
xor ecx, ecx
mov eax, dword [esp + 0x84]
mov edx, ebp
mov dword [esp + 0xe8], ebp
mov dword [esp + 0x8c], eax
jmp 0x4208fe
cmp dword [esp + 0x8c], eax
jbe 0x42090c
mov dword [esp + 0x8c], eax
add ecx, 1
add edx, 0xa8
cmp ecx, dword [esp + 0x54]
je 0x420930
mov eax, dword [edx]
sub eax, 1
cmp dword [esp + 0x88], eax
jb 0x4208df
mov eax, dword [edx + 4]
cmp dword [esp + 0x88], eax
jae 0x4208ef
cmp dword [esp + 0x8c], eax
ja 0x4208e8
add ecx, 1
add edx, 0xa8
cmp ecx, dword [esp + 0x54]
jne 0x4208fe
mov dword [esp + 0xd4], 0
nop
lea esi, [esi]
mov edx, dword [esp + 0xe8]
mov edi, dword [esp + 0xd4]
mov ecx, dword [esp + 0x8c]
add edi, dword [esp + 0xdc]
cmp ecx, dword [edx]
jb 0x420f50
mov ebx, dword [esp + 0x88]
cmp ebx, dword [edx + 4]
jae 0x420f50
mov eax, dword [esp + 0xa0]
mov esi, dword [edx - 4]
test eax, eax
je 0x420f86
mov eax, dword [esp + 0x90]
mov dword [esp + 0x584], 0
test eax, eax
jle 0x42104b
mov ebp, dword [esp + 0xa0]
xor ebx, ebx
xor eax, eax
mov edx, dword [esp + 0x98]
mov ecx, dword [edx + ebp*4 - 4]
jmp 0x4209d6
mov eax, dword [esp + 0x584]
add eax, 1
cmp eax, dword [esp + 0x90]
mov dword [esp + 0x584], eax
jge 0x421025
cmp edi, dword [ecx + eax*4]
jne 0x4209b8
mov ebp, dword [esp + 0xa0]
mov edx, dword [esp + 0x98]
mov ebx, dword [edx + ebp*4]
mov dword [ebx + eax*4], edi
mov ebx, 1
jmp 0x4209b8
mov ebx, dword [esp + 0x9c]
mov esi, dword [esp + 0x84]
add ebx, 1
mov dword [esp + 0x8c], esi
cmp ebx, dword [esp + 0x90]
jge 0x420a55
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
mov eax, dword [ecx + edx*4]
lea edx, [ebx + 1]
cmp dword [eax + ebx*4], 0xffffffff
lea ecx, [eax + edx*4]
jne 0x420a45
jmp 0x420a55
mov eax, dword [ecx]
add ecx, 4
add eax, 1
je 0x420a4e
mov ebx, edx
lea edx, [edx + 1]
cmp edx, dword [esp + 0x90]
jne 0x420a36
mov dword [esp + 0x9c], ebx
cmp dword [esp + 0x9c], 0xb
jg 0x420cce
mov ebx, dword [esp + 0xb4]
mov esi, dword [esp + 0x74]
add dword [esp + 0x7c], 1
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.msvcrt.dll_realloc
mov ebp, dword [esp + 0xb8]
mov dword [esp + 8], 0xa8
mov dword [esp + 4], 0
add ebp, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x60], ebp
mov dword [esp], ebp
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x8c]
mov dword [ebp + 4], eax
movzx eax, byte [ecx + 0xa0]
mov dword [ebp + 8], edx
mov byte [ebp + 0xa0], al
mov edi, dword [esp + 0xe0]
mov dword [esp + 0x584], 0
test edi, edi
jle 0x420bab
mov dword [esp + 0xd0], 0
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp + 0x98]
mov ebp, dword [esp + 0xd0]
mov eax, dword [esi + ebx*4]
shl ebp, 2
mov edx, dword [eax + ebp]
cmp edx, 0xffffffff
je 0x420ca4
imul eax, edx, 0xa8
mov ecx, dword [esp + 0x70]
mov edi, dword [eax + ecx]
test edi, edi
jle 0x420b7d
xor esi, esi
jmp 0x420b44
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x98]
mov eax, dword [ebx + ecx*4]
mov edx, dword [eax + ebp]
mov ecx, dword [esp + 0x70]
imul edx, edx, 0xa8
mov ebx, dword [esp + 0x584]
lea eax, [ecx + esi*4]
add esi, 1
mov eax, dword [eax + edx + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov edx, dword [esp + 0x60]
cmp esi, edi
mov dword [edx + ebx*4 + 0xc], eax
lea edx, [ebx + 1]
mov dword [esp + 0x584], edx
jne 0x420b30
mov esi, dword [esp + 0xd0]
lea esi, [esi + edi - 1]
mov dword [esp + 0xd0], esi
add dword [esp + 0xd0], 1
mov eax, dword [esp + 0xd0]
cmp dword [esp + 0xe0], eax
jg 0x420af2
mov edx, dword [esp + 0x8c]
add dword [esp + 0xa0], 1
add dword [esp + 0xb4], 0xa8
add dword [esp + 0xb8], 0xa8
cmp dword [esp + 0x84], edx
ja 0x4208a0
mov ecx, dword [esp + 0x9c]
xor eax, eax
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x584], 0
add ecx, 1
add eax, dword [esp + 0xcc]
imul eax, eax, 0xa8
mov dword [eax + ebx], ecx
mov eax, dword [esp + 0x584]
add eax, 1
cmp dword [esp + 0xa0], eax
mov dword [esp + 0x584], eax
jg 0x420bf8
mov esi, dword [esp + 0xe4]
mov dword [esp + 0x584], 0
test esi, esi
jle 0x420c66
xor eax, eax
mov esi, dword [esp + 0x98]
mov eax, dword [esi + eax*4]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x584]
add eax, 1
cmp dword [esp + 0xe4], eax
mov dword [esp + 0x584], eax
jg 0x420c3a
mov ebp, dword [esp + 0x98]
mov dword [esp], ebp
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x54]
add dword [esp + 0xdc], eax
mov edx, dword [esp + 0xdc]
cmp dword [esp + 0xc4], edx
jle 0x420dc2
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xcc], ecx
jmp 0x4206a7
mov ebx, dword [esp + 0x584]
mov dword [esp], 0xafa5dc
call sub.msvcrt.dll__strdup
mov ebp, dword [esp + 0x60]
lea edx, [ebx + 1]
mov dword [esp + 0x584], edx
mov dword [ebp + ebx*4 + 0xc], eax
jmp 0x420b8f
mov ebx, dword [esp + 0x7c]
add ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x74]
imul eax, ebx, 0xa8
mov dword [esp + 0xc8], ebx
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_realloc
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x94]
test eax, eax
js 0x420da7
imul eax, dword [esp + 0x7c], 0xa8
mov ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x58]
mov dword [esp + 0xd8], 0
lea esi, [eax + ebp]
add edi, 4
mov dword [esp + 8], 0xa8
lea ebp, [edi - 4]
mov dword [esp + 4], 0
mov dword [esp], esi
call sub.msvcrt.dll_memset
mov eax, dword [edi]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
mov dword [esi + 8], eax
mov eax, dword [edi - 4]
mov dword [esi], eax
movzx eax, byte [edi + 0x9c]
mov byte [esi + 0xa0], al
mov eax, dword [esi]
test eax, eax
jle 0x420d83
mov ebx, 1
mov eax, dword [ebp + ebx*4 + 8]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [esi + ebx*4 + 8], eax
mov eax, ebx
add ebx, 1
cmp eax, dword [esi]
jl 0x420d6a
add dword [esp + 0xd8], 1
add esi, 0xa8
mov eax, dword [esp + 0xd8]
add edi, 0xa8
cmp dword [esp + 0x94], eax
jge 0x420d27
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xdc], edx
mov dword [esp + 0x7c], ecx
jmp 0x420c22
mov ebx, dword [esp + 0xc4]
sub ebx, 1
js 0x420e1d
mov esi, dword [esp + 0x70]
imul eax, dword [esp + 0xc4], 0xa8
lea ebx, [esi + eax - 0xa8]
xor esi, esi
mov eax, dword [ebx]
jmp 0x420dfd
mov eax, dword [ebx + eax*4 + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x584]
sub eax, 1
test eax, eax
mov dword [esp + 0x584], eax
jns 0x420dea
add esi, 1
sub ebx, 0xa8
cmp esi, dword [esp + 0xc4]
jne 0x420de6
mov ebp, dword [esp + 0x70]
mov dword [esp], ebp
call sub.msvcrt.dll_free
mov esi, dword [esp + 0x74]
jmp 0x4205c2
mov dword [esp], 4
call sub.msvcrt.dll_malloc
mov ebx, dword [esp + 0xdc]
mov dword [esp + 0x584], 0
mov dword [esp + 0xe4], 1
mov dword [esp + 0x94], 0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x98], eax
jmp 0x42079d
mov eax, 6
jmp 0x42017c
mov eax, 4
jmp 0x42017c
mov al, 7
lea esi, [esi]
jmp 0x42017c
mov eax, 5
jmp 0x42017c
mov eax, 0xb
jmp 0x42017c
mov eax, 9
mov edx, 0x3f800000
mov dword [0xad1eb0], eax
mov dword [esp + 0x78], 0
jmp 0x42018e
mov al, 8
jmp 0x420eae
mov eax, 3
jmp 0x42017c
mov al, 0xa
jmp 0x42017c
mov al, 2
lea esi, [esi]
jmp 0x42017c
mov al, 1
jmp 0x42017c
mov al, 0xd
nop
jmp 0x42017c
mov al, 8
jmp 0x42017c
test eax, eax
je 0x420f1b
cmp eax, esi
jb 0x420f1b
cmp eax, dword [esp + 0x3c]
lea esi, [esi]
jae 0x420f1b
sub edx, eax
mov dword [esp + 0xa4], edx
cmp dword [esp + 0xa4], 0xffffffff
je 0x421056
test esi, esi
je 0x420f50
mov eax, dword [esp + 0xa4]
xor edx, edx
shl eax, 2
lea esi, [esi]
add edx, 1
mov dword [eax + ebx], edi
add eax, 4
cmp edx, esi
jne 0x420f40
lea esi, [esi]
add dword [esp + 0xd4], 1
mov eax, dword [esp + 0xd4]
add dword [esp + 0xe8], 0xa8
cmp dword [esp + 0x94], eax
jge 0x420940
mov ebx, dword [esp + 0x9c]
add ebx, 1
jmp 0x420a0e
mov eax, dword [esp + 0x90]
mov dword [esp + 0x584], 0
test eax, eax
jle 0x421056
mov ebp, dword [esp + 0xa0]
xor eax, eax
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xa4], 0xffffffff
mov ebx, dword [edx + ebp*4]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
jmp 0x421009
cmp eax, esi
jbe 0x421017
cmp eax, dword [esp + 0x3c]
jae 0x421017
mov ebp, ecx
sub ebp, eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0xa4], ebp
nop
lea esi, [esi]
add ecx, 1
cmp ecx, dword [esp + 0x90]
mov edx, ecx
mov dword [esp + 0x584], ecx
je 0x420f00
cmp dword [ebx + ecx*4], 0xffffffff
je 0x421020
cmp eax, esi
je 0x42103d
test eax, eax
jne 0x420fd0
xor eax, eax
jmp 0x420ff0
add eax, 1
jmp 0x420ff0
test bl, bl
jne 0x420f50
mov dword [esp + 0x584], 0
jmp 0x420fa0
sub ecx, esi
mov dword [esp + 0xa4], ecx
jmp 0x420f1b
mov dword [esp + 0x584], 0
mov dword [esp + 8], 0xafa594
mov ebx, 0xe
mov dword [esp + 4], 2
mov dword [esp], 0x24
call fcn.00405fb0
mov dword [esp + 0x9c], 0xd
jmp 0x420a0e
xor eax, eax
jmp 0x420eae