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

Disassembly:
sub esp, 0x60
mov ecx, dword [esp + 0x6c]
push ebx
lea eax, [esp + 0x48]
push ebp
push esi
mov dword [esp + 0x10], eax
push edi
xor eax, eax
xor esi, esi
xor edx, edx
mov edi, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x40], eax
mov ebp, ecx
mov dword [esp + 0x20], edi
mov cl, byte [ebp]
cmp cl, 0x20
je 0x7802ea58
cmp cl, 9
je 0x7802ea58
cmp cl, 0xa
je 0x7802ea58
cmp cl, 0xd
jne 0x7802ea5b
inc ebp
jmp 0x7802ea41
mov ecx, 1
jmp 0x7802ea66
mov edx, dword [esp + 0x10]
mov bl, byte [ebp]
inc ebp
cmp eax, 0xb
mov byte [esp + 0x7c], bl
ja case.0x7802ea77.10
jmp dword [eax*4 + 0x7802f050]
cmp bl, 0x31
jl 0x7802ea92
cmp bl, 0x39
jg 0x7802ea92
mov eax, 3
jmp 0x7802eec2
cmp bl, byte [0x7803e558]
jne 0x7802eaa4
mov eax, 5
jmp case.0x7802ea77.10
movsx eax, bl
sub eax, 0x2b
je 0x7802ead3
sub eax, 2
je 0x7802eac1
sub eax, 3
jne case.0x7802eb26.48
mov eax, ecx
jmp case.0x7802ea77.10
mov eax, 2
mov dword [esp + 0x34], 0x8000
jmp case.0x7802ea77.10
mov eax, 2
mov dword [esp + 0x34], 0
jmp case.0x7802ea77.10
cmp bl, 0x31
mov dword [esp + 0x18], ecx
jl 0x7802eafd
cmp bl, 0x39
jg 0x7802eafd
mov eax, 3
jmp 0x7802eec2
cmp bl, byte [0x7803e558]
jne 0x7802eb0f
mov eax, 4
jmp case.0x7802ea77.10
movsx eax, bl
add eax, 0xffffffd5
cmp eax, 0x3a
ja case.0x7802eb26.48
xor edx, edx
mov dl, byte [eax + 0x7802f098]
jmp dword [edx*4 + 0x7802f080]
cmp bl, 0x31
jl 0x7802eb41
cmp bl, 0x39
jg 0x7802eb41
mov eax, 3
jmp 0x7802eec2
cmp bl, byte [0x7803e558]
jne 0x7802eb53
mov eax, 5
jmp case.0x7802ea77.10
cmp bl, 0x30
je case.0x7802eb26.45
mov eax, 0xa
mov ebp, edi
jmp case.0x7802ea77.10
mov eax, ecx
jmp case.0x7802ea77.10
mov dword [esp + 0x18], ecx
cmp dword [sym.MSVCRT.dll___mb_cur_max], ecx
jle 0x7802eb92
mov eax, dword [esp + 0x7c]
push 4
and eax, 0xff
push eax
call sym.MSVCRT.dll__isctype
add esp, 8
mov ecx, 1
jmp 0x7802eba7
mov edx, dword [esp + 0x7c]
mov eax, dword [sym.MSVCRT.dll__pctype]
and edx, 0xff
mov al, byte [eax + edx*2]
and eax, 4
test eax, eax
je 0x7802ebdc
cmp esi, 0x19
jae 0x7802ebc9
mov eax, dword [esp + 0x14]
sub bl, 0x30
inc esi
mov byte [eax], bl
mov bl, byte [ebp]
inc eax
mov byte [esp + 0x7c], bl
mov dword [esp + 0x14], eax
inc ebp
jmp 0x7802eb6f
mov eax, dword [esp + 0x10]
mov bl, byte [ebp]
inc eax
mov byte [esp + 0x7c], bl
mov dword [esp + 0x10], eax
inc ebp
jmp 0x7802eb6f
mov al, byte [0x7803e558]
mov dword [esp + 0x1c], esi
cmp bl, al
jne 0x7802ebf3
mov eax, 4
jmp case.0x7802ea77.10
movsx eax, bl
add eax, 0xffffffd5
cmp eax, 0x3a
ja case.0x7802eb26.48
xor edx, edx
mov dl, byte [eax + 0x7802f0e8]
jmp dword [edx*4 + 0x7802f0d4]
test esi, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], ecx
jne 0x7802ec34
cmp bl, 0x30
jne 0x7802ec34
mov bl, byte [ebp]
dec edx
inc ebp
cmp bl, 0x30
mov byte [esp + 0x7c], bl
je 0x7802ec22
mov dword [esp + 0x10], edx
cmp dword [sym.MSVCRT.dll___mb_cur_max], ecx
jle 0x7802ec57
mov eax, dword [esp + 0x7c]
push 4
and eax, 0xff
push eax
call sym.MSVCRT.dll__isctype
add esp, 8
mov ecx, 1
jmp 0x7802ec6c
mov edx, dword [esp + 0x7c]
mov eax, dword [sym.MSVCRT.dll__pctype]
and edx, 0xff
mov al, byte [eax + edx*2]
and eax, 4
test eax, eax
je 0x7802ec97
cmp esi, 0x19
jae 0x7802ec8d
mov eax, dword [esp + 0x14]
sub bl, 0x30
inc esi
mov byte [eax], bl
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
mov bl, byte [ebp]
inc ebp
mov byte [esp + 0x7c], bl
jmp 0x7802ec34
movsx eax, bl
add eax, 0xffffffd5
mov dword [esp + 0x1c], esi
cmp eax, 0x3a
ja case.0x7802eb26.48
xor edx, edx
mov dl, byte [eax + 0x7802f138]
jmp dword [edx*4 + 0x7802f124]
mov eax, 6
jmp case.0x7802ea77.10
dec ebp
mov eax, 0xb
jmp case.0x7802ea77.10
mov eax, dword [sym.MSVCRT.dll___mb_cur_max]
mov dword [esp + 0x30], ecx
cmp eax, ecx
jle 0x7802ecf1
mov eax, dword [esp + 0x7c]
push 4
and eax, 0xff
push eax
call sym.MSVCRT.dll__isctype
add esp, 8
jmp 0x7802ed07
mov ecx, dword [esp + 0x7c]
mov edx, dword [sym.MSVCRT.dll__pctype]
and ecx, 0xff
mov al, byte [edx + ecx*2]
and eax, 4
test eax, eax
je 0x7802ed1b
mov eax, 4
dec ebp
mov ecx, 1
jmp case.0x7802ea77.10
mov eax, 0xa
mov ebp, edi
mov ecx, 1
jmp case.0x7802ea77.10
lea edi, [ebp - 2]
cmp bl, 0x31
mov dword [esp + 0x20], edi
jl 0x7802ed47
cmp bl, 0x39
jg 0x7802ed47
mov eax, 9
jmp 0x7802eec2
movsx eax, bl
sub eax, 0x2b
je 0x7802eeb6
sub eax, 2
je 0x7802eea7
sub eax, 3
jmp 0x7802eda6
cmp bl, 0x30
mov dword [esp + 0x2c], ecx
jne 0x7802ed73
mov bl, byte [ebp]
inc ebp
cmp bl, 0x30
je 0x7802ed6a
cmp bl, 0x31
jl case.0x7802eb26.48
cmp bl, 0x39
jg case.0x7802eb26.48
mov eax, 9
jmp 0x7802eec2
cmp bl, 0x31
jl 0x7802eda3
cmp bl, 0x39
jg 0x7802eda3
mov eax, 9
jmp 0x7802eec2
cmp bl, 0x30
je 0x7802edb4
mov eax, 0xa
mov ebp, edi
jmp case.0x7802ea77.10
mov eax, 8
jmp case.0x7802ea77.10
mov dword [esp + 0x2c], ecx
xor edi, edi
cmp dword [sym.MSVCRT.dll___mb_cur_max], ecx
jle 0x7802ede4
mov esi, dword [esp + 0x7c]
push 4
mov eax, esi
and eax, 0xff
push eax
call sym.MSVCRT.dll__isctype
add esp, 8
jmp 0x7802edfc
mov esi, dword [esp + 0x7c]
mov edx, dword [sym.MSVCRT.dll__pctype]
mov ecx, esi
and ecx, 0xff
mov al, byte [edx + ecx*2]
and eax, 4
test eax, eax
je 0x7802ee26
movsx ecx, bl
lea eax, [edi + edi*4]
lea edi, [ecx + eax*2 - 0x30]
cmp edi, 0x1450
jg 0x7802ee21
mov bl, byte [ebp]
inc ebp
mov byte [esp + 0x7c], bl
mov ecx, 1
jmp 0x7802edc4
mov edi, 0x1451
mov dword [esp + 0x28], edi
cmp dword [sym.MSVCRT.dll___mb_cur_max], 1
jle 0x7802ee46
and esi, 0xff
push 4
push esi
call sym.MSVCRT.dll__isctype
add esp, 8
jmp 0x7802ee58
mov edx, dword [sym.MSVCRT.dll__pctype]
and esi, 0xff
mov al, byte [edx + esi*2]
and eax, 4
test eax, eax
je 0x7802ee6a
mov al, byte [ebp]
inc ebp
mov byte [esp + 0x7c], al
mov esi, dword [esp + 0x7c]
jmp 0x7802ee2a
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov eax, 0xa
dec ebp
mov ecx, 1
jmp case.0x7802ea77.10
mov eax, dword [esp + 0x8c]
test eax, eax
je case.0x7802eb26.48
movsx eax, bl
lea edi, [ebp - 1]
sub eax, 0x2b
mov dword [esp + 0x20], edi
je 0x7802eeb6
sub eax, 2
je 0x7802eea7
mov eax, 0xa
mov ebp, edi
jmp case.0x7802ea77.10
mov eax, 7
mov dword [esp + 0x24], 0xffffffff
jmp case.0x7802ea77.10
mov eax, 7
jmp case.0x7802ea77.10
mov eax, 0xa
dec ebp
cmp eax, 0xa
jne 0x7802ea62
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [ecx], ebp
je 0x7802ef84
cmp esi, 0x18
jbe 0x7802ef06
mov al, byte [esp + 0x6b]
cmp al, 5
jl 0x7802eef1
inc al
mov byte [esp + 0x6b], al
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
dec eax
inc ecx
mov esi, 0x18
mov dword [esp + 0x10], ecx
jmp 0x7802ef0e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test esi, esi
jbe 0x7802f043
mov dl, byte [eax - 1]
dec eax
test dl, dl
jne 0x7802ef2c
mov dl, byte [eax - 1]
dec esi
inc ecx
dec eax
test dl, dl
je 0x7802ef1e
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x44]
lea eax, [esp + 0x54]
push edx
push esi
push eax
call fcn.78030070
mov eax, dword [esp + 0x30]
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x28]
jge 0x7802ef4d
neg eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
add eax, edx
test ecx, ecx
jne 0x7802ef62
add eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x7802ef71
sub eax, dword [esp + 0x88]
cmp eax, 0x1450
jle 0x7802f004
mov dword [esp + 0x38], 1
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x7802efab
xor ecx, ecx
xor eax, eax
xor edx, edx
xor esi, esi
mov ebx, 4
jmp 0x7802efe3
mov edi, dword [esp + 0x38]
test edi, edi
je 0x7802efc8
xor esi, esi
mov eax, 0x7fff
mov edx, 0x80000000
xor ecx, ecx
mov ebx, 2
jmp 0x7802efe3
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x7802efdf
xor ecx, ecx
xor eax, eax
xor edx, edx
xor esi, esi
mov ebx, 1
jmp 0x7802efe3
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x74]
mov word [edi], cx
mov ecx, dword [esp + 0x34]
or eax, ecx
mov dword [edi + 2], esi
mov dword [edi + 6], edx
mov word [edi + 0xa], ax
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x60
ret
cmp eax, 0xffffebb0
jge 0x7802f018
mov dword [esp + 0x3c], 1
jmp 0x7802ef84
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x44]
push ecx
push eax
push edx
call fcn.78030430
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x52]
mov edx, dword [esp + 0x56]
mov eax, dword [esp + 0x5a]
add esp, 0xc
jmp 0x7802ef94
xor ecx, ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x7802ef94