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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10004d65
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x100080c0]
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 0x10003857
movzx esi, cx
mov ecx, dword [edx + 0x10]
cmp esi, ecx
jb 0x100038df
mov eax, dword [edx + 0x14]
add eax, ecx
cmp esi, eax
ja 0x100038df
sub esi, ecx
mov esi, dword [edi + esi*4]
add esi, ebx
jmp 0x100038b4
mov eax, dword [edx + 0x18]
xor edi, edi
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100038b4
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 0x10003890
test dl, dl
je 0x1000388c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10003890
add ecx, 2
add eax, 2
test dl, dl
jne 0x10003870
xor eax, eax
jmp 0x10003895
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100038a8
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 0x10003863
mov edx, dword [ebp - 0x24]
cmp esi, edx
jb 0x100039ee
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x7c]
add eax, edx
cmp esi, eax
jae 0x100039ee
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 0x100038f3
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 + str.nO_aBJZTzRZQZRy]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x4c], al
and ecx, 0x800000ff
jns 0x1000392d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x10
jl 0x10003910
mov byte [ebp - 0x3c], 0
mov dword [ebp - 4], 0
call fcn.100037a0
lea edx, [ebp - 0x4c]
mov ecx, eax
call fcn.100037d0
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 0x100039da
mov ecx, 0x6c
xor edx, edx
nop
mov al, byte [edx + 0x1000651c]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x38], al
and ecx, 0x800000ff
jns 0x1000398d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10003970
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 1
call fcn.100037a0
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.100037d0
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 0x100039e4
lea edx, [ebx + 1]
call fcn.100037d0
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