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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100139a5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x1001a0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], edx
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
xor esi, esi
mov ecx, dword [ebp - 0x10]
add eax, ebx
mov dword [ebp - 0x28], eax
mov edx, dword [eax + 0x78]
mov eax, dword [edx + ebx + 0x24]
add edx, ebx
add eax, ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], eax
mov edi, dword [edx + 0x1c]
mov eax, dword [edx + 0x20]
add edi, ebx
add eax, ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], eax
test ecx, 0xffff0000
jne 0x10012317
movzx esi, cx
mov ecx, dword [edx + 0x10]
cmp esi, ecx
jb 0x1001239f
mov eax, dword [edx + 0x14]
add eax, ecx
cmp esi, eax
ja 0x1001239f
sub esi, ecx
mov esi, dword [edi + esi*4]
add esi, ebx
jmp 0x10012374
mov eax, dword [edx + 0x18]
xor edi, edi
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10012374
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + edi*4]
add eax, ebx
nop dword [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10012350
test dl, dl
je 0x1001234c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10012350
add ecx, 2
add eax, 2
test dl, dl
jne 0x10012330
xor eax, eax
jmp 0x10012355
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10012368
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
movzx eax, word [eax + edi*2]
mov esi, dword [ecx + eax*4]
add esi, ebx
mov ecx, dword [ebp - 0x10]
inc edi
cmp edi, dword [ebp - 0x20]
jb 0x10012323
mov edx, dword [ebp - 0x24]
cmp esi, edx
jb 0x100124ae
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x7c]
add eax, edx
cmp esi, eax
jae 0x100124ae
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
test edi, edi
jne 0x100123b3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x2e
push edi
xor esi, esi
call dword [sym.imp.VCRUNTIME140.dll_strchr]
mov ebx, eax
add esp, 8
mov ecx, 0x29
xor edx, edx
mov byte [ebx], 0
nop dword [eax]
mov al, byte [edx + 0x10017ab8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x4c], al
and ecx, 0x800000ff
jns 0x100123ed
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x10
jl 0x100123d0
mov byte [ebp - 0x3c], 0
mov dword [ebp - 4], 0
call fcn.10012260
lea edx, [ebp - 0x4c]
mov ecx, eax
call fcn.10012290
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x14]
call dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x1001249a
mov ecx, 0x6c
xor edx, edx
nop
mov al, byte [edx + 0x10017acc]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x38], al
and ecx, 0x800000ff
jns 0x1001244d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10012430
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 1
call fcn.10012260
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.10012290
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x28], eax
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0
push dword [ebp - 0x14]
call dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100124a4
lea edx, [ebx + 1]
call fcn.10012290
mov esi, eax
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret