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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov ebx, dword [ebp + 8]
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [esp + 0x58], eax
xor edi, edi
test ebx, ebx
je 0x1015d23b
mov eax, dword [ebx + 0xc8]
mov dword [esp], eax
test eax, eax
je 0x1015d23b
mov edx, dword [ebx]
mov esi, dword [edx + 0xc]
test esi, esi
je 0x1015cde2
mov ecx, dword [0x101ef070]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov edx, dword [ebx]
xor eax, eax
mov dword [esp + 0x50], eax
mov ecx, dword [edx + 0x78]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov word [esp + 0x4c], 0
cmp dword [edx + 0xc8], 2
mov esi, dword [esp]
jl 0x1015ceb8
mov al, byte [esi]
test al, al
je 0x1015d1e1
lea ecx, [esi + 1]
xor edx, edx
dec edx
mov edi, ecx
mov ebx, edx
cmp al, 0xa
je 0x1015ce3a
mov al, byte [edi]
lea ecx, [edi + 1]
lea edx, [ebx - 1]
test al, al
jne 0x1015ce26
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
lea eax, [edx + 3]
cmp eax, ecx
mov dword [esp], edi
jae 0x1015ce61
mov dword [esp + 0x48], eax
mov edi, dword [esp + 0x3c]
mov byte [edi + edx + 2], 0x20
mov word [edi + edx], 0x2d2d
jmp 0x1015ce7c
lea ecx, [esp + 0x38]
mov edx, 0x101dfd1c
push 3
call fcn.10067d20
add esp, 4
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
mov edi, ebx
neg edi
mov edx, eax
sub edx, ebx
cmp edx, ecx
jae 0x1015cea1
test ebx, ebx
je 0x1015ceb0
mov dword [esp + 0x48], edx
add eax, dword [esp + 0x3c]
push edi
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x1015ceb0
lea ecx, [esp + 0x38]
mov edx, esi
push edi
call fcn.10067d20
add esp, 4
mov esi, dword [esp]
jmp 0x1015ce16
cmp word [ebx + 0x10], 0
je 0x1015d1c4
mov dword [esp + 8], edx
cmp byte [esi], 0
je 0x1015d1e1
xor eax, eax
inc eax
mov dword [esp + 4], eax
mov dword [esp], esi
xor ebx, ebx
mov ecx, esi
lea edx, [esp + 0x54]
call fcn.1016b290
mov edi, eax
cmp dword [esp + 0x54], 0x9c
je 0x1015cf03
add ebx, edi
mov eax, edi
add eax, esi
cmp byte [esi + edi], 0
mov esi, eax
jne 0x1015cedc
xor edi, edi
mov eax, dword [esp + 0x48]
lea ecx, [eax + ebx]
cmp ecx, dword [esp + 0x40]
jae 0x1015cf2c
test ebx, ebx
je 0x1015cf3c
mov dword [esp + 0x48], ecx
add eax, dword [esp + 0x3c]
push ebx
push dword [esp + 4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x1015cf3c
lea ecx, [esp + 0x38]
mov edx, dword [esp]
push ebx
call fcn.10067d20
add esp, 4
test edi, edi
mov eax, dword [esp]
je 0x1015d1e1
add eax, ebx
cmp byte [eax], 0x3f
jne 0x1015cf6e
mov ecx, eax
cmp edi, 2
mov esi, dword [ebp + 8]
jl 0x1015cffc
mov ebx, ecx
inc ecx
lea edx, [esp + 0x50]
call fcn.10038560
mov eax, dword [esp + 0x50]
jmp 0x1015cf88
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x80]
mov ebx, eax
mov edx, eax
push edi
call fcn.100752a0
add esp, 4
mov dword [esp + 0x50], eax
mov edx, dword [esp + 4]
add ebx, edi
mov dword [esp], ebx
lea ecx, [eax + 1]
cmp ecx, edx
cmovg edx, ecx
mov esi, dword [esi + 0x64]
dec eax
lea edi, [eax + eax*4]
movzx ecx, word [esi + edi*8 + 0x10]
test cl, 1
mov dword [esp + 4], edx
jne 0x1015cfde
lea eax, [esi + edi*8]
test cl, 0x24
je 0x1015d01f
push dword [eax + 4]
push dword [eax]
push 0x101ceb77
lea eax, [esp + 0x44]
push eax
call fcn.1006e360
add esp, 0x10
mov esi, dword [esp]
cmp byte [esi], 0
jne 0x1015ced7
jmp 0x1015d1e1
mov eax, dword [esp + 0x48]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x40]
jae 0x1015d00a
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ecx + eax], 0x4c4c554e
jmp 0x1015cfcd
mov edx, dword [esp + 4]
mov dword [esp + 0x50], edx
mov eax, edx
mov ebx, ecx
jmp 0x1015cf8c
lea ecx, [esp + 0x38]
mov edx, 0x101d3833
push 4
call fcn.10067d20
add esp, 4
jmp 0x1015cfcd
test cl, 8
jne 0x1015d053
test cl, 2
jne 0x1015d074
bt ecx, 0xa
jb 0x1015d091
mov eax, dword [esp + 0x48]
lea ecx, [eax + 2]
cmp ecx, dword [esp + 0x40]
jae 0x1015d132
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x3c]
mov word [ecx + eax], 0x2778
jmp 0x1015d145
movsd xmm0, qword [eax]
sub esp, 0x10
movsd qword [esp + 8], xmm0
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], str.__.15g
jmp 0x1015cfc5
mov ecx, dword [esp + 8]
mov al, byte [ecx + 0x54]
cmp al, 1
jne 0x1015d0aa
push dword [esi + edi*8 + 8]
push dword [esi + edi*8 + 0xc]
push str._.q
jmp 0x1015cfc0
push dword [eax]
push str.zeroblob__d_
lea eax, [esp + 0x40]
push eax
call fcn.1006e360
add esp, 0xc
jmp 0x1015cfcd
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x24], ecx
mov edx, dword [esi + edi*8 + 8]
mov esi, dword [esi + edi*8 + 0xc]
mov edi, esi
sar edi, 0x1f
movzx eax, al
lea ecx, [esp + 0x10]
push ebx
push eax
push edi
push esi
call fcn.10030070
add esp, 0x10
test byte [esp + 0x20], 2
jne 0x1015d19d
mov byte [esp + 0x22], 1
mov esi, dword [esp]
lea edi, [esp + 0x38]
push dword [esp + 0x18]
push dword [esp + 0x20]
push str._.q
push edi
call fcn.1006e360
add esp, 0x10
test byte [esp + 0x21], 0x90
jne 0x1015d124
cmp dword [esp + 0x28], 0
je 0x1015cfd0
lea ecx, [esp + 0x10]
call fcn.10128780
jmp 0x1015cfd0
lea ecx, [esp + 0x38]
mov edx, 0x101def6d
push 2
call fcn.10067d20
add esp, 4
mov edx, dword [esi + edi*8 + 0xc]
test edx, edx
lea ebx, [esp + 0x38]
jle 0x1015d17f
lea eax, [esi + edi*8]
add eax, 8
mov dword [esp + 0xc], eax
xor edi, edi
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + edi]
push eax
push str._02x
push ebx
mov esi, edx
call fcn.1006e360
mov edx, esi
add esp, 0xc
inc edi
cmp esi, edi
jne 0x1015d15d
mov eax, dword [esp + 0x48]
lea ecx, [eax + 1]
cmp ecx, dword [esp + 0x40]
jae 0x1015d1b4
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x3c]
mov byte [ecx + eax], 0x27
jmp 0x1015cfcd
cmp byte [esp + 0x22], 1
mov esi, dword [esp]
lea edi, [esp + 0x38]
jne 0x1015d27e
jmp 0x1015d0fc
lea ecx, [esp + 0x38]
mov edx, 0x101df50a
push 1
jmp 0x1015d015
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
and eax, 0x3fffffff
lea ecx, [esp + 0x38]
mov edx, esi
push eax
call fcn.10067d20
add esp, 4
cmp byte [esp + 0x4c], 0
je 0x1015d250
mov al, byte [esp + 0x4d]
test al, 4
mov esi, dword [ebp + 8]
je 0x1015d20e
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x1015d208
mov ecx, dword [esp + 0x38]
call fcn.1014d210
mov al, byte [esp + 0x4d]
and al, 0xfb
mov byte [esp + 0x4d], al
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], eax
mov edi, dword [esp + 0x3c]
mov eax, dword [esi]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x1015d23b
mov ecx, dword [0x101ef078]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.10156ff0
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x3c]
test eax, eax
mov esi, dword [ebp + 8]
je 0x1015d21c
mov ecx, dword [esp + 0x48]
mov byte [eax + ecx], 0
cmp dword [esp + 0x44], 0
je 0x1015d21c
test byte [esp + 0x4d], 4
jne 0x1015d21c
lea ecx, [esp + 0x38]
call fcn.10067a00
mov edi, eax
jmp 0x1015d220
lea ecx, [esp + 0x10]
xor edx, edx
inc edx
call fcn.10129540
cmp eax, 7
jne 0x1015d0fc
mov byte [esp + 0x4c], 7
mov dword [esp + 0x40], 0
jmp 0x1015d0fc