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

Disassembly:
sub esp, 0x26c
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0x268], eax
mov eax, dword [esp + 0x270]
mov ecx, dword [esp + 0x298]
push ebx
push ebp
mov ebp, dword [esp + 0x2a4]
push esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x280]
push edi
xor edi, edi
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2b4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
test eax, eax
je 0x101ad957
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.100e1f23
mov ebx, eax
test ebx, ebx
js 0x101ae0a9
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
test eax, eax
je 0x101ad95b
mov dword [esp + 0x14], eax
jmp 0x101ad95b
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
xor edx, edx
cmp dword [esp + 0x288], edx
mov dword [esp + 0x38], edi
sete dl
and eax, 0xffffffb4
mov dword [esp + 0x40], edi
lea esi, [esp + 0x28c]
lea edi, [esp + 0x48]
and edx, 1
mov ecx, edx
shl ecx, 3
or ecx, eax
or ecx, edx
mov eax, ecx
shl eax, 4
xor eax, ecx
and eax, 0x80
xor eax, ecx
or eax, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2a4]
mov dword [esp + 0x44], eax
mov ax, word [esp + 0x29c]
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 ecx, dword [esp + 0x3c]
or dword [esp + 0x5c], 0xffffffff
mov word [esp + 0x58], ax
mov ax, word [esp + 0x2a0]
mov word [esp + 0x5a], ax
mov eax, dword [esp + 0x2b0]
shl eax, 5
xor eax, ecx
and eax, 0x20
xor ecx, eax
mov dword [esp + 0x3c], ecx
test ebp, ebp
je 0x101ad9fc
mov eax, dword [ebp]
push ebp
call dword [eax + 4]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
test edi, edi
je 0x101ada37
push 0x1000ceb8
push edi
push esi
call fcn.101ad785
test eax, eax
je 0x101ada2f
cmp dword [esp + 0x288], 0
jne 0x101adb5a
or dword [eax + 4], 1
jmp 0x101adb5a
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x10]
cmp dword [esp + 0x288], 1
jne 0x101ada46
or ecx, 0x10
jmp 0x101ada53
cmp dword [esp + 0x288], 2
jne 0x101ada59
and ecx, 0xffffffcf
mov dword [esp + 0x3c], ecx
jmp 0x101adaab
push dword [esi + 8]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.1015692e
mov ebx, eax
test ebx, ebx
js 0x101ada81
or dword [esp + 0x3c], 0x10
mov dword [esp + 0x30], 1
jmp 0x101adaa7
cmp dword [esp + 0x24], 0
jne 0x101ae0a4
lea eax, [esp + 0x10]
push eax
push 2
push edi
call dword [0x1023d738]
test eax, eax
js 0x101ae0a4
and dword [esp + 0x3c], 0xffffffef
mov ebp, dword [esp + 0x10]
test byte [esp + 0x3c], 0x10
je 0x101add04
mov eax, dword [ebp]
lea ecx, [esp + 0x20]
push ecx
push ebp
call dword [eax + 0x1c]
mov ebx, eax
test ebx, ebx
js 0x101adaf6
mov edx, dword [esp + 0x20]
mov esi, edx
lea edi, [esp + 0x48]
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 [edx + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
movzx ebx, word [edx + 0x1c]
push edx
push eax
call dword [ecx + 0x30]
test bl, 2
je 0x101adb55
mov ebx, 0x800adeb7
xor edi, edi
cmp dword [esp + 0x38], 0
je 0x101adb09
push dword [esp + 0x38]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x101adb18
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esp + 0x30], 0
je 0x101adb2d
push dword [esp + 0x10]
mov eax, dword [0x102390a8]
push 0x29
call dword [eax + 0x5c]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x101adb3b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esp + 0x28]
call fcn.1000ac28
cmp ebx, 0x800a9c67
jne 0x101adb4e
mov ebx, edi
mov eax, ebx
jmp 0x101ae0a9
test bl, 1
je 0x101adb61
xor edi, edi
jmp 0x101add7c
cmp dword [0x1023af68], 0
je 0x101adbc7
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x1001b970
push eax
call dword [ecx]
test eax, eax
jne 0x101adb9b
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0xa8]
mov eax, dword [ecx]
shl esi, 0x1d
push ecx
sar esi, 0x1f
call dword [eax + 8]
test esi, esi
jne 0x101adbab
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 8]
test byte [eax + 0xa8], 4
je 0x101adbcb
mov ebx, dword [esp + 0x288]
neg ebx
sbb ebx, ebx
and ebx, 0x7ff52149
add ebx, 0x800adeb7
jmp 0x101adaf6
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
xor edx, edx
push edx
push edx
push edx
lea edx, [esp + 0x44]
push edx
push 0xffffffffffffffff
push eax
call dword [ecx + 0x24]
mov ebx, eax
test ebx, ebx
js 0x101adaf6
test byte [esp + 0x3c], 8
mov ebp, dword [esp + 0x14]
je 0x101adc38
mov esi, dword [edi + 4]
mov edi, dword [edi]
imul edi, edi, 0x28
push ebp
add edi, esi
call fcn.100d9649
mov dword [esp + 0x24], eax
jmp 0x101adc34
test byte [esi + 4], 2
je 0x101adc31
test byte [esi + 4], 0x10
je 0x101adc31
push dword [esi + 8]
call fcn.100d9649
push dword [esp + 0x24]
push eax
call dword [sym.imp.msvcr100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x101adcac
add esi, 0x28
cmp esi, edi
jb 0x101adc0c
xor edi, edi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x101adc47
cmp word [eax], di
jne 0x101adc6c
push ebp
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.101ad840
mov ebx, eax
test ebx, ebx
js 0x101adaf8
cmp dword [esp + 0x38], 0
je 0x101adb09
test byte [esp + 0x3c], 0x20
je 0x101ae02b
lea eax, [esp + 0x1c]
push eax
push 0x1000adc8
push 0x9d92
call fcn.100c8c3c
mov ebx, eax
test ebx, ebx
js 0x101adaf8
mov esi, dword [esp + 0x38]
mov dword [esp + 0x14], esi
test esi, esi
jne 0x101adfaa
mov ecx, edi
jmp 0x101adfaf
push 0x104
push ebp
lea eax, [esp + 0x78]
push eax
call fcn.1015692e
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
test edi, edi
jne 0x101adcd3
mov ebx, 0x8007000e
jmp 0x101adaf6
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi + 8], edi
mov eax, dword [esp + 0x38]
mov dword [esi], eax
xor edi, edi
mov dword [esp + 0x38], edi
mov eax, dword [esi + 4]
and eax, 0xfffffff5
or eax, 0x40
mov dword [esi + 4], eax
jmp 0x101adaf8
test ebp, ebp
je 0x101add98
mov eax, dword [ebp]
lea ecx, [esp + 0x20]
push ecx
push ebp
call dword [eax + 0x1c]
mov ebx, eax
test ebx, ebx
js 0x101adaf6
mov edx, dword [esp + 0x20]
mov esi, edx
lea edi, [esp + 0x48]
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 [edx + 0x10]
mov dword [esp + 0x44], eax
mov ax, word [edx + 0x18]
mov word [esp + 0x58], ax
mov ax, word [edx + 0x1a]
mov word [esp + 0x5a], ax
push 4
mov ebp, 0x10030fb0
pop ecx
lea edi, [esp + 0x48]
mov esi, ebp
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x101add89
push ebp
xor edi, edi
push edi
push dword [esp + 0x20]
call fcn.101ad785
test eax, eax
je 0x101add83
mov eax, dword [esp + 0x10]
push dword [esp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov ebx, edi
jmp 0x101adaf8
mov edx, dword [esp + 0x20]
jmp 0x101add8b
xor edi, edi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x30]
jmp 0x101add9a
xor edi, edi
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x48]
push eax
push edi
push esi
call fcn.101ad785
mov ebp, eax
test ebp, ebp
je 0x101addcd
test byte [ebp + 4], 0x10
je 0x101addcd
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x101ade2a
sub ebp, dword [esi + 4]
push 0x28
mov eax, ebp
cdq
pop esi
idiv esi
mov dword [ecx], eax
jmp 0x101ade2a
mov esi, dword [esp + 0x2b8]
test esi, esi
je 0x101ade03
add esi, 0x174
lea edi, [esp + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
pop ecx
lea edi, [esp + 0x48]
lea esi, [esp + 0x60]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x101ade01
mov ebx, 0x800a9c67
jmp 0x101adaf6
xor edi, edi
test ebp, ebp
je 0x101adf58
mov ecx, dword [ebp + 4]
shr ecx, 1
and ecx, 1
jne 0x101ade34
test byte [ebp + 4], 1
je 0x101ade34
mov ax, word [ebp + 0x20]
cmp ax, word [esp + 0x58]
jne 0x101adf58
mov ebx, 0x800a9c67
jmp 0x101adaf8
mov ax, word [ebp + 0x20]
cmp ax, word [esp + 0x58]
jne 0x101adf58
movzx eax, word [ebp + 0x22]
cmp ax, word [esp + 0x5a]
ja 0x101adf58
test ecx, ecx
jne 0x101ade69
cmp ax, word [esp + 0x5a]
jb 0x101ade69
test byte [esp + 0x3c], 8
jne 0x101ade2a
jmp 0x101adaf8
mov esi, dword [esp + 0x14]
push 0x104
push esi
lea eax, [esp + 0x78]
push eax
call fcn.1015692e
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
call edi
mov dword [esp + 0x40], eax
test eax, eax
je 0x101adcc9
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
mov dword [ebp], eax
mov eax, dword [esp + 0x40]
mov dword [ebp + 8], eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x101adee5
mov eax, dword [ecx]
xor edi, edi
push edi
push edi
push ebp
push edi
push 0xffffffffffffffff
push ecx
call dword [eax + 0x24]
mov ebx, eax
test ebx, ebx
js 0x101aded1
cmp dword [ebp], edi
jne 0x101adf1f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edi
push edi
push edi
push ebp
push 0xffffffffffffffff
push eax
call dword [ecx + 0x24]
mov ebx, eax
jmp 0x101adf0a
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x2c]
jne 0x101adeec
sub ecx, edx
sar ecx, 1
je 0x101adf11
push dword [esp + 0x1c]
call edi
mov dword [ebp], eax
xor edi, edi
cmp dword [ebp], edi
je 0x101adf13
jmp 0x101adf1f
xor edi, edi
push esi
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.101ad840
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], edi
mov edx, dword [ebp + 4]
mov eax, edx
and al, 2
xor ecx, ecx
cmp al, 2
sete cl
and edx, 0xffffffb5
and ecx, 1
shl ecx, 6
or ecx, edx
mov dword [ebp + 4], ecx
mov eax, dword [esp + 0x44]
mov dword [ebp + 0xc], eax
mov ax, word [esp + 0x5a]
mov word [ebp + 0x22], ax
jmp 0x101adaf8
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x101adf83
mov eax, dword [ecx]
push edi
push edi
lea edx, [esp + 0x40]
push edx
push edi
push 0xffffffffffffffff
push ecx
call dword [eax + 0x24]
mov ebx, eax
test ebx, ebx
js 0x101adaf8
mov ebp, dword [esp + 0x14]
jmp 0x101adc3a
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x101adf8c
sub ecx, edx
sar ecx, 1
je 0x101adf7a
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x38], eax
jmp 0x101adf7a
mov ecx, dword [esi - 4]
shr ecx, 1
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x101adfbb
mov eax, edi
jmp 0x101adfc0
mov eax, dword [eax - 4]
shr eax, 1
lea edi, [eax + 1]
add edi, ecx
push edi
xor eax, eax
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x101adfe2
mov dword [esp + 0x38], esi
mov ebx, 0x8007000e
jmp 0x101ae019
push dword [esp + 0x1c]
inc edi
push edi
push eax
call dword [sym.imp.msvcr100.dll_wcscpy_s]
mov esi, dword [sym.imp.msvcr100.dll_wcscat_s]
push 0x1007a790
push edi
push dword [esp + 0x4c]
call esi
push dword [esp + 0x2c]
push edi
push dword [esp + 0x58]
call esi
add esp, 0x24
push dword [esp + 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [esp + 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test ebx, ebx
js 0x101adaf6
test ebp, ebp
je 0x101ae041
push 0x104
push ebp
lea eax, [esp + 0x78]
push eax
call fcn.1015692e
jmp 0x101ae046
mov eax, 0x1001b984
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x40], eax
test eax, eax
je 0x101adcc9
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
inc eax
imul eax, eax, 0x28
push eax
push dword [ebx + 4]
call fcn.1000e4b3
test eax, eax
je 0x101adcc9
mov edi, dword [ebx]
imul edi, edi, 0x28
add edi, eax
push 0xa
pop ecx
lea esi, [esp + 0x38]
mov dword [ebx + 4], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
inc dword [ebx]
test ecx, ecx
je 0x101ae097
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esp + 0x28]
call fcn.1000ac28
xor eax, eax
jmp 0x101ae0a9
mov eax, 0x800adeb7
mov ecx, dword [esp + 0x278]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10001e57
add esp, 0x26c
ret 0x3c