Function at 0x789e68
Capabilities:
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov dword [esp + 0x10], edx
test eax, eax
mov dword [esp + 0x30], ecx
sete al
test edx, edx
mov dword [esp + 0x74], 0
sete dl
mov dword [esp + 0x78], 0
or al, dl
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
jne 0x78a896
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call sub.msvcrt.dll_localeconv
mov eax, dword [eax]
mov dword [esp + 0x50], eax
call sub.msvcrt.dll_localeconv
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x7890ea
xor eax, eax
cmp byte [ecx], 0
cmovne eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
test al, al
je 0x78a7b0
mov edi, dword [esp + 0x30]
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x3c], edi
xor edi, edi
test al, al
js 0x789310
mov eax, dword [esp + 0x10]
movzx ebx, byte [eax]
lea esi, [eax + 1]
cmp bl, 0x25
je 0x789398
mov dword [esp], ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_isspace
test eax, eax
jne 0x789238
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x78]
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78a69f
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x789196
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_isspace
test eax, eax
jne 0x789560
cmp ebx, edi
je 0x789380
mov eax, dword [esp + 0x78]
lea ebx, [eax - 1]
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x789da0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ebx
mov eax, dword [ecx + 0x1008]
mov dword [ecx + eax*4 + 4], edi
add eax, 1
mov dword [ecx + 0x1008], eax
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x7891f1
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x7891e0
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x74], 0
test ebx, ebx
je 0x789215
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
mov dword [esp], eax
call fcn.00786dc0
mov dword [edi], 0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.00786dc0
mov eax, dword [esp + 0x2c]
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
test al, al
jne 0x78913b
mov ecx, dword [esp + 0x18]
lea edi, [esp + 0x78]
test ecx, ecx
je 0x7892b7
mov esi, dword [esp + 0x14]
lea esi, [esi]
nop
mov edx, edi
mov eax, esi
call fcn.00788f70
mov dword [esp], eax
mov ebx, eax
call sub.api_ms_win_crt_string_l1_1_0.dll_isspace
test eax, eax
jne 0x789268
cmp ebx, 0xffffffff
je 0x7892b7
mov eax, dword [esp + 0x78]
lea esi, [eax - 1]
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x78b752
mov edi, dword [esp + 0x14]
mov dword [esp + 0x78], esi
mov eax, dword [edi + 0x1008]
mov dword [edi + eax*4 + 4], ebx
add eax, 1
mov dword [edi + 0x1008], eax
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x80]
test ebx, ebx
je 0x7892e1
lea esi, [esi]
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x7892d0
mov edi, dword [esp + 0x24]
mov dword [esp + 0x74], 0
test edi, edi
je 0x789301
mov eax, dword [edi]
mov dword [esp], eax
call fcn.00786dc0
mov dword [edi], 0
mov dword [esp], esi
call fcn.00786dc0
jmp 0x789224
mov esi, dword [esp + 0x10]
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea edx, [esp + 0x90]
mov dword [esp], esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.00795480
test eax, eax
jle 0x789143
mov ebp, dword [esp + 0x10]
lea esi, [esp + 0x78]
lea ebx, [ebp + eax]
mov eax, dword [esp + 0x14]
mov edx, esi
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78a55c
movzx eax, byte [ebp]
add ebp, 1
cmp edi, eax
jne 0x78a55c
cmp ebp, ebx
jne 0x789347
mov dword [esp + 0x10], ebp
jmp 0x789244
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], esi
jmp 0x789244
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0
movzx edx, byte [eax + 1]
mov eax, edx
sub edx, 0x30
cmp edx, 9
jbe 0x7895d0
xor edx, edx
jmp 0x7893d9
cmp al, 0x27
jne 0x7893f0
mov ebx, dword [esp + 0x20]
mov ecx, edx
movzx eax, byte [esi + 1]
or ch, 1
test ebx, ebx
cmovne edx, ecx
add esi, 1
cmp al, 0x2a
jne 0x7893c0
movzx eax, byte [esi + 1]
or dl, 0x80
jmp 0x7893d6
cmp al, 0x49
jne 0x789498
movzx eax, byte [esi + 1]
cmp al, 0x36
je 0x789480
cmp al, 0x33
jne 0x789470
cmp byte [esi + 2], 0x32
je 0x7894a8
or edx, 4
add esi, 1
mov dword [esp + 0x28], edx
movzx edx, al
xor ebx, ebx
sub edx, 0x30
cmp edx, 9
ja 0x78a5c6
lea esi, [esi]
sub eax, 0x30
lea edx, [ebx + ebx*4]
add esi, 1
movsx eax, al
lea ebx, [eax + edx*2]
movzx edx, byte [esi]
mov eax, edx
sub edx, 0x30
cmp edx, 9
jbe 0x789430
test ebx, ebx
mov edx, 0xffffffff
cmove ebx, edx
test al, al
je 0x78a5d0
sub eax, 0x4c
cmp al, 0x2e
ja case.0x789468.1
movzx eax, al
jmp dword [eax*4 + 0xa91b20]
or edx, 4
jmp 0x7893d6
cmp byte [esi + 2], 0x34
jne 0x789412
movzx eax, byte [esi + 3]
or edx, 0xc
add esi, 2
jmp 0x7893d6
mov dword [esp + 0x28], edx
jmp 0x78941c
movzx eax, byte [esi + 3]
or edx, 4
add esi, 2
jmp 0x7893d6
mov dword [esp + 0x34], esi
movzx edx, byte [esi]
lea esi, [esi]
nop
test dl, dl
je 0x78b188
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x18]
add eax, 1
mov dword [esp + 0x10], eax
test ebp, ebp
jne 0x789cd8
mov eax, edx
and eax, 0xffffffdf
cmp al, 0x43
je 0x789690
cmp dl, 0x5b
je 0x789690
mov ecx, 5
cmp dl, 0x6e
jne 0x789cd8
mov eax, 1
shl eax, cl
test eax, 0x90c1
jne case.0x7896c2.51
cmp cl, 0xa
je 0x789a1b
cmp cl, 5
je 0x78a656
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x7891f1
lea esi, [esi]
nop
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x789548
jmp 0x7891f1
mov ebp, dword [esp + 0x14]
jmp 0x789580
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_isspace
test eax, eax
je 0x789196
lea edx, [esp + 0x78]
mov eax, ebp
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
jne 0x789570
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x789dc0
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x7891f1
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x7895b0
jmp 0x7891f1
mov ebx, dword [esp + 0x10]
movsx edx, al
lea ebp, [edx - 0x30]
movzx edx, byte [ebx + 2]
lea ecx, [ebx + 2]
mov dword [esp + 0x48], ebp
mov ebx, edx
sub edx, 0x30
cmp edx, 9
ja 0x78960b
nop
lea ebx, [ebp + ebp*4]
add ecx, 1
lea ebp, [edx + ebx*2]
movzx edx, byte [ecx]
mov ebx, edx
sub edx, 0x30
cmp edx, 9
jbe 0x7895f0
mov dword [esp + 0x48], ebp
cmp bl, 0x24
je 0x78a613
mov dword [esp + 0x48], 0
jmp 0x7893b6
lea eax, [esi + 1]
or dword [esp + 0x28], 4
movzx edx, byte [esi + 1]
mov dword [esp + 0x34], eax
jmp 0x7894d0
mov edx, edi
mov edi, ebx
mov ebx, dword [esp + 0x54]
mov byte [esp + 0x18], dl
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
cmp edi, 0xffffffff
movzx edx, byte [esp + 0x18]
mov dword [eax], esi
je 0x789690
mov eax, dword [esp + 0x78]
lea esi, [eax - 1]
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x78b0c8
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], esi
mov eax, dword [ecx + 0x1008]
mov dword [ecx + eax*4 + 4], edi
add eax, 1
mov dword [ecx + 0x1008], eax
lea esi, [esi]
lea esi, [esi]
cmp dl, 0x63
je 0x789b62
cmp dl, 0x73
je 0x789a10
cmp dl, 0x67
jg 0x78c04f
cmp dl, 0x24
jle case.0x7896c2.1
lea eax, [edx - 0x25]
cmp al, 0x42
ja case.0x7896c2.1
movzx eax, al
jmp dword [eax*4 + 0xa91bdc]
mov eax, dword [esp + 0x28]
mov edi, eax
and edi, 0x80
mov dword [esp + 0x18], edi
jne 0x789775
test ah, 6
je 0x789e36
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x78b11c
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], edi
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x78b871
mov dword [esp], 0xc8
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edi, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov dword [edi], eax
test eax, eax
je 0x78abc2
mov esi, dword [esp + 0x74]
test esi, esi
je 0x789743
mov edx, dword [esi]
mov eax, esi
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x78975f
mov dword [esp], 0x88
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov ecx, 1
xor edx, edx
mov dword [eax], 0
mov dword [eax + 4], esi
mov edi, dword [esp + 0x24]
mov dword [eax], ecx
mov dword [esp + 0x74], eax
mov dword [eax + edx*4 + 8], edi
mov dword [esp + 0x44], 0x64
lea eax, [esp + 0x78]
mov dword [esp + 0x34], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78b909
mov dword [esp + 0x48], ebx
lea eax, [esp + 0x98]
mov ebp, dword [esp + 0x34]
mov esi, edi
mov dword [esp + 0x98], 0
mov edi, eax
mov dword [esp + 0x9c], 0
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll_isspace
test eax, eax
jne 0x78b97e
mov edx, dword [esp + 0x18]
mov ecx, esi
test edx, edx
cmove eax, dword [esp + 0x40]
mov ebx, eax
mov eax, ebp
mov ebp, esi
mov esi, eax
lea eax, [esp + 0x8b]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], ebx
mov byte [esp + 0x8b], cl
call fcn.007952e0
cmp eax, 0xfffffffe
jne 0x78a6d6
mov eax, dword [esp + 0x14]
mov edx, esi
call fcn.00788f70
mov ebp, eax
cmp eax, 0xffffffff
je 0x789d6e
mov ecx, eax
jmp 0x7897e1
cmp ebx, 0xffffffff
mov eax, 1
cmove ebx, eax
mov eax, dword [esp + 0x28]
mov edi, eax
and edi, 0x80
mov dword [esp + 0x18], edi
jne 0x7898e5
test ah, 6
je 0x789ddd
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x78b100
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x78b871
mov eax, 0x400
cmp ebx, eax
cmovle eax, ebx
mov dword [esp + 0x44], eax
add eax, eax
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edi, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov dword [edi], eax
test eax, eax
je 0x78abc2
mov esi, dword [esp + 0x74]
test esi, esi
je 0x7898bb
mov edx, dword [esi]
mov eax, esi
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x7898d7
mov dword [esp], 0x88
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov ecx, 1
xor edx, edx
mov dword [eax], 0
mov dword [eax + 4], esi
mov edi, dword [esp + 0x24]
mov dword [eax], ecx
mov dword [esp + 0x74], eax
mov dword [eax + edx*4 + 8], edi
lea eax, [esp + 0x78]
mov dword [esp + 0x34], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78b950
mov dword [esp + 0x48], ebx
lea eax, [esp + 0x98]
mov ebp, dword [esp + 0x34]
mov esi, edi
mov dword [esp + 0x98], 0
mov edi, eax
mov dword [esp + 0x9c], 0
mov eax, esi
mov byte [esp + 0x8b], al
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x7899b0
test dword [esp + 0x28], 0x600
je 0x7899b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
mov eax, dword [eax]
lea ebx, [ecx + ecx]
lea ecx, [eax + ebx]
cmp dword [esp + 0x40], ecx
jne 0x7899b0
mov ecx, dword [esp + 0x48]
lea edx, [ecx - 1]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x44]
cmp edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], edi
mov edi, ebx
cmovle ecx, edx
add edx, ecx
mov ebx, edx
lea ecx, [ebx + ebx]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
test eax, eax
je 0x78c1e3
mov ecx, dword [esp + 0x24]
mov edx, ebx
mov ebx, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x44], edx
mov dword [ecx], eax
add eax, ebx
mov dword [esp + 0x40], eax
nop
mov eax, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
mov eax, ebp
cmove ebx, dword [esp + 0x40]
mov ebp, esi
mov esi, eax
lea eax, [esp + 0x8b]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.007952e0
cmp eax, 0xfffffffe
jne 0x78a748
mov eax, dword [esp + 0x14]
mov edx, esi
call fcn.00788f70
mov ebp, eax
cmp eax, 0xffffffff
je 0x789d3c
mov byte [esp + 0x8b], al
jmp 0x7899c3
test byte [esp + 0x28], 4
jne case.0x7896c2.46
mov eax, dword [esp + 0x28]
mov edi, eax
and edi, 0x80
mov dword [esp + 0x18], edi
jne 0x789ac7
test ah, 6
je 0x78b097
mov ebp, dword [esp + 0x48]
test ebp, ebp
jne 0x78b7ed
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x24]
test edi, edi
je 0x78b871
mov dword [esp], 0x64
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edi, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov dword [edi], eax
test eax, eax
je 0x78abc2
mov esi, dword [esp + 0x74]
test esi, esi
je 0x789a95
mov edx, dword [esi]
mov eax, esi
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x789ab1
mov dword [esp], 0x88
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov ecx, 1
xor edx, edx
mov dword [eax], 0
mov dword [eax + 4], esi
mov edi, dword [esp + 0x24]
mov dword [eax], ecx
mov dword [esp + 0x74], eax
mov dword [eax + edx*4 + 8], edi
mov dword [esp + 0x44], 0x64
lea eax, [esp + 0x78]
mov dword [esp + 0x34], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78ba27
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x4c]
and esi, 0x600
mov dword [esp + 0x48], esi
mov esi, ebx
mov ebx, eax
jmp 0x789b3d
mov edi, dword [esp + 0x24]
mov edx, dword [edi]
mov edi, dword [esp + 0x44]
lea ecx, [edx + edi]
mov edi, eax
cmp eax, ecx
je 0x78b055
test esi, esi
jle 0x789b25
sub esi, 1
je 0x78a991
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov ebx, eax
cmp eax, 0xffffffff
je 0x78a991
mov dword [esp], ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_isspace
test eax, eax
jne 0x78b1d0
test ebp, ebp
jne 0x789b18
mov edx, dword [esp + 0x48]
mov byte [edi], bl
lea eax, [edi + 1]
test edx, edx
jne 0x789b01
mov edi, eax
jmp 0x789b18
mov eax, dword [esp + 0x28]
and eax, 4
mov dword [esp + 0x18], eax
jne case.0x7896c2.30
mov eax, 1
cmp ebx, 0xffffffff
cmove ebx, eax
mov eax, dword [esp + 0x28]
test al, 0x80
jne 0x78a0e5
test ah, 6
je 0x78b15b
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x78ba35
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], edi
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x78b871
mov eax, 0x400
cmp ebx, eax
cmovle eax, ebx
mov dword [esp], eax
mov dword [esp + 0x44], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov ecx, eax
mov eax, dword [esp + 0x24]
mov dword [eax], ecx
test ecx, ecx
je 0x78abc2
mov esi, dword [esp + 0x74]
test esi, esi
je 0x789bf6
mov edx, dword [esi]
mov eax, esi
lea edi, [edx + 1]
cmp edx, 0x1f
jbe 0x789c1a
mov dword [esp], 0x88
mov edi, 1
mov dword [esp + 0x18], ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dword [eax], 0
mov dword [eax + 4], esi
mov dword [eax], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov dword [eax + edx*4 + 8], edi
lea eax, [esp + 0x78]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov ecx, dword [esp + 0x18]
cmp eax, 0xffffffff
mov edi, eax
je 0x78be36
mov esi, dword [esp + 0x28]
mov eax, edi
mov edi, dword [esp + 0x44]
and esi, 0x600
jmp 0x789c86
mov byte [ecx], al
lea ebp, [ecx + 1]
sub ebx, 1
je 0x78abf8
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
call fcn.00788f70
cmp eax, 0xffffffff
je 0x78abf8
mov ecx, ebp
test esi, esi
je 0x789c60
mov edx, dword [esp + 0x24]
mov edx, dword [edx]
lea ebp, [edx + edi]
cmp ecx, ebp
jne 0x789c60
lea ecx, [ebx - 1]
cmp edi, ebx
mov dword [esp + 0x18], esi
mov esi, ebx
cmovl ecx, edi
mov ebx, eax
lea ebp, [edi + ecx]
mov dword [esp + 4], ebp
mov dword [esp], edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov ecx, eax
test eax, eax
je 0x78bf01
mov edx, dword [esp + 0x24]
mov eax, ebx
mov ebx, esi
mov esi, dword [esp + 0x18]
mov dword [edx], ecx
add ecx, edi
mov edi, ebp
jmp 0x789c60
mov byte [esp + 0x18], dl
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x14]
mov ebx, edi
mov dword [eax], 0
movzx edi, byte [esp + 0x18]
jmp 0x789d22
lea edx, [esp + 0x78]
mov eax, ebp
call fcn.00788f70
mov ebx, eax
cmp eax, 0xffffffff
je 0x789d27
mov dword [esp], ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_isspace
test eax, eax
je 0x789636
cmp ebx, 0xffffffff
jne 0x789d00
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
cmp dword [eax], 4
je 0x78a61f
mov ebx, 0xffffffff
jmp 0x789d12
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov ebx, dword [esp + 0x74]
mov dword [eax], 0x2a
test ebx, ebx
je 0x7891f1
lea esi, [esi]
nop
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x789d58
jmp 0x7891f1
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov ebx, dword [esp + 0x74]
mov dword [eax], 0x2a
test ebx, ebx
je 0x7891f1
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x789d88
jmp 0x7891f1
mov eax, dword [eax]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
mov dword [esp + 0x78], ebx
jmp 0x7891d1
lea edx, [esp + 0x80]
lea eax, [esp + 0x74]
call fcn.00788df0
mov dword [esp + 0x2c], 0xffffffff
jmp 0x789224
mov edx, dword [esp + 0x48]
test edx, edx
jne 0x78b0e4
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x7898e5
jmp 0x789e12
fstp st(0)
jmp 0x789e12
fstp st(0)
jmp 0x789e12
fstp st(0)
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call fcn.00788ee0
mov dword [esp + 0x2c], eax
jmp 0x789224
mov edi, dword [esp + 0x48]
test edi, edi
jne 0x78b138
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
mov esi, dword [esp + 0x40]
test esi, esi
jne 0x789775
jmp 0x789e12
lea eax, [esi + 1]
or dword [esp + 0x28], 0xc
movzx edx, byte [esi + 1]
mov dword [esp + 0x34], eax
jmp 0x7894d0
movzx edx, byte [esi + 1]
cmp dl, 0x68
je 0x78a97c
lea eax, [esi + 1]
or dword [esp + 0x28], 2
mov dword [esp + 0x34], eax
jmp 0x7894d0
lea eax, [esi + 1]
or dword [esp + 0x28], 8
movzx edx, byte [esi + 1]
mov dword [esp + 0x34], eax
jmp 0x7894d0
movzx edx, byte [esi + 1]
cmp dl, 0x6c
je 0x78a964
lea eax, [esi + 1]
or dword [esp + 0x28], 0x400
mov dword [esp + 0x34], eax
jmp 0x7894d0
movzx edx, byte [esi + 1]
mov eax, edx
and eax, 0xfffffff7
cmp al, 0x53
je 0x789ee7
cmp dl, 0x73
jne case.0x789468.1
lea eax, [esi + 1]
or dword [esp + 0x28], 0x200
mov dword [esp + 0x34], eax
jmp 0x7894d8
movzx edx, byte [esi + 1]
cmp dl, 0x6c
je 0x78a94f
lea eax, [esi + 1]
or dword [esp + 0x28], 4
mov dword [esp + 0x34], eax
jmp 0x7894d0
xor eax, eax
test ebx, ebx
cmovs ebx, eax
lea eax, [ebx - 1]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x34], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov dword [esp + 0x64], eax
cmp eax, 0xffffffff
je 0x78bc84
mov eax, dword [esp + 0x64]
sub eax, 0x2b
and eax, 0xfffffffd
jne 0x78b04c
mov eax, dword [esp + 0x58]
test eax, eax
je 0x789e12
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x789e12
mov ebp, dword [esp + 0x58]
sub ebx, 2
mov eax, 0xffffffff
test ebp, ebp
cmovg eax, ebx
mov dword [esp + 0x58], eax
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_tolower
cmp eax, 0x6e
je 0x78badf
cmp eax, 0x69
je 0x78b5c0
mov eax, dword [esp + 0x58]
mov byte [esp + 0x54], 0x65
mov dword [esp + 0x18], 0
test eax, eax
je 0x789fc8
cmp edi, 0x30
je 0x78bbce
mov eax, dword [esp + 0x28]
mov ebx, edi
mov byte [esp + 0x5c], 0
mov byte [esp + 0x63], 0
mov edi, dword [esp + 0x58]
and eax, 0x100
mov dword [esp + 0x68], eax
jmp 0x78a07e
test byte [esp + 0x28], 0x40
je 0x78a001
mov dword [esp], ebx
call sub.msvcrt.dll_isxdigit
test eax, eax
jne 0x78a550
mov eax, dword [esp + 0x18]
test eax, eax
je 0x78a01b
mov dword [esp], ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_tolower
cmp byte [esp + 0x54], al
je 0x78a9f7
mov eax, dword [esp + 0x50]
movzx eax, byte [eax]
test edi, edi
jle 0x78a5f6
cmp byte [esp + 0x63], 0
je 0x78a7bf
mov ecx, edi
test al, al
je 0x78a05d
mov esi, dword [esp + 0x20]
test esi, esi
je 0x78b546
cmp byte [esi], 0
jne 0x78b546
test edi, edi
cmovg edi, ecx
test edi, edi
je 0x78aa32
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov ebx, eax
cmp eax, 0xffffffff
je 0x78aa32
xor eax, eax
test edi, edi
setg al
sub edi, eax
lea eax, [ebx - 0x30]
cmp eax, 9
jbe 0x78a550
cmp byte [esp + 0x5c], 0
je 0x789fea
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x18]
movzx eax, byte [esp + 0x54]
cmp byte [ecx + esi - 1], al
jne 0x78a01b
lea eax, [ebx - 0x2b]
and eax, 0xfffffffd
jne 0x78a01b
lea esi, [esi]
nop
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x7c]
mov eax, esi
call fcn.00788e70
mov dword [esp + 0x80], eax
mov byte [eax + esi], bl
lea eax, [esi + 1]
mov dword [esp + 0x18], eax
jmp 0x78a055
lea eax, [esp + 0x78]
mov dword [esp + 0x34], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78be36
mov eax, edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
jmp 0x78a11e
mov edx, edi
mov eax, esi
call fcn.00788f70
cmp eax, 0xffffffff
je 0x78a123
sub ebx, 1
jne 0x78a110
mov edi, eax
jmp 0x789244
sub edx, 0x58
cmp dl, 0x20
ja case.0x78a135.1
movzx edx, dl
jmp dword [edx*4 + 0xa91ce8]
or dword [esp + 0x28], 0x10
mov dword [esp + 0x38], 0xa
lea eax, [esp + 0x78]
mov dword [esp + 0x34], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78ba27
lea eax, [eax - 0x2b]
mov dword [esp + 0x18], 0
and eax, 0xfffffffd
je 0x78b20e
test ebx, ebx
setne al
cmp edi, 0x30
jne 0x78ae24
test al, al
je 0x78ae24
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
lea edi, [eax + 1]
mov ebp, edi
test ebx, ebx
jle 0x78b3b9
lea esi, [esp + 0x7c]
mov edi, eax
sub ebx, 1
mov edx, esi
call fcn.00788e70
mov edx, dword [esp + 0x34]
mov byte [eax + edi], 0x30
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
test ebx, ebx
jne 0x78b3e9
mov edx, dword [esp + 0x38]
test edx, edx
je 0x78bfe6
mov dword [esp + 0x18], ebp
cmp dword [esp + 0x18], 1
jne 0x78a20f
mov eax, dword [esp + 0x80]
movzx eax, byte [eax]
sub eax, 0x2b
test al, 0xfd
je 0x78aef7
mov dword [esp + 0x18], 1
cmp edi, 0xffffffff
je 0x78a247
mov eax, dword [esp + 0x78]
lea ebx, [eax - 1]
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x78b8e7
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ebx
mov eax, dword [ecx + 0x1008]
mov dword [ecx + eax*4 + 4], edi
add eax, 1
mov dword [ecx + 0x1008], eax
mov ecx, dword [esp + 0x80]
lea esi, [esp + 0x7c]
mov edx, esi
mov esi, dword [esp + 0x18]
mov eax, esi
call fcn.00788e70
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x80], eax
mov ebx, eax
mov byte [eax + esi], 0
mov eax, ebp
and eax, 0x10
mov dword [esp + 0x18], eax
test ebp, 8
je 0x78ac4c
test eax, eax
mov eax, dword [esp + 0x38]
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [esp + 0x84]
mov dword [esp + 4], eax
je 0x78b300
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoll
mov esi, edx
cmp ebx, dword [esp + 0x84]
je 0x789e12
and ebp, 0x80
jne 0x78a2e2
mov ebx, dword [esp + 0x48]
test ebx, ebx
jne 0x78b937
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x3c], ecx
mov dword [edx], eax
mov dword [edx + 4], esi
add dword [esp + 0x2c], 1
mov dword [esp + 0x18], 0
jmp 0x789244
lea eax, [esp + 0x78]
mov dword [esp + 0x34], eax
mov edx, eax
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78ba27
cmp eax, 0x25
je 0x78a2e2
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov dword [esp], 1
call fcn.00789000
jmp 0x789e12
mov eax, dword [esp + 0x28]
mov edi, eax
mov ecx, eax
and edi, 0x80
and ecx, 4
mov dword [esp + 0x54], edi
mov dword [esp + 0x18], ecx
je 0x78ab61
test edi, edi
jne 0x78a3ed
test ah, 6
je 0x78b6a7
mov edx, dword [esp + 0x48]
test edx, edx
jne 0x78bcb3
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x78b871
mov dword [esp], 0xc8
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edi, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov dword [edi], eax
test eax, eax
je 0x78abc2
mov esi, dword [esp + 0x74]
test esi, esi
je 0x78a3bb
mov edx, dword [esi]
mov eax, esi
lea ecx, [edx + 1]
cmp edx, 0x1f
jbe 0x78a3d7
mov dword [esp], 0x88
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov ecx, 1
xor edx, edx
mov dword [eax], 0
mov dword [eax + 4], esi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov dword [eax], ecx
mov dword [eax + edx*4 + 8], edi
mov dword [esp + 0x44], 0x64
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x80]
movzx ecx, byte [eax + 1]
add eax, 2
cmp cl, 0x5e
cmovne eax, dword [esp + 0x10]
cmp ebx, 0xffffffff
mov ebp, ecx
mov dword [esp + 0x10], eax
mov eax, 0x7fffffff
cmove ebx, eax
cmp dword [esp + 0x7c], 0xff
ja 0x78a44b
mov dword [esp + 0x7c], 0x100
test esi, esi
je 0x78a436
mov dword [esp], esi
call fcn.00786dc0
mov dword [esp], 0x100
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [esp + 0x80], eax
mov esi, eax
lea edi, [esi + 4]
mov ecx, esi
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0xfc], 0
and edi, 0xfffffffc
sub ecx, edi
add ecx, 0x100
shr ecx, 2
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
movsx edx, byte [eax]
movzx eax, dl
cmp dl, 0x5d
je 0x78ab00
cmp dl, 0x2d
je 0x78ab00
add dword [esp + 0x10], 1
test al, al
je 0x78ab17
mov edx, dword [esp + 0x10]
mov edi, ebx
jmp 0x78a4ba
mov byte [esi + eax], 1
movzx eax, byte [edx]
add edx, 1
test al, al
je 0x78ab17
cmp al, 0x5d
je 0x78acd0
cmp al, 0x2d
jne 0x78a4a8
movzx ebx, byte [edx]
cmp bl, 0x5d
je 0x78a4a8
test bl, bl
je 0x78a4a8
movzx ecx, byte [edx - 2]
cmp bl, cl
jb 0x78a4a8
cmp cl, bl
jae 0x78bcec
movzx eax, cl
add ecx, 1
mov byte [esi + eax], 1
movzx eax, byte [edx]
cmp cl, al
jb 0x78a4e2
jmp 0x78a4af
mov dword [esp + 0x38], 0x10
jmp case.0x78a135.1
mov dword [esp + 0x38], 0xa
jmp case.0x78a135.1
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], 0x10
and eax, 0xfffffff1
or eax, 0x24
mov dword [esp + 0x28], eax
jmp case.0x78a135.1
or dword [esp + 0x28], 0x10
mov dword [esp + 0x38], 0
jmp case.0x78a135.1
mov dword [esp + 0x38], 8
jmp case.0x78a135.1
mov ecx, dword [esp + 0x80]
jmp 0x78a0c0
mov eax, dword [esp + 0x78]
lea ebx, [eax - 1]
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x78b260
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ebx
mov eax, dword [ecx + 0x1008]
mov dword [ecx + eax*4 + 4], edi
add eax, 1
mov dword [ecx + 0x1008], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x789dc0
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x7891f1
lea esi, [esi]
nop
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x78a5b0
jmp 0x7891f1
mov ebx, 0xffffffff
jmp 0x789456
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x7891f1
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x78a5e0
jmp 0x7891f1
cmp byte [esp + 0x63], 0
je 0x78a9ed
mov ecx, 0x7fffffff
test al, al
jne 0x78a03b
jmp 0x78a055
movzx eax, byte [ecx + 1]
lea esi, [ecx + 1]
jmp 0x7893b6
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x789dc0
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x7891f1
lea esi, [esi]
nop
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x78a640
jmp 0x7891f1
mov ecx, dword [esp + 0x28]
mov eax, ecx
and eax, 0x80
mov dword [esp + 0x18], eax
jne 0x78a2e2
and ecx, 8
mov eax, dword [esp + 0x78]
je 0x78b489
mov ebx, dword [esp + 0x48]
test ebx, ebx
jne 0x78ba93
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x3c], ecx
mov dword [edx], eax
mov dword [edx + 4], 0
jmp 0x789244
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x789dc0
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x7891f1
lea esi, [esi]
nop
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x78a6c0
jmp 0x7891f1
mov ecx, esi
mov esi, ebp
mov ebp, ecx
cmp eax, 1
jne 0x78bd30
mov eax, dword [esp + 0x18]
add dword [esp + 0x40], 2
mov ebx, dword [esp + 0x40]
test eax, eax
jne 0x78a717
test dword [esp + 0x28], 0x600
je 0x78a717
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
lea ecx, [eax + eax]
mov eax, dword [edx]
add eax, ecx
cmp ebx, eax
je 0x78be65
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x78a728
sub eax, 1
mov dword [esp + 0x48], eax
je 0x78a73e
mov eax, dword [esp + 0x14]
mov edx, ebp
call fcn.00788f70
mov esi, eax
cmp eax, 0xffffffff
jne 0x7897bc
mov edi, esi
jmp 0x78b9b3
mov ecx, esi
mov esi, ebp
mov ebp, ecx
cmp eax, 1
jne 0x78bd30
add dword [esp + 0x40], 2
sub dword [esp + 0x48], 1
je 0x78a779
mov eax, dword [esp + 0x14]
mov edx, ecx
call fcn.00788f70
mov esi, eax
cmp eax, 0xffffffff
jne 0x78992c
cmp dword [esp + 0x18], 0
mov edi, esi
jne 0x78a2e2
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
lea ecx, [eax + eax]
mov eax, dword [esp + 0x24]
call fcn.00788db0
xor eax, eax
add dword [esp + 0x2c], 1
mov dword [esp + 0x24], eax
jmp 0x789244
mov dword [esp + 0x2c], 0
xor esi, esi
jmp 0x789301
mov ecx, edi
movzx edx, al
mov ebp, dword [esp + 0x50]
cmp edx, ebx
jne 0x78a8b2
mov dword [esp + 0x58], edi
mov edx, ebx
mov edi, dword [esp + 0x34]
mov ebx, ecx
jmp 0x78a80f
test ebx, ebx
je 0x78b253
mov eax, dword [esp + 0x14]
mov edx, edi
call fcn.00788f70
mov edx, eax
cmp eax, 0xffffffff
je 0x78a8a6
movzx esi, byte [ebp]
sub ebx, 1
mov eax, esi
cmp edx, esi
jne 0x78b277
mov esi, ebp
add ebp, 1
cmp byte [ebp], 0
jne 0x78a7e0
mov edi, dword [esp + 0x58]
mov ecx, ebx
mov ebx, edx
mov edx, dword [esp + 0x50]
cmp byte [edx], 0
je 0x78c192
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], ebx
mov ebx, ecx
sub edx, esi
mov ecx, eax
mov ebp, edx
lea esi, [esi]
lea esi, [esi]
lea edx, [esp + 0x7c]
mov eax, esi
call fcn.00788e70
mov ecx, eax
mov dword [esp + 0x80], eax
mov eax, esi
add esi, 1
movzx edx, byte [ebp + esi - 1]
mov byte [ecx + eax], dl
cmp byte [ebp + esi], 0
jne 0x78a850
mov ecx, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x18], esi
test edi, edi
jle 0x78b748
mov byte [esp + 0x63], 1
mov edi, ecx
jmp 0x78a055
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [eax], 0x16
jmp 0x789dd0
mov ecx, ebx
mov edi, dword [esp + 0x58]
mov ebx, eax
movzx eax, byte [esi + 1]
test al, al
je 0x78a822
mov eax, dword [esp + 0x68]
test eax, eax
je 0x78a03b
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x20]
sub ebp, eax
xor eax, eax
test ebp, ebp
jle 0x78bdd7
mov dword [esp + 0x58], ebx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x6c], ecx
mov ebx, dword [esp + 0x20]
jmp 0x78a8f7
add esi, 1
mov eax, esi
sub eax, ebx
cmp eax, ebp
jge 0x78a8ff
movzx ecx, byte [edx + eax]
cmp byte [esi], cl
je 0x78a8ec
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x6c]
cmp ebp, eax
jne 0x78a047
movzx eax, byte [esi]
cmp ebx, eax
jne 0x78a047
mov ebp, ecx
jmp 0x78a940
test ebp, ebp
je 0x78a948
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov ebx, eax
cmp eax, 0xffffffff
je 0x78a948
movzx eax, byte [esi]
sub ebp, 1
cmp ebx, eax
jne 0x78a948
add esi, 1
cmp byte [esi], 0
jne 0x78a91e
mov ecx, ebp
jmp 0x78a047
lea eax, [esi + 2]
or dword [esp + 0x28], 0xc
movzx edx, byte [esi + 2]
mov dword [esp + 0x34], eax
jmp 0x7894d0
lea eax, [esi + 2]
or dword [esp + 0x28], 0x404
movzx edx, byte [esi + 2]
mov dword [esp + 0x34], eax
jmp 0x7894d0
lea eax, [esi + 2]
or dword [esp + 0x28], 1
movzx edx, byte [esi + 2]
mov dword [esp + 0x34], eax
jmp 0x7894d0
mov dword [esp + 0x4c], edi
mov edi, ebx
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x78a2e2
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x24]
mov byte [eax], 0
lea ebx, [eax + 1]
test esi, esi
je 0x78a9d7
mov eax, dword [esi]
test eax, eax
je 0x78a9d7
mov edx, ebx
sub edx, eax
cmp dword [esp + 0x44], edx
je 0x78a9d7
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
test eax, eax
je 0x78a9d7
mov dword [esi], eax
add dword [esp + 0x2c], 1
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x24], 0
jmp 0x789244
mov ecx, 0x7fffffff
jmp 0x78a7c1
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x7c]
mov eax, esi
call fcn.00788e70
movzx ecx, byte [esp + 0x54]
mov byte [esp + 0x5c], 1
mov dword [esp + 0x80], eax
mov byte [eax + esi], cl
lea eax, [esi + 1]
mov dword [esp + 0x18], eax
mov byte [esp + 0x63], 1
jmp 0x78a055
mov edi, ebx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x789e12
test byte [esp + 0x28], 0x40
je 0x78aa52
cmp dword [esp + 0x18], 2
je 0x789e12
lea esi, [esp + 0x7c]
mov edx, esi
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
mov eax, esi
call fcn.00788e70
mov byte [eax + esi], 0
mov ebx, eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x28]
mov esi, eax
and esi, 0x80
test al, 8
lea eax, [esp + 0x84]
jne 0x78b36d
test byte [esp + 0x28], 4
mov dword [esp + 4], eax
mov dword [esp], ebx
je 0x78b324
call fcn.0078e5e0
test esi, esi
jne 0x78b1aa
mov ecx, dword [esp + 0x84]
cmp ebx, ecx
je 0x789e08
cmp dword [esp + 0x64], 0x2d
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
jne 0x78aad1
fchs
mov ebp, dword [esp + 0x48]
test ebp, ebp
jne 0x78bccf
mov esi, dword [esp + 0x3c]
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [esp + 0x3c], eax
fstp qword [edx]
cmp ebx, ecx
jne 0x78a2dd
jmp 0x789e12
mov edi, dword [esp + 0x10]
mov byte [esi + edx], 1
add edi, 1
movzx eax, byte [edi]
mov dword [esp + 0x10], edi
jmp 0x78a48e
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x78ab30
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x78ab1f
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], 0
test ecx, ecx
je 0x78ab54
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
mov dword [esp], eax
call fcn.00786dc0
mov dword [edi], 0
mov dword [esp], esi
call fcn.00786dc0
jmp 0x789224
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x78a3ed
test dword [esp + 0x28], 0x600
je 0x78b589
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x78bde8
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], edi
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x78b871
mov dword [esp], 0x64
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edi, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov dword [edi], eax
test eax, eax
jne 0x78a3a7
test dword [esp + 0x28], 0x400
mov eax, 0xffffffff
cmove eax, dword [esp + 0x2c]
mov edi, eax
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x74]
mov dword [esp], eax
mov eax, edi
call fcn.00788ee0
mov dword [esp + 0x2c], eax
jmp 0x789224
mov dword [esp + 0x44], edi
mov edi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], ebp
test eax, eax
je 0x78ac32
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
test eax, eax
je 0x78ac32
mov edx, dword [esp + 0x4c]
sub edx, eax
cmp dword [esp + 0x44], edx
je 0x78ac32
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
test eax, eax
je 0x78ac32
mov dword [esi], eax
add dword [esp + 0x2c], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
jmp 0x789244
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
mov dword [esp], ebx
mov dword [esp + 8], eax
test esi, esi
lea eax, [esp + 0x84]
mov dword [esp + 4], eax
je 0x78b284
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtol
cmp ebx, dword [esp + 0x84]
je 0x789e12
test byte [esp + 0x28], 0x80
jne 0x78a2e2
test byte [esp + 0x28], 4
jne 0x78b851
test byte [esp + 0x28], 2
jne 0x78bd40
test byte [esp + 0x28], 1
je 0x78bfac
cmp dword [esp + 0x48], 0
jne 0x78bf91
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x3c], ecx
mov byte [edx], al
jmp 0x78a2dd
mov eax, ebp
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
mov ebx, edi
cmp al, 0x5e
mov eax, dword [esp + 0x78]
sete byte [esp + 0x48]
test edx, edx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x34], eax
mov edx, eax
mov eax, dword [esp + 0x14]
je 0x78b4c2
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78ba27
lea eax, [esp + 0x98]
xor ebp, ebp
mov dword [esp + 0x98], 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x9c], 0
and eax, 0x600
mov dword [esp + 0x58], eax
jmp 0x78ad69
sub ebx, 1
je 0x78b769
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78b769
movzx eax, byte [esp + 0x48]
cmp byte [esi + edi], al
je 0x78bc41
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x78ad48
mov eax, edi
mov dword [esp + 8], 1
add ebp, 1
mov byte [esp + 0x8b], al
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x8b]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.007952e0
cmp eax, 0xfffffffe
je 0x78ad51
mov ebp, dword [esp + 0x58]
add dword [esp + 0x40], 2
test ebp, ebp
je 0x78b154
mov ecx, dword [esp + 0x24]
xor ebp, ebp
mov eax, dword [ecx]
mov ecx, dword [esp + 0x44]
add ecx, ecx
lea edx, [eax + ecx]
cmp dword [esp + 0x40], edx
jne 0x78ad48
mov dword [esp + 0x40], esi
mov ebp, ecx
mov esi, ebx
mov ebx, ecx
lea ecx, [ebp + ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
test eax, eax
je 0x78c1cb
mov edx, dword [esp + 0x24]
mov ecx, ebx
mov dword [esp + 0x44], ebp
mov ebx, esi
xor ebp, ebp
mov esi, dword [esp + 0x40]
mov dword [edx], eax
add eax, ecx
mov dword [esp + 0x40], eax
jmp 0x78ad48
mov ecx, dword [esp + 0x38]
mov edx, 0xa
test ecx, ecx
cmovne edx, ecx
mov dword [esp + 0x38], edx
cmp edi, 0xffffffff
je 0x78c0b2
test al, al
je 0x78c0b2
mov eax, dword [esp + 0x28]
and eax, 0x100
mov dword [esp + 0x58], eax
mov eax, ebx
mov ebx, edi
mov edi, eax
jmp 0x78aebf
lea eax, [ebx - 0x30]
cmp eax, 9
ja 0x78af10
lea eax, [ebx - 0x2f]
cmp dword [esp + 0x38], eax
jl 0x78aed2
mov eax, dword [esp + 0x18]
mov esi, eax
add eax, 1
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x7c]
mov eax, esi
call fcn.00788e70
mov edx, dword [esp + 0x34]
mov byte [eax + esi], bl
mov dword [esp + 0x80], eax
xor eax, eax
test edi, edi
setg al
sub edi, eax
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov ebx, eax
cmp eax, 0xffffffff
je 0x78aed2
test edi, edi
je 0x78aed2
cmp dword [esp + 0x38], 0x10
jne 0x78ae60
mov dword [esp], ebx
call sub.msvcrt.dll_isxdigit
test eax, eax
jne 0x78ae75
mov edi, ebx
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x78a1eb
test byte [esp + 0x28], 0x20
je 0x78aef7
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_tolower
cmp al, 0x28
je 0x78b424
xor ebp, ebp
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov eax, edi
mov dword [esp], ebp
call fcn.00789000
jmp 0x789e12
cmp dword [esp + 0x38], 0xa
jne 0x78aed2
mov eax, dword [esp + 0x58]
test eax, eax
je 0x78aed2
mov esi, dword [esp + 0x20]
test edi, edi
mov ebp, 0x7fffffff
cmovg ebp, edi
movzx edx, byte [esi]
mov eax, edx
cmp edx, ebx
jne 0x78afa3
mov edx, ebx
mov dword [esp + 0x54], edi
mov ebx, ebp
mov ebp, dword [esp + 0x34]
jmp 0x78af72
test ebx, ebx
je 0x78b038
mov eax, dword [esp + 0x14]
mov edx, ebp
call fcn.00788f70
mov edx, eax
cmp eax, 0xffffffff
je 0x78af95
movzx edi, byte [esi]
sub ebx, 1
mov eax, edi
cmp edx, edi
jne 0x78b03f
mov edi, esi
add esi, 1
cmp byte [esi], 0
jne 0x78af48
mov edi, dword [esp + 0x54]
mov ebp, ebx
mov ebx, edx
mov eax, dword [esp + 0x18]
test edi, edi
cmovg edi, ebp
lea esi, [eax - 1]
jmp 0x78ae82
mov ebp, ebx
mov ebx, eax
mov eax, edi
mov edi, dword [esp + 0x54]
movzx eax, byte [eax + 1]
test al, al
je 0x78af84
mov edi, ebx
cmp dword [esp + 0x20], esi
jae 0x78aed4
xor eax, eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
lea ebx, [esi - 1]
mov dword [esp], eax
mov eax, edi
call fcn.00789000
cmp dword [esp + 0x20], ebx
jae 0x78c080
mov edi, dword [esp + 0x14]
mov ebp, ebx
jmp 0x78b002
mov eax, dword [edi + 0x1008]
mov dword [esp + 0x78], edx
mov dword [edi + eax*4 + 4], ecx
add eax, 1
mov dword [edi + 0x1008], eax
mov eax, dword [esp + 0x20]
sub ebp, 1
cmp ebp, eax
je 0x78c079
mov eax, dword [esp + 0x78]
movzx ecx, byte [ebp]
lea edx, [eax - 1]
test byte [edi + 0x1004], 1
jne 0x78afdc
mov eax, dword [edi]
mov dword [esp], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
mov edx, dword [esp + 0x54]
mov dword [esp + 0x78], edx
jmp 0x78aff3
mov edi, edx
jmp 0x78afa9
mov ebp, ebx
mov edi, dword [esp + 0x54]
mov ebx, edx
jmp 0x78afa3
mov edi, dword [esp + 0x64]
jmp 0x789f90
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], esi
mov esi, ebx
lea ecx, [eax + eax]
mov ebx, ecx
mov dword [esp + 4], ebx
mov dword [esp], edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov edi, eax
test eax, eax
je 0x78c01a
mov eax, dword [esp + 0x24]
mov ecx, ebx
mov ebx, esi
mov esi, dword [esp + 0x4c]
mov dword [eax], edi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x44], ecx
add edi, eax
jmp 0x789b18
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x78b835
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], edi
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x789ac7
jmp 0x789e12
mov eax, dword [eax]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
mov dword [esp + 0x78], esi
movzx edx, byte [esp + 0x18]
jmp 0x789690
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
sub edx, 1
lea eax, [edi + edx*4]
cmove eax, edi
mov eax, dword [eax]
mov dword [esp + 0x40], eax
jmp 0x789dfa
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
sub edx, 1
lea eax, [edi + edx*4]
cmove eax, edi
mov eax, dword [eax]
mov dword [esp + 0x24], eax
jmp 0x789871
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
sub edx, 1
lea eax, [edi + edx*4]
cmove eax, edi
mov eax, dword [eax]
mov dword [esp + 0x24], eax
jmp 0x789705
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
sub edx, 1
lea eax, [edi + edx*4]
cmove eax, edi
mov eax, dword [eax]
mov dword [esp + 0x40], eax
jmp 0x789e53
xor ebp, ebp
jmp 0x78ad48
mov edi, dword [esp + 0x48]
test edi, edi
jne 0x78b893
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
test ecx, ecx
jne 0x789c28
jmp 0x789e12
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x7891f1
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x78b194
jmp 0x7891f1
fstp st(0)
jmp 0x78b1b4
fstp st(0)
jmp 0x78b1b4
fstp st(0)
cmp ebx, dword [esp + 0x84]
jne 0x78a2e2
jmp 0x789e12
mov eax, dword [esp + 0x78]
mov dword [esp + 0x4c], edi
mov edi, ebx
lea ebx, [eax - 1]
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x78be4e
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ebx
mov eax, dword [ecx + 0x1008]
mov dword [ecx + eax*4 + 4], edi
add eax, 1
mov dword [ecx + 0x1008], eax
jmp 0x78a997
mov ecx, dword [esp + 0x80]
lea esi, [esp + 0x7c]
xor eax, eax
mov edx, esi
call fcn.00788e70
mov ecx, edi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x80], eax
mov byte [eax], cl
xor eax, eax
test ebx, ebx
cmovns eax, ebx
lea ebx, [eax - 1]
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov dword [esp + 0x18], 1
mov edi, eax
jmp 0x78a17b
mov ecx, ebx
mov edi, dword [esp + 0x58]
mov ebx, edx
jmp 0x78a8ba
mov eax, dword [eax]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
mov dword [esp + 0x78], ebx
jmp 0x78a58f
mov ecx, ebx
mov edi, dword [esp + 0x58]
mov ebx, edx
jmp 0x78a8b2
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoul
cmp ebx, dword [esp + 0x84]
je 0x789e12
test byte [esp + 0x28], 0x80
jne 0x78a2e2
test byte [esp + 0x28], 4
jne 0x78b851
test byte [esp + 0x28], 2
jne 0x78bd40
test byte [esp + 0x28], 1
je 0x78bff7
cmp dword [esp + 0x48], 0
je 0x78acb7
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
xor ecx, ecx
jmp 0x78b2de
mov ecx, 1
sub edx, 1
jne 0x78b2d9
test cl, cl
je 0x78b2f3
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x48]
lea ebx, [ecx + esi*4 - 4]
mov edx, dword [ebx]
mov byte [edx], al
jmp 0x78a2dd
call fcn.0078e820
mov esi, edx
cmp ebx, dword [esp + 0x84]
je 0x789e12
test byte [esp + 0x28], 0x80
je 0x78a2bf
jmp 0x789244
call fcn.007885b0
test esi, esi
jne 0x78b1ae
mov ecx, dword [esp + 0x84]
cmp ebx, ecx
je 0x789e0c
fld st(0)
mov esi, dword [esp + 0x48]
cmp dword [esp + 0x64], 0x2d
fchs
fcmovne st(0), st(1)
fstp st(1)
test esi, esi
jne 0x78bc96
mov esi, dword [esp + 0x3c]
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [esp + 0x3c], eax
fstp dword [edx]
jmp 0x78aaec
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0078e5e0
test esi, esi
jne 0x78b1b2
mov ecx, dword [esp + 0x84]
cmp ebx, ecx
je 0x789e10
cmp dword [esp + 0x64], 0x2d
jne 0x78b399
fchs
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x78bd13
mov esi, dword [esp + 0x3c]
mov edx, dword [esi]
lea eax, [esi + 4]
fstp xword [edx]
mov dword [esp + 0x3c], eax
jmp 0x78aaec
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x7c]
mov ebx, 0xffffffff
mov edx, esi
mov eax, edi
call fcn.00788e70
mov edx, dword [esp + 0x34]
mov byte [eax + edi], 0x30
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_tolower
cmp eax, 0x78
je 0x78baab
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x78b40a
mov dword [esp + 0x38], 8
test ebx, ebx
je 0x78a1e7
cmp edi, 0xffffffff
je 0x78a1e7
mov dword [esp + 0x18], ebp
jmp 0x78ae47
mov ebp, dword [esp + 0x14]
mov ebx, 0x6e
mov esi, 0xa91b0d
mov edx, dword [esp + 0x34]
mov eax, ebp
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78aef7
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_tolower
cmp bl, al
jne 0x78aef7
movzx ebx, byte [esi + 1]
add esi, 1
test bl, bl
jne 0x78b432
mov ecx, dword [esp + 0x80]
lea esi, [esp + 0x7c]
xor eax, eax
mov edx, esi
call fcn.00788e70
mov dword [esp + 0x18], 1
mov byte [eax], 0x30
mov ecx, eax
jmp 0x78a252
mov ecx, dword [esp + 0x28]
and ecx, 4
mov dword [esp + 0x18], ecx
je 0x78b809
mov ecx, dword [esp + 0x48]
test ecx, ecx
jne 0x78beb2
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x3c], ecx
mov dword [edx], eax
mov dword [esp + 0x18], 0
jmp 0x789244
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78ba27
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x4c]
and eax, 0x600
mov dword [esp + 0x58], eax
jmp 0x78b51c
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
mov ebp, eax
mov ecx, dword [ecx]
add edx, ecx
cmp eax, edx
je 0x78ba51
sub ebx, 1
je 0x78b6d8
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78b6d8
movzx eax, byte [esp + 0x48]
cmp byte [esi + edi], al
je 0x78b8ab
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x78b4fb
mov ecx, edi
lea eax, [ebp + 1]
mov byte [ebp], cl
mov ebp, dword [esp + 0x58]
test ebp, ebp
jne 0x78b4e5
mov ebp, eax
jmp 0x78b4fb
mov edi, ebx
cmp ebx, 0xffffffff
je 0x78aa34
mov eax, dword [esp + 0x78]
lea ebx, [eax - 1]
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x78be04
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ebx
mov eax, dword [ecx + 0x1008]
mov dword [ecx + eax*4 + 4], edi
add eax, 1
mov dword [ecx + 0x1008], eax
jmp 0x78aa34
mov edi, dword [esp + 0x48]
test edi, edi
jne 0x78bcf7
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], edi
mov esi, dword [esp + 0x4c]
test esi, esi
jne 0x78a3ed
jmp 0x789e12
lea esi, [esp + 0x7c]
mov ecx, dword [esp + 0x80]
xor eax, eax
mov ebx, 1
mov edx, esi
call fcn.00788e70
mov dword [esp + 0x5c], esi
mov ebp, dword [esp + 0x58]
mov ecx, eax
mov dword [esp + 0x80], eax
mov eax, edi
mov byte [ecx], al
mov esi, ecx
jmp 0x78b651
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78b655
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_tolower
mov edx, eax
movsx eax, byte [ebx + 0xa91b16]
cmp edx, eax
jne 0x78b655
xor eax, eax
test ebp, ebp
mov edx, dword [esp + 0x5c]
mov ecx, esi
setg al
sub ebp, eax
mov eax, ebx
call fcn.00788e70
mov ecx, edi
cmp byte [ebx + 0xa91b17], 0
mov esi, eax
mov dword [esp + 0x80], eax
lea eax, [ebx + 1]
mov byte [esi + ebx], cl
je 0x78bd61
mov ebx, eax
test ebp, ebp
jne 0x78b5f2
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x54], esi
test ebx, ebx
je 0x78b672
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x78b661
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], 0
test ecx, ecx
je 0x78b696
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
mov dword [esp], eax
call fcn.00786dc0
mov dword [edi], 0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.00786dc0
jmp 0x789224
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x78bdbb
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x78a3ed
jmp 0x789e12
mov dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x78], eax
je 0x789e12
mov esi, dword [esp + 0x54]
test esi, esi
jne 0x789244
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x24]
mov byte [eax], 0
lea ebx, [eax + 1]
test esi, esi
je 0x78b72a
mov eax, dword [esi]
test eax, eax
je 0x78b72a
mov edx, ebx
sub edx, eax
cmp dword [esp + 0x44], edx
je 0x78b72a
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
test eax, eax
je 0x78b72a
mov dword [esi], eax
add dword [esp + 0x2c], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x24], 0
jmp 0x789244
mov byte [esp + 0x63], 1
jmp 0x78a055
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
mov dword [esp + 0x78], esi
jmp 0x7892b7
mov esi, ebp
test esi, esi
jne 0x78bd30
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x78], eax
je 0x789e12
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], 0
test ecx, ecx
jne 0x789244
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
xor edx, edx
mov word [eax], dx
lea ebx, [eax + 2]
test esi, esi
je 0x78b7cf
mov eax, dword [esi]
test eax, eax
je 0x78b7cf
mov ecx, dword [esp + 0x44]
mov edx, ebx
sub edx, eax
add ecx, ecx
cmp ecx, edx
je 0x78b7cf
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
test eax, eax
je 0x78b7cf
mov dword [esi], eax
add dword [esp + 0x2c], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x24], 0
jmp 0x789244
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
sub edx, 1
lea eax, [edi + edx*4]
cmove eax, edi
mov eax, dword [eax]
mov dword [esp + 0x24], eax
jmp 0x789a57
test byte [esp + 0x28], 2
je 0x78b9f1
mov edx, dword [esp + 0x48]
test edx, edx
jne 0x78c19b
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x3c], ecx
mov word [edx], ax
jmp 0x789244
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
sub edx, 1
lea eax, [edi + edx*4]
cmove eax, edi
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
jmp 0x78b0b4
mov ecx, dword [esp + 0x48]
test ecx, ecx
jne 0x78be1b
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x3c], ecx
mov dword [edx], eax
jmp 0x78a2dd
lea eax, [esp + 0x80]
xor ecx, ecx
lea edx, [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call fcn.00788ee0
mov dword [esp + 0x2c], eax
jmp 0x789224
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
sub edx, 1
lea eax, [edi + edx*4]
cmove eax, edi
mov ecx, dword [eax]
jmp 0x78b174
mov eax, dword [esp + 0x78]
mov dword [esp + 0x4c], ebp
lea ebx, [eax - 1]
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x78c17b
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ebx
mov eax, dword [ecx + 0x1008]
mov dword [ecx + eax*4 + 4], edi
add eax, 1
mov dword [ecx + 0x1008], eax
jmp 0x78b6dc
mov eax, dword [eax]
mov dword [esp], edi
lea esi, [esp + 0x7c]
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
mov dword [esp + 0x78], ebx
mov ecx, dword [esp + 0x80]
jmp 0x78a252
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x789dc0
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x7891f1
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x78b921
jmp 0x7891f1
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edx, ebx
sub ecx, 1
je 0x78b949
lea edx, [ebx + ecx*4]
mov edx, dword [edx]
jmp 0x78a2d8
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x789dc0
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x7891f1
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x78b968
jmp 0x7891f1
mov eax, dword [esp + 0x78]
mov edi, esi
lea ebx, [eax - 1]
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x78c1b4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ebx
mov eax, dword [ecx + 0x1008]
mov dword [ecx + eax*4 + 4], esi
add eax, 1
mov dword [ecx + 0x1008], eax
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x78a2e2
mov eax, dword [esp + 0x40]
lea ebx, [eax + 2]
mov word [eax], 0
mov eax, dword [esp + 0x44]
mov edx, ebx
lea ecx, [eax + eax]
mov eax, dword [esp + 0x24]
call fcn.00788db0
xor eax, eax
add dword [esp + 0x2c], 1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x24], eax
jmp 0x789244
mov ecx, dword [esp + 0x28]
and ecx, 1
mov dword [esp + 0x18], ecx
je 0x78becb
cmp dword [esp + 0x48], 0
jne 0x78c036
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x3c], ecx
mov byte [edx], al
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x789244
mov eax, dword [esp + 0x2c]
test eax, eax
cmovne edi, eax
jmp 0x78abd6
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
sub edx, 1
lea eax, [edi + edx*4]
cmove eax, edi
mov eax, dword [eax]
mov dword [esp + 0x24], eax
jmp 0x789bb0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], esi
mov esi, ebx
lea edx, [eax + eax]
mov ebx, edx
mov dword [esp + 4], ebx
mov dword [esp], ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov ebp, eax
test eax, eax
je 0x78bf19
mov eax, dword [esp + 0x24]
mov edx, ebx
mov ebx, esi
mov esi, dword [esp + 0x4c]
mov dword [eax], ebp
mov eax, dword [esp + 0x44]
mov dword [esp + 0x44], edx
add ebp, eax
jmp 0x78b4fb
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x30]
sub ecx, 1
lea edx, [esi + ecx*4]
cmove edx, esi
mov edx, dword [edx]
jmp 0x78a691
test dword [esp + 0x38], 0xffffffef
jne 0x78b40a
xor eax, eax
test ebx, ebx
mov edx, dword [esp + 0x34]
cmovns eax, ebx
lea ebx, [eax - 1]
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov dword [esp + 0x38], 0x10
mov edi, eax
jmp 0x78b40a
lea esi, [esp + 0x7c]
mov ecx, dword [esp + 0x80]
xor eax, eax
mov ebx, 1
mov edx, esi
call fcn.00788e70
mov dword [esp + 0x54], esi
mov ebp, dword [esp + 0x58]
mov ecx, eax
mov dword [esp + 0x80], eax
mov eax, edi
mov byte [ecx], al
mov esi, ecx
jmp 0x78bb76
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78bb7a
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_tolower
mov edx, eax
movsx eax, byte [ebx + 0xa91b12]
cmp edx, eax
jne 0x78bb7a
xor eax, eax
test ebp, ebp
mov edx, dword [esp + 0x54]
mov ecx, esi
setg al
sub ebp, eax
mov eax, ebx
call fcn.00788e70
cmp byte [ebx + 0xa91b13], 0
mov esi, eax
mov dword [esp + 0x80], eax
lea eax, [ebx + 1]
mov dword [esp + 0x18], eax
mov eax, edi
mov byte [esi + ebx], al
je 0x78bc7b
mov ebx, dword [esp + 0x18]
test ebp, ebp
jne 0x78bb11
mov ebx, dword [esp + 0x74]
mov ecx, esi
test ebx, ebx
je 0x78bb97
mov eax, ebx
mov ebx, dword [ebx + 4]
mov dword [esp], eax
call fcn.00786dc0
test ebx, ebx
jne 0x78bb84
mov ecx, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x74], 0
test esi, esi
je 0x78bbc1
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov eax, dword [edi]
mov dword [esp], eax
call fcn.00786dc0
mov dword [edi], ebx
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
call fcn.00786dc0
jmp 0x789224
mov ecx, dword [esp + 0x80]
lea esi, [esp + 0x7c]
xor eax, eax
mov edx, esi
call fcn.00788e70
mov edx, dword [esp + 0x34]
mov byte [eax], 0x30
mov ebx, eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x78bea5
sub eax, 1
mov dword [esp + 0x18], 1
mov dword [esp + 0x58], eax
je 0x789fc8
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_tolower
cmp eax, 0x78
je 0x78c22f
mov byte [esp + 0x54], 0x65
mov dword [esp + 0x18], 1
jmp 0x789fc8
mov eax, dword [esp + 0x78]
mov esi, ebp
lea ebx, [eax - 1]
mov eax, dword [esp + 0x14]
test byte [eax + 0x1004], 1
je 0x78bf31
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ebx
mov eax, dword [ecx + 0x1008]
mov dword [ecx + eax*4 + 4], edi
add eax, 1
mov dword [ecx + 0x1008], eax
jmp 0x78b76b
mov esi, dword [esp + 0x54]
jmp 0x78aa56
mov eax, dword [esp + 0x2c]
test eax, eax
cmove eax, dword [esp + 0x64]
mov edi, eax
jmp 0x78abd6
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
mov eax, esi
sub edx, 1
je 0x78bca8
lea eax, [esi + edx*4]
mov edx, dword [eax]
mov eax, dword [esp + 0x3c]
jmp 0x78b362
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
sub edx, 1
lea eax, [edi + edx*4]
cmove eax, edi
mov eax, dword [eax]
mov dword [esp + 0x24], eax
jmp 0x78a37d
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
mov eax, esi
sub edx, 1
je 0x78bce1
lea eax, [esi + edx*4]
mov edx, dword [eax]
mov eax, dword [esp + 0x3c]
jmp 0x78aae6
add edx, 1
movzx eax, bl
jmp 0x78a4c2
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
sub edx, 1
lea eax, [edi + edx*4]
cmove eax, edi
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
jmp 0x78b5a6
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
mov eax, esi
sub edx, 1
je 0x78bd25
lea eax, [esi + edx*4]
mov edx, dword [eax]
mov eax, dword [esp + 0x3c]
jmp 0x78b3ae
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [eax], 0x2a
jmp 0x789e12
mov edx, dword [esp + 0x48]
test edx, edx
jne 0x78c060
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x3c], ecx
mov word [edx], ax
jmp 0x78a2dd
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x18], eax
test ebp, ebp
je 0x78aa56
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x78aa56
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_tolower
cmp eax, 0x69
je 0x78c0c2
xor edx, edx
mov ecx, dword [esp + 0x34]
mov eax, edi
mov dword [esp], edx
mov edx, dword [esp + 0x14]
call fcn.00789000
jmp 0x78aa56
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
sub edx, 1
lea eax, [edi + edx*4]
cmove eax, edi
mov eax, dword [eax]
mov dword [esp + 0x40], eax
jmp 0x78b6c4
jne 0x78a03b
jmp 0x78a90f
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
sub edx, 1
lea eax, [edi + edx*4]
cmove eax, edi
mov eax, dword [eax]
mov dword [esp + 0x24], eax
jmp 0x78ab98
mov eax, dword [eax]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
mov dword [esp + 0x78], ebx
jmp 0x78aa34
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edx, esi
sub ecx, 1
je 0x78be2d
lea edx, [esi + ecx*4]
mov edx, dword [edx]
mov dword [edx], eax
jmp 0x78a2dd
cmp dword [esp + 0x2c], 0
jne 0x789e12
mov dword [esp + 0x2c], 0xffffffff
jmp 0x789e12
mov eax, dword [eax]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
mov dword [esp + 0x78], ebx
jmp 0x78a997
mov dword [esp + 0x34], edi
mov ebx, ecx
mov edi, ecx
lea eax, [ebx + ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
test eax, eax
je 0x78c28a
mov edx, dword [esp + 0x24]
mov ecx, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x44], ebx
mov dword [edx], eax
add eax, ecx
mov dword [esp + 0x40], eax
jmp 0x78a717
mov dword [esp + 0x58], 0xffffffff
jmp 0x78bc1e
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edx, esi
sub ecx, 1
je 0x78bec4
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x78b4b3
cmp dword [esp + 0x48], 0
jne 0x78bee6
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x3c], ecx
mov dword [edx], eax
jmp 0x789244
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edx, esi
sub ecx, 1
je 0x78bef8
lea edx, [esi + ecx*4]
mov edx, dword [edx]
mov dword [edx], eax
jmp 0x789244
lea eax, [edi + 1]
cmp eax, ebp
jae 0x789dc0
mov ecx, dword [esp + 0x24]
mov ebp, eax
mov edx, dword [ecx]
jmp 0x789caa
mov eax, dword [esp + 0x44]
add eax, 1
cmp eax, ebx
jae 0x78bf48
mov ecx, dword [esp + 0x24]
mov ebx, eax
mov ecx, dword [ecx]
jmp 0x78ba60
mov eax, dword [eax]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
mov dword [esp + 0x78], ebx
jmp 0x78b76b
or eax, 0xffffffff
test dword [esp + 0x28], 0x400
jne 0x78bf71
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x44]
mov eax, dword [eax]
mov byte [eax + edi - 1], 0
xor edi, edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], edi
add eax, 1
lea edx, [esp + 0x80]
mov ecx, dword [esp + 0x24]
mov dword [esp], edx
lea edx, [esp + 0x74]
call fcn.00788ee0
mov dword [esp + 0x2c], eax
jmp 0x789224
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
xor ecx, ecx
jmp 0x78bfa2
mov ecx, 1
sub edx, 1
jne 0x78bf9d
jmp 0x78b2e3
cmp dword [esp + 0x48], 0
je 0x78b85d
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
xor ecx, ecx
jmp 0x78bfc8
mov ecx, 1
sub edx, 1
jne 0x78bfc3
test cl, cl
je 0x78bfdd
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x48]
lea ebx, [ecx + esi*4 - 4]
mov edx, dword [ebx]
mov dword [edx], eax
jmp 0x78a2dd
mov dword [esp + 0x18], ebp
mov dword [esp + 0x38], 8
jmp 0x78a1eb
cmp dword [esp + 0x48], 0
je 0x78b85d
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
xor ecx, ecx
jmp 0x78c013
mov ecx, 1
sub edx, 1
jne 0x78c00e
jmp 0x78bfcd
mov eax, dword [esp + 0x44]
add eax, 1
cmp eax, ebx
jae 0x78bf48
mov edi, dword [esp + 0x24]
mov ebx, eax
mov edx, dword [edi]
jmp 0x78b064
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edx, esi
sub ecx, 1
je 0x78c048
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x78ba1a
lea ecx, [edx - 0x69]
cmp cl, 0xf
jbe 0x789513
jmp case.0x7896c2.1
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edx, esi
sub ecx, 1
je 0x78c072
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x78bd59
add eax, 1
sub eax, esi
add ebx, eax
mov eax, dword [esp + 0x18]
movzx edi, byte [ebx]
test eax, eax
je 0x78aee0
sub eax, 1
jne 0x78a214
mov eax, dword [esp + 0x80]
movzx eax, byte [eax]
sub eax, 0x2b
test al, 0xfd
jne 0x78a214
jmp 0x78aef7
cmp dword [esp + 0x18], 0
je 0x78aee0
jmp 0x78a1f2
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x78c0d1
sub eax, 1
mov dword [esp + 0x58], eax
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
mov edx, esi
add ebx, 2
mov eax, ebp
call fcn.00788e70
mov ecx, edi
mov dword [esp + 0x54], 0xa91b1a
mov byte [eax + ebp], cl
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x80], eax
jmp 0x78c172
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov edi, eax
cmp eax, 0xffffffff
je 0x789e12
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_tolower
mov edx, eax
mov eax, dword [esp + 0x54]
movsx eax, byte [eax + 1]
cmp edx, eax
jne 0x789e12
test ebp, ebp
jle 0x78c138
sub ebp, 1
mov ecx, dword [esp + 0x80]
mov edx, esi
mov eax, ebx
call fcn.00788e70
lea ecx, [ebx + 1]
add dword [esp + 0x54], 1
mov dword [esp + 0x18], ecx
mov ecx, edi
mov dword [esp + 0x80], eax
mov byte [eax + ebx], cl
mov eax, dword [esp + 0x54]
cmp byte [eax + 1], 0
je 0x78aa56
mov ebx, dword [esp + 0x18]
test ebp, ebp
jne 0x78c0ff
jmp 0x789e12
mov eax, dword [eax]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
mov dword [esp + 0x78], ebx
jmp 0x78b6dc
mov esi, dword [esp + 0x18]
jmp 0x78a87e
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edx, esi
sub ecx, 1
je 0x78c1ad
lea edx, [esi + ecx*4]
mov edx, dword [edx]
jmp 0x78b82d
mov eax, dword [eax]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_ungetc
mov dword [esp + 0x78], ebx
jmp 0x78b9b3
mov eax, dword [esp + 0x44]
lea ecx, [eax + 1]
cmp ecx, ebp
jae 0x78c1ff
mov eax, dword [esp + 0x24]
mov ebp, ecx
mov eax, dword [eax]
jmp 0x78aded
mov eax, dword [esp + 0x44]
lea ecx, [eax + 1]
cmp ecx, ebx
jae 0x789dc0
mov eax, dword [esp + 0x24]
mov ebx, ecx
mov eax, dword [eax]
jmp 0x78997f
or eax, 0xffffffff
test dword [esp + 0x28], 0x400
jne 0x78bf71
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov word [eax + ebx - 2], 0
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x24], ebx
add eax, 1
jmp 0x78bf71
mov ecx, ebx
mov edx, esi
mov eax, 1
call fcn.00788e70
mov ecx, edi
mov edx, dword [esp + 0x34]
mov byte [eax + 1], cl
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x28]
and ah, 0xfe
or eax, 0x40
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
call fcn.00788f70
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x54], 0x70
mov edi, eax
xor eax, eax
mov dword [esp + 0x18], 2
test ecx, ecx
cmovns eax, ecx
sub eax, 1
mov dword [esp + 0x58], eax
jmp 0x789fc8
mov eax, dword [esp + 0x44]
add eax, 1
cmp eax, ebx
jae 0x78c29c
mov ebx, eax
jmp 0x78be6d
or eax, 0xffffffff
test dword [esp + 0x28], 0x400
jne 0x78bf71
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov eax, dword [eax]
mov word [eax + edi - 2], 0
mov eax, dword [esp + 0x2c]
add eax, 1
jmp 0x78bf71