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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [esp + 0xf8], eax
test edx, edx
je 0x1005678d
mov edi, edx
mov ebx, ecx
mov ecx, dword [ebp + 8]
movzx eax, byte [edi + 8]
cmp eax, ecx
je 0x100566aa
cmp byte [edi + 0xa], 0
jne 0x10056a91
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x1005668c
jmp 0x1005678d
movzx eax, byte [edi + 9]
cmp eax, dword [ebp + 0x10]
jne 0x1005669e
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], edi
cmp dword [ebp + 0xc], 0
je 0x1005675f
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1005675f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
test eax, eax
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
jle 0x1005669e
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
xor esi, esi
mov dword [esp + 0x20], edx
test edx, edx
jle 0x10056748
lea eax, [esi + esi*4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax*4 + 0xc]
mov dword [esp + 8], eax
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov edi, dword [eax + ecx*8 + 8]
xor eax, eax
movzx ebx, byte [edi + eax]
mov edx, dword [esp + 8]
movzx edx, byte [edx + eax]
cmp bl, dl
jne 0x10056731
test ebx, ebx
je 0x1005675f
inc eax
jmp 0x1005671a
mov bl, byte [ebx + 0x101af7e8]
cmp bl, byte [edx + 0x101af7e8]
je 0x1005672e
inc ecx
mov edx, dword [esp + 0x20]
cmp ecx, edx
jne 0x10056710
inc esi
cmp esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
jne 0x100566fc
jmp 0x1005669e
mov edi, dword [esp + 0x18]
cmp byte [edi + 0xa], 0
jne 0x100567a3
mov ebx, dword [esp + 0xc]
mov ecx, ebx
mov edx, edi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10056be0
add esp, 0x10
mov ecx, dword [ebp + 8]
jmp 0x1005669e
mov ecx, dword [esp + 0xf8]
xor ecx, ebp
call fcn.10156ff0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esp + 0xc]
cmp dword [ebx + 0x78], 0
mov ecx, dword [ebp + 8]
jne 0x1005669e
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x88]
xorps xmm0, xmm0
lea esi, [esp + 0xa0]
movups xmmword [esi + 0x3c], xmm0
movaps xmmword [esi + 0x30], xmm0
movaps xmmword [esi + 0x20], xmm0
movaps xmmword [esi + 0x10], xmm0
movaps xmmword [esi], xmm0
lea edi, [esp + 0x50]
movaps xmmword [edi], xmm0
movaps xmmword [edi + 0x10], xmm0
movaps xmmword [edi + 0x20], xmm0
movaps xmmword [edi + 0x30], xmm0
movaps xmmword [edi + 0x40], xmm0
mov dword [esp + 0x14], eax
mov edx, dword [eax + 4]
xor ebx, ebx
mov dword [esp + 0x24], ecx
push ebx
call fcn.100015a0
add esp, 4
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
mov dword [edi], 1
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x18], eax
mov dword [edi + 0x34], 0xffffffff
mov ecx, dword [esp + 0xc]
mov edx, esi
push ebx
call fcn.1002f640
add esp, 4
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], ebx
mov ebx, dword [esp + 0xc]
jne 0x10056850
lea edx, [esp + 0xa0]
mov ecx, ebx
call fcn.1002fbf0
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x10056864
mov ecx, dword [esp + 0x24]
call fcn.10017250
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 4]
xor eax, eax
cmp dword [esi], 0
mov edi, dword [esp + 0x18]
jle 0x10056938
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 8], eax
lea ebx, [ecx + ecx*4]
mov edx, dword [esi + ebx*4 + 8]
test edx, edx
mov dword [esp + 0x28], ecx
je 0x10056aaa
movzx eax, byte [edx]
cmp eax, 0xb4
je 0x10056ad2
cmp eax, 0x8d
je 0x10056ab5
xor eax, eax
mov edi, dword [esp + 0x10]
mov ecx, edi
push eax
push eax
call fcn.10001810
add esp, 8
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
call fcn.101577d0
add esp, 4
cmp byte [edi + 0x57], 0
jne 0x10056aae
mov edx, dword [esi + ebx*4 + 0xc]
test edx, edx
mov dword [esp + 8], ebx
mov ebx, esi
je 0x1005691b
mov esi, eax
mov eax, dword [eax]
lea edi, [eax + eax*4]
mov ecx, dword [esp + 0x10]
call fcn.10038240
mov dword [esi + edi*4 - 8], eax
mov eax, dword [esp + 8]
mov eax, dword [ebx + eax*4 + 0x14]
and eax, 3
mov ecx, dword [esi + edi*4]
and ecx, 0xfffffffc
or ecx, eax
mov eax, esi
mov dword [esi + edi*4], ecx
mov edx, ebx
mov ecx, dword [esp + 0x28]
inc ecx
cmp ecx, dword [edx]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov esi, edx
mov edx, dword [esp + 0x14]
jl 0x10056884
cmp dword [ebx + 0x24], 0
jne 0x10056a6f
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
cmp dword [edx + 0x60], 0
mov esi, eax
jne 0x10056968
mov eax, dword [esi]
mov dword [edx + 0x60], eax
mov eax, dword [ebx + 0x28]
lea ecx, [eax + 1]
mov dword [ebx + 0x28], ecx
mov dword [edx + 0x5c], eax
lea ecx, [esp + 0x30]
mov dword [ecx], ebx
mov eax, dword [ebp + 0x18]
mov dword [ecx + 8], eax
mov dword [ecx + 0x18], 0x400
mov al, byte [edi + 8]
mov byte [ebx + 0x9c], al
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x7c], eax
mov dword [esp + 8], esi
mov edx, esi
call fcn.10030e90
test eax, eax
jne 0x10056a6b
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x57], 0
jne 0x10056a6b
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov esi, dword [ebx + 0x2c]
lea eax, [ecx + esi]
add eax, 2
inc esi
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0x64], esi
xor ebx, ebx
test ecx, ecx
mov edi, dword [esp + 0x20]
jle 0x10056a17
mov eax, dword [esp + 8]
lea edi, [eax + 8]
mov ebx, esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ecx
mov edx, dword [edi]
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0xc]
push ebx
call fcn.1004ee10
add esp, 4
mov ecx, dword [esp + 0x28]
call fcn.100439a0
cmp al, 0x45
je 0x10056bb8
inc ebx
add edi, 0x14
mov ecx, dword [esp + 0x10]
dec ecx
jne 0x100569dc
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
lea eax, [ebx + esi]
mov dword [esp + 0x10], eax
mov ecx, edi
mov edx, 0x61
push eax
push ebx
push esi
call fcn.1002fb80
add esp, 0xc
add ebx, esi
inc ebx
mov ecx, edi
mov edx, 0x7f
push 0
push ebx
mov esi, dword [esp + 0x1c]
push dword [esi + 0x5c]
call fcn.1002fb80
add esp, 0xc
mov ecx, edi
mov edx, 0x80
push ebx
push dword [esp + 0x14]
push dword [esi + 0x5c]
call fcn.1002fb80
add esp, 0xc
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 8]
test eax, eax
je 0x10056a7e
mov ecx, dword [esp + 0x24]
mov edx, eax
call fcn.10017250
mov byte [ebx + 0x9c], 0
mov dword [ebx + 0x7c], 0
jmp 0x10056785
cmp ecx, 0x81
jne 0x1005669e
cmp al, 0x7f
je 0x100566aa
jmp 0x1005669e
mov eax, dword [esp + 8]
mov edx, esi
jmp 0x1005691d
mov eax, dword [edx + 0x10]
cmp byte [eax], 0xb4
jne 0x100568b4
push str.RETURNING_may_not_use__TABLE.__wildcards
push dword [esp + 0x10]
call fcn.100463a0
add esp, 8
mov dword [esp + 0x2c], esi
mov eax, dword [ebp + 0x14]
cmp word [eax + 0x22], 0
jle 0x10056bd3
mov dword [esp + 0x1c], 0
xor esi, esi
mov eax, dword [esp + 8]
mov ebx, eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
test byte [eax + ecx + 0xe], 2
jne 0x10056b8d
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx]
mov dword [esp + 0x30], eax
test eax, eax
je 0x10056bb1
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
and eax, 0x3fffffff
lea ecx, [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, ecx
mov edi, dword [esp + 0x10]
mov ecx, edi
mov edx, 0x3b
push 0
push eax
call fcn.100383a0
add esp, 8
mov ecx, dword [esp + 0xc]
mov edx, ebx
push eax
call fcn.101577d0
add esp, 4
mov ebx, eax
cmp byte [edi + 0x57], 0
jne 0x10056b8d
mov edi, ebx
mov eax, dword [ebx]
lea eax, [eax + eax*4]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + ecx]
mov ecx, dword [esp + 0x10]
call fcn.10038240
mov ecx, dword [esp + 8]
mov dword [ebx + ecx*4 - 8], eax
and byte [ebx + ecx*4], 0xfc
mov ecx, esi
inc ecx
mov eax, dword [ebp + 0x14]
movsx eax, word [eax + 0x22]
add dword [esp + 0x1c], 0x10
mov esi, ecx
cmp ecx, eax
mov eax, ebx
mov edx, dword [esp + 0x2c]
jl 0x10056af2
jmp 0x1005691d
xor eax, eax
jmp 0x10056b2a
xor eax, eax
mov ecx, dword [esp + 0x20]
mov edx, 0x57
push eax
push eax
push ebx
call fcn.1002fb80
add esp, 0xc
jmp 0x10056a04
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x2c]
jmp 0x1005691d