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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x64]
mov ebx, eax
or ebx, dword [esp + 0x60]
jne 0x6adac950
mov ebp, 0x18
test byte [esp + 0x78], 4
je 0x6adac946
lea edx, [esp + 0x68]
lea eax, [esp + 0x64]
call fcn.6adac660
mov ebp, eax
test ebp, ebp
je 0x6adacb67
add esp, 0x4c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
test eax, eax
je 0x6adacb4e
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x38]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
call fcn.6adac810
mov ebp, eax
test eax, eax
jne 0x6adac946
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov ecx, 0xa
lea eax, [edx + 1]
mov word [esi + edx*2], cx
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x74]
xor edi, edi
mov ecx, 0xffffffff
test ebx, ebx
jle 0x6adac9cc
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x74]
xor edx, edx
mov ebx, 1
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x70]
mov eax, dword [esi + edx*8]
cmp word [eax], 0
cmovne edi, ebx
cmove ecx, edx
add edx, 1
cmp edx, ebp
jne 0x6adac9b0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add eax, eax
lea edx, [esi + eax]
mov dword [esp + 0x10], edx
cmp esi, edx
je 0x6adacb3c
mov edx, dword [esp + 0x78]
sar eax, 1
mov ebx, esi
mov ebp, 1
and edx, 1
mov dword [esp + 0x20], edx
test esi, esi
je 0x6adacb3c
mov edx, edi
mov dword [esp + 0x1c], esi
mov esi, ebp
mov byte [esp + 0x27], dl
mov dword [esp + 0x14], ecx
test eax, eax
je 0x6adacb38
lea esi, [esi]
mov edi, ebx
jmp 0x6adaca2c
add edi, 2
sub eax, 1
je 0x6adacb38
cmp word [edi], 0xa
jne 0x6adaca20
jmp 0x6adaca56
mov dword [esp + 4], 8
movzx eax, word [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_iswctype
test eax, eax
je 0x6adacbc0
add ebx, 2
cmp ebx, edi
jb 0x6adaca38
mov ebp, edi
mov eax, ebp
sub eax, ebx
je 0x6adacb17
movzx edx, word [ebx]
cmp dx, 0x3b
je 0x6adacb17
cmp dx, 0x23
je 0x6adacb17
xor edx, edx
mov word [ebp], dx
movzx ecx, word [ebx]
mov word [esp + 0x18], cx
cmp cx, 0x5b
je 0x6adacc00
mov ebp, dword [esp + 0x14]
test ebp, ebp
js 0x6adacc90
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x6adacad0
movzx edx, word [esp + 0x18]
cmp dx, 0x22
sete cl
cmp dx, 0x27
mov ebp, ecx
sete cl
mov edx, ebp
or cl, dl
je 0x6adacad0
cmp eax, 2
jne 0x6adaccb0
lea esi, [esi]
mov ebp, dword [esp + 0x7c]
test ebp, ebp
je 0x6adacaf3
mov eax, dword [esp + 0x60]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [esp + 0x7c]
test eax, eax
jne 0x6adacd5b
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x14]
mov ebp, dword [eax + ecx*8 + 4]
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
cmp dword [ebp + 8], eax
je 0x6adacccf
lea ecx, [eax + 1]
mov dword [ebp + 4], ecx
mov dword [edx + eax*4], ebx
mov eax, dword [esp + 0x10]
lea ebx, [edi + 2]
add esi, 1
cmp ebx, eax
je 0x6adacb38
mov eax, dword [esp + 0x10]
sub eax, ebx
sar eax, 1
test eax, eax
jne 0x6adaca18
lea esi, [esi]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
xor ebp, ebp
mov dword [eax], esi
add esp, 0x4c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
lea ecx, [esp + 0x68]
lea edx, [esp + 0x64]
mov eax, ebx
call fcn.6adac710
mov ebp, eax
test ebp, ebp
jne 0x6adac946
lea eax, [esp + 0x3c]
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x38]
mov dword [esp], eax
mov eax, esi
call fcn.6adac810
mov dword [esp], esi
mov ebp, eax
call fcn.6adaeef0
test ebp, ebp
jne 0x6adac946
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov edi, 0xa
test ebx, ebx
lea eax, [edx + 1]
mov word [esi + edx*2], di
mov edx, str._stdin_
cmovne edx, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x60], edx
jmp 0x6adac98a
mov ebp, edi
cmp ebx, edi
jb 0x6adacbdb
jmp 0x6adaca5c
sub ebp, 2
cmp ebx, ebp
jae 0x6adaca5c
mov dword [esp + 4], 8
movzx eax, word [ebp - 2]
mov dword [esp], eax
call sub.msvcrt.dll_iswctype
test eax, eax
jne 0x6adacbd0
jmp 0x6adaca5c
lea ebp, [ebx + eax - 2]
cmp word [ebp], 0x5d
jne 0x6adaca95
cmp byte [esp + 0x27], 0
je 0x6adaca95
xor eax, eax
mov word [ebp], ax
mov eax, dword [esp + 0x74]
test eax, eax
jle 0x6adacd73
lea eax, [ebx + 2]
xor ecx, ecx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x14], ebx
mov ebx, eax
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x2c], esi
mov esi, ecx
jmp 0x6adacc5a
add esi, 1
cmp ebp, esi
je 0x6adacd63
mov eax, dword [edi + esi*8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x6adacc4f
mov ebp, dword [esp + 0x28]
mov eax, 0x5d
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x2c]
mov word [ebp], ax
jmp 0x6adacb17
cmp dword [esp + 0x14], 0xffffffff
jne 0x6adacb17
test byte [esp + 0x78], 2
jne 0x6adacb17
jmp 0x6add63cd
lea eax, [ebx + eax - 2]
movzx edx, word [esp + 0x18]
cmp dx, word [eax]
jne 0x6adacad0
xor edx, edx
add ebx, 2
mov word [eax], dx
jmp 0x6adacad0
lea ecx, [eax + eax*2]
add eax, 4
mov dword [esp], edx
shr ecx, 1
cmp ecx, eax
cmovb ecx, eax
lea eax, [ecx*4]
mov dword [esp + 0x18], ecx
mov dword [esp + 4], eax
call fcn.6adaef00
mov edx, eax
test eax, eax
je 0x6adacd0b
mov ecx, dword [esp + 0x18]
mov dword [ebp], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ecx
jmp 0x6adacb0e
mov esi, dword [esp + 0x1c]
mov ebp, 0x27
mov edi, dword [esp + 0x74]
xor ebx, ebx
test edi, edi
jle 0x6adacd49
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x70]
mov esi, ebx
mov ebx, dword [esp + 0x74]
lea esi, [esi]
mov edx, dword [edi + esi*8 + 4]
add esi, 1
mov edx, dword [edx]
mov dword [esp], edx
call fcn.6adaeef0
cmp ebx, esi
jne 0x6adacd30
mov esi, dword [esp + 0x10]
mov dword [esp], esi
call fcn.6adaeef0
add esp, 0x4c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x1c]
mov ebp, eax
jmp 0x6adacd14
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov eax, 0x5d
mov word [ebp], ax
test byte [esp + 0x78], 2
je 0x6add63ea
mov dword [esp + 0x14], 0xfffffffe
jmp 0x6adacb17
mov eax, dword [esp + 0x60]
mov dword [esp + 8], esi
mov dword [esp], str._ls:_lu:_Not_in_a_bracketed_section_
mov dword [esp + 4], eax
call fcn.6add55fc
jmp 0x6adacb17
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], str._ls:_lu:_Unrecognized_section___ls_
call fcn.6add55fc
jmp 0x6adacd87