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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x8070
call fcn.004cc6a0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea eax, [esp + 0x78]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x48], eax
xor ecx, ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 1
cdq
xor ebx, ebx
mov dword [esp + 0x38], eax
xorps xmm0, xmm0
lea eax, [esp + 0x48]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], eax
xor edx, edx
lea eax, [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x50], 0
mov dword [esp + 0x60], 1
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x40], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ebx
cmp word [ebp], cx
je 0x4a09be
mov edi, ebp
lea ebp, [ebx + ebx]
movzx eax, word [edi + ebp]
lea esi, [edi + ebp]
cmp eax, 0x7b
jne 0x4a06d4
inc edx
inc ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ebx
jmp 0x4a07d7
cmp eax, 0x7d
jne 0x4a06f1
dec edx
mov dword [esp + 0x24], edx
cmp edx, 1
jl 0x4a09be
inc ebx
mov dword [esp + 0x14], ebx
jmp 0x4a07d7
mov ebx, esi
test ebx, ebx
je 0x4a09b0
test ax, ax
je 0x4a073f
mov edi, eax
mov ecx, 0x4f0154
mov edx, 0x3b
nop dword [eax]
cmp di, dx
je 0x4a0733
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4a0710
movzx eax, word [ebx + 2]
add ebx, 2
mov edi, eax
test ax, ax
jne 0x4a0702
jmp 0x4a073b
cmp ebx, esi
je 0x4a09a8
mov edi, dword [esp + 0x18]
mov edx, str.i__unionstruct___s___sK
mov ecx, esi
call fcn.0046cb90
test eax, eax
je 0x4a0765
mov ebx, dword [esp + 0x14]
sub eax, ebp
mov ecx, dword [esp + 0x1c]
sub eax, edi
sar eax, 1
add ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x4a07d7
movzx eax, word [esi]
cmp eax, 0x5c
jne 0x4a07eb
cmp word [esi + 2], ax
jne 0x4a07eb
mov edi, eax
nop word [eax + eax]
mov ecx, 0x4ed4b4
mov edx, 0xd
nop word [eax + eax]
cmp di, dx
je 0x4a07bd
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4a0790
movzx eax, word [esi + 2]
add esi, 2
mov edi, eax
test ax, ax
jne 0x4a0780
mov al, byte [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x14]
sub esi, ebp
sub esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sar esi, 1
add ebx, esi
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x18]
cmp word [edi + ebx*2], 0
je 0x4a09be
mov edx, dword [esp + 0x24]
jmp 0x4a06b6
mov ebx, esi
test ax, ax
je 0x4a0835
mov edi, eax
nop dword [eax]
nop dword [eax + eax]
mov ecx, 0x4f01ac
mov edx, 0x3b
nop word [eax + eax]
cmp di, dx
je 0x4a08e0
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4a0810
movzx eax, word [ebx + 2]
add ebx, 2
mov edi, eax
test ax, ax
jne 0x4a0800
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ebx + ebx]
sub ecx, eax
sub ecx, edx
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x4a0850
lea esi, [edx + ebx*2]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4a0866
sub esi, ecx
sar esi, 1
add ebx, esi
xor eax, eax
mov dword [esp + 0x14], ebx
mov word [esp + esi*2 + 0x78], ax
lea edi, [esp + 0x78]
mov ax, word [esp + 0x78]
test ax, ax
je 0x4a08c5
movzx esi, ax
mov ecx, 0x4e8900
mov edx, 9
nop dword [eax]
cmp si, dx
je 0x4a095f
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4a08a0
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x4a0893
mov ecx, dword [esp + 0x1c]
cmp ecx, 4
jge 0x4a07d3
mov ecx, 4
mov dword [esp + 0x1c], ecx
jmp 0x4a07d3
test ebx, ebx
je 0x4a0835
movzx edi, word [esi]
nop dword [eax + eax]
mov ecx, 0x4f01b4
mov edx, 0x3b
nop word [eax + eax]
cmp di, dx
je 0x4a0923
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4a0900
movzx eax, word [esi + 2]
add esi, 2
mov edi, eax
test ax, ax
jne 0x4a08f0
xor esi, esi
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea eax, [ebx + ebx]
sub esi, eax
add eax, edi
sub esi, edi
sar esi, 1
push esi
push eax
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor ecx, ecx
lea eax, [ebx + esi]
add esp, 0xc
cmp word [edi + eax*2], 0x7d
setne cl
add ecx, esi
add ebx, ecx
jmp 0x4a0877
test edi, edi
je 0x4a08c5
push 3
lea eax, [esp + 0x30]
mov dword [esp + 0x24], 0
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004a09d0
mov eax, dword [esp + 0x30]
add esp, 0x10
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp ecx, eax
jge 0x4a07d7
movzx ecx, al
mov dword [esp + 0x1c], ecx
jmp 0x4a07d7
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
inc ebx
mov dword [esp + 0x14], ebx
jmp 0x4a07d7
pop edi
mov al, cl
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret