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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c4
mov eax, dword [0x1008a418]
xor eax, esp
mov dword [esp + 0x4c0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x60], eax
xor eax, eax
push ebx
push esi
push edi
lea edi, [esp + 0x70]
and dword [esp + 0x24], 0
stosd dword es:[edi], eax
mov esi, edx
mov ebx, ecx
mov dword [esp + 0x94], esi
mov dword [esp + 0x1c], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x98]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0xa8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0xb8]
mov edi, 0x208
push edi
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [esp + 0x34]
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x2c0]
push edi
push eax
call fcn.100102ed
and dword [esp + 0x30], 0
and dword [esp + 0x2c], 0
test ebx, ebx
jne 0x10010691
mov esi, 0x80070057
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x4c]
lea ecx, [esp + 0x2c]
call fcn.100115c6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1001060f
xor edi, edi
cmp dword [esp + 0x78], edi
jbe 0x10010608
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x10010601
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x14]
and dword [eax + edi*4], 0
inc edi
cmp edi, dword [esp + 0x78]
jb 0x100105eb
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x1001063c
xor edi, edi
cmp dword [esp + 0x48], edi
jbe 0x10010635
cmp dword [ebx + edi*4], 0
je 0x1001062e
push dword [ebx + edi*4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [ebx + edi*4], 0
inc edi
cmp edi, dword [esp + 0x48]
jb 0x1001061b
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x88], 0
je 0x10010653
push dword [esp + 0x88]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0xa0], 0
je 0x1001066a
push dword [esp + 0xa0]
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [esp + 0x30], 0
lea ecx, [esp + 0x34]
call fcn.1000deab
mov ecx, dword [esp + 0x4cc]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10087900
mov esp, ebp
pop ebp
ret 0x10
test esi, esi
jne 0x100106b3
cmp dword [esp + 0x60], esi
jne 0x100106b3
cmp dword [esp + 0x64], esi
jne 0x100106b3
cmp dword [esp + 0x68], esi
jne 0x100106b3
cmp dword [esp + 0x6c], esi
jne 0x100106b3
inc esi
jmp 0x100105c6
xor ebx, ebx
mov dword [esp + 0x70], 0x3a56101f
inc ebx
mov dword [esp + 0x40], 0x3a54101f
mov dword [esp + 0x80], 0x3003001f
mov dword [esp + 0x98], 0x3002001f
mov dword [esp + 0xa8], 0x3a550003
push ebx
jmp 0x10010720
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edi, esp
push ecx
push ecx
mov esi, dword [eax]
push ecx
push ecx
lea ecx, [esp + 0xc8]
push ecx
mov ecx, dword [esi + 0xc]
push eax
call dword [0x1008c6d4]
call dword [esi + 0xc]
cmp edi, esp
je 0x10010718
mov ecx, 4
int 0x29
mov esi, eax
test esi, esi
js 0x10010745
inc ebx
push ebx
push 0x100042c0
lea eax, [esp + 0xc0]
push 0x104
push eax
call fcn.10010229
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x100106ea
jmp 0x100105c6
cmp esi, 0x80070003
jne 0x100105c6
cmp ebx, 1
je 0x100105c6
lea eax, [ebx - 1]
mov edi, eax
mov dword [esp + 0x5c], eax
shl edi, 2
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x7c], esi
test esi, esi
jne 0x10010787
mov esi, 0x8007000e
jmp 0x100105ce
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov dword [esp + 0x4c], ebx
test ebx, ebx
jne 0x100107a4
mov esi, 0x8007000e
jmp 0x100105d2
and dword [esp + 0x18], 0
xor edi, edi
inc edi
mov dword [esp + 0x28], edi
cmp dword [esp + 0x5c], edi
jb 0x10010b78
mov eax, esi
mov dword [esp + 0x20], ebx
sub eax, ebx
mov dword [esp + 0x90], eax
cmp dword [esp + 0x88], 0
jne 0x100108da
push edi
push 0x100042c0
lea eax, [esp + 0xc0]
push 0x104
push eax
call fcn.10010229
mov esi, eax
add esp, 0x10
test esi, esi
js 0x100105d2
lea ecx, [esp + 0x2c]
call fcn.100115c6
lea eax, [esp + 0xb8]
push 0x2f
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
push 0x444
call fcn.1008737f
add esp, 0xc
test eax, eax
je 0x1001082f
mov ecx, eax
call fcn.100291d3
jmp 0x10010831
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
test eax, eax
jne 0x10010844
mov esi, 0x8007000e
jmp 0x100108a1
mov ecx, dword [esp + 0x1c]
mov edi, esp
mov dword [eax + 4], ecx
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1008c6d4]
call esi
cmp edi, esp
je 0x10010868
mov ecx, 4
int 0x29
mov edi, dword [esp + 0x54]
lea eax, [esp + 0xb8]
push eax
lea ecx, [edi + 0x428]
call fcn.100115f7
mov esi, eax
test esi, esi
js 0x1001089d
mov ecx, edi
call fcn.100292a2
mov esi, eax
test esi, esi
js 0x1001089d
and dword [esp + 0x58], 0
xor esi, esi
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x58]
call fcn.100115c6
test esi, esi
js 0x100105d2
mov ecx, dword [esp + 0x2c]
push 0x100043cc
call fcn.100294c9
xor ecx, ecx
cmp cx, word [eax]
je 0x100108da
mov eax, dword [esp + 0x18]
mov dword [esp + 0xb0], eax
mov dword [esp + 0x24], 1
push edi
push 0x10004310
lea eax, [esp + 0xc0]
push 0x104
push eax
call fcn.10010229
mov esi, eax
add esp, 0x10
test esi, esi
js 0x100105d2
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0xbc]
call fcn.10019d7a
mov esi, eax
test esi, esi
jns 0x10010a28
cmp esi, 0x80070003
je 0x10010931
cmp dword [esp + 0x30], 0
jne 0x100105d2
mov eax, dword [esp + 0x18]
inc edi
mov dword [esp + 0x28], edi
cmp edi, dword [esp + 0x5c]
jbe 0x100107c9
test eax, eax
je 0x10010b78
cmp dword [esp + 0x88], 0
jne 0x10010992
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x88]
and dword [esp + 0xb0], 0
mov edx, dword [edx]
call fcn.10010488
mov esi, eax
test esi, esi
js 0x100105d2
mov edx, dword [ebx]
lea ecx, [esp + 0xa0]
call fcn.10010488
mov esi, eax
test esi, esi
js 0x100105d2
mov edi, dword [esp + 0x94]
test edi, edi
je 0x100109ab
lea esi, [esp + 0x70]
xor edx, edx
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x100109bf
mov edi, eax
lea esi, [esp + 0x40]
xor ebx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x100109dc
mov edi, eax
lea esi, [esp + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [esp + 0x88], 0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x100109f9
mov edi, eax
lea esi, [esp + 0x98]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [esp + 0xa0], 0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10010a0e
mov edi, eax
lea esi, [esp + 0xa8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100105d2
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x100105d2
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
call fcn.10046b29
mov esi, eax
test esi, esi
js 0x10010a10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x90]
and dword [esp + 0x10], 0
inc dword [esp + 0x78]
cmp dword [esp + 0x24], 0
mov dword [edx + ecx], eax
je 0x10010a80
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
call fcn.10046b29
mov esi, eax
test esi, esi
js 0x10010a10
mov eax, dword [esp + 0x10]
and dword [esp + 0x10], 0
mov dword [esp + 0x88], eax
push edi
push 0x10004370
lea eax, [esp + 0xc0]
push 0x104
push eax
call fcn.10010229
mov esi, eax
add esp, 0x10
test esi, esi
js 0x100105d2
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0xbc]
call fcn.10031469
mov esi, eax
test esi, esi
jns 0x10010b02
mov eax, dword [esp + 0x30]
cmp esi, 0x80070003
je 0x10010ad4
test eax, eax
jne 0x100105d2
add eax, eax
push eax
push 0
push dword [esp + 0x3c]
call sub.msvcrt.dll_memset
and dword [esp + 0x3c], 0
lea ecx, [esp + 0x3c]
add esp, 0xc
push 0x10004280
call fcn.100115f7
mov esi, eax
test esi, esi
js 0x100105d2
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
call fcn.10046b29
mov esi, eax
test esi, esi
js 0x10010a10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
and dword [esp + 0x10], 0
inc dword [esp + 0x48]
cmp dword [esp + 0x24], 0
mov dword [ecx], eax
je 0x10010b5e
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
call fcn.10046b29
mov esi, eax
test esi, esi
js 0x10010a10
mov eax, dword [esp + 0x10]
and dword [esp + 0x10], 0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x18]
add ecx, 4
inc eax
mov dword [esp + 0x20], ecx
and dword [esp + 0x24], 0
mov dword [esp + 0x18], eax
jmp 0x10010935
mov esi, 0x80070003
jmp 0x100105d2