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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x10cf230]
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov eax, dword [esi]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x2c]
mov ebx, eax
mov eax, dword [esi + 4]
or edi, 0xffffffff
test eax, eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x38], edi
je 0x1095962
mov ecx, dword [ebx]
push 0
push 0
push eax
push ebx
call dword [ecx + 0x6c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1095983
mov ecx, dword [ebx]
push eax
push ebx
call dword [ecx + 0x78]
cmp eax, edi
mov dword [ebp - 0x30], eax
jne 0x1095983
mov dword [ebp - 0x34], 0x8004138d
jmp 0x1095ca4
mov eax, dword [ebx]
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
push ecx
push ebx
call dword [eax + 0xb4]
test eax, eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
jl 0x1095c9b
test ecx, ecx
je 0x10959ab
mov ebx, dword [ecx + 4]
jmp 0x10959ad
xor ebx, ebx
test ebx, ebx
jne 0x10959bd
mov dword [ebp - 0x34], 0x80004003
jmp 0x1095c9b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10959cf
cmp dword [esi + 0x18], 1
jne 0x10959cf
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
mov ecx, ebx
push dword [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.01091ae0
test eax, eax
mov dword [ebp - 0x34], eax
jl 0x1095c98
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
test eax, eax
mov dword [ebp - 0x34], eax
jl 0x1095c98
test byte [esi + 0x1e], 1
je 0x1095a1c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
cmp eax, 0x32
mov dword [ebp - 0x44], eax
jle 0x1095a1c
mov eax, dword [esi + 0x34]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x14]
and dword [ebp - 0x38], 0
push 0
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1095c8b
push 0x7f
xor eax, eax
pop ecx
lea edi, [ebx + 0x84]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
cmp eax, 0x412c2
mov dword [ebp - 0x34], eax
je 0x1095c94
test eax, eax
jl 0x1095c98
mov edi, dword [esi + 0x18]
xor ecx, ecx
cmp edi, 1
jbe 0x1095a80
test edi, edi
jbe 0x1095a80
mov edx, dword [ebx + 0x70]
mov eax, dword [esi + 0x14]
cmp dword [eax], edx
je 0x1095a80
inc ecx
add eax, 4
cmp ecx, dword [esi + 0x18]
jb 0x1095a73
cmp ecx, edi
jae 0x1095c51
mov eax, dword [ebp - 0x50]
mov edi, dword [esi + 0x1c]
mov ecx, dword [eax]
and dword [ebp - 0x28], 0
push 0
lea edx, [ebp - 0x58]
push edx
push dword [ebx + 0x70]
and edi, 0xff
push dword [esi + 0xc]
mov dword [ebp - 0x58], 1
push eax
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x58]
cmp eax, 1
je 0x1095adc
cmp eax, 5
je 0x1095adc
cmp eax, 4
je 0x1095ad4
cmp eax, 3
je 0x1095ad4
cmp eax, 6
jne 0x1095c51
mov eax, dword [ebx + 0x290]
jmp 0x1095ae2
lea eax, [ebx + 0x84]
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x1095c51
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
test eax, eax
pop ecx
mov dword [ebp - 0x30], eax
je 0x1095c51
push dword [ebp - 0x2c]
call dword [sym.imp.msvcrt.dll__wcsupr]
dec edi
pop ecx
je 0x1095be3
dec edi
je 0x1095b98
dec edi
je 0x1095b6a
dec edi
je 0x1095b98
dec edi
je 0x1095b6a
push dword [esi + 0x48]
mov edi, dword [esi + 0x1c]
push dword [esi + 0x24]
mov ecx, esi
push dword [ebp - 0x30]
and edi, 0xfffffeff
push dword [ebp - 0x2c]
call fcn.010939cc
test eax, eax
jne 0x1095bb4
push eax
lea eax, [ebp - 0x28]
push eax
push edi
push dword [ebp - 0x30]
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.01094a1b
test eax, eax
jne 0x1095c0d
push eax
lea eax, [ebp - 0x28]
push eax
or edi, 0x100
push edi
jmp 0x1095b89
push dword [esi + 0x48]
mov ecx, esi
push dword [esi + 0x24]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.010939cc
test eax, eax
jne 0x1095bb4
push eax
lea eax, [ebp - 0x28]
push eax
push dword [esi + 0x1c]
push dword [ebp - 0x30]
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.01094a1b
jmp 0x1095c0d
push dword [esi + 0x48]
xor edi, edi
push dword [esi + 0x24]
mov ecx, esi
push dword [ebp - 0x30]
mov dword [ebp - 0x54], edi
push dword [ebp - 0x2c]
call fcn.010939cc
test eax, eax
je 0x1095bbd
mov dword [ebp - 0x28], 0x2710
jmp 0x1095c13
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [esi + 0x1c]
mov ecx, esi
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.01094a1b
test eax, eax
je 0x1095c0d
cmp dword [ebp - 0x54], edi
jne 0x1095c0d
mov dword [ebp - 0x28], edi
jmp 0x1095c0d
mov eax, dword [esi + 0x40]
mov ecx, dword [eax]
mov eax, dword [esi + 0x24]
lea edx, [eax + ecx*2]
mov eax, dword [esi + 0x48]
sub eax, ecx
push eax
push edx
push dword [ebp - 0x30]
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.010939cc
test eax, eax
je 0x1095c51
mov dword [ebp - 0x28], 0x2710
cmp dword [ebp - 0x28], 0
je 0x1095c51
mov edi, dword [ebp - 0x50]
mov eax, dword [edi]
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
push dword [ebx + 0x78]
push edi
call dword [eax + 0x74]
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ecx
push dword [ebx + 0x6c]
push edi
call dword [eax + 0x7c]
push dword [ebp - 0x28]
mov eax, dword [esi + 0x34]
push dword [ebx + 0x70]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push dword [ebx + 0x7c]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x10]
inc dword [ebp - 0x40]
test byte [esi + 0x1e], 1
je 0x1095a20
cmp dword [ebp - 0x44], 0
je 0x1095a20
add dword [ebp - 0x38], 0x64
mov eax, dword [ebp - 0x38]
cdq
idiv dword [ebp - 0x44]
cmp eax, dword [ebp - 0x48]
jle 0x1095a20
mov ecx, dword [esi + 0x34]
mov edx, dword [ecx]
push eax
push ecx
mov dword [ebp - 0x48], eax
call dword [edx + 0x14]
jmp 0x1095a20
mov dword [ebp - 0x4c], 1
jmp 0x1095c98
and dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x1095ca4
call fcn.01092735
test byte [esi + 0x1e], 1
je 0x1095cb5
mov eax, dword [esi + 0x34]
mov ecx, dword [eax]
push 0x64
push eax
call dword [ecx + 0x14]
cmp dword [ebp - 0x4c], 0
je 0x1095cc2
mov dword [ebp - 0x34], 0x412c4
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x34]
pop esi
pop ebx
call fcn.01041c5f
leave
ret