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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x7c], 0
jne 0x10138d08
call fcn.101353d0
test eax, eax
je 0x1013882f
mov eax, dword [ebx + 0xe0]
mov dword [ebx + 0x7c], 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
je 0x10138cf2
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], 0
push eax
push 0x1022f174
mov ecx, 0x10259630
call fcn.1018e650
mov edi, dword [ebp - 0x25c]
test edi, edi
je 0x101387cc
cmp dword [ebx + 0xc4], 8
lea ecx, [ebx + 0xb0]
jb 0x101384bd
mov ecx, dword [ebx + 0xb0]
test ecx, ecx
jne 0x101384c5
xor esi, esi
jmp 0x101384d6
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x10138d1b
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebx + 0x60], 8
lea eax, [ebx + 0x4c]
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x260], ecx
jb 0x101384fb
mov eax, dword [eax]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
jne 0x10138509
xor esi, esi
jmp 0x1013851c
push eax
call edi
mov esi, eax
test esi, esi
je 0x10138d1b
mov ecx, dword [ebp - 0x260]
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x18]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebx + 0x78], 8
lea eax, [ebx + 0x64]
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x260], ecx
jb 0x10138541
mov eax, dword [eax]
test eax, eax
jne 0x10138549
xor esi, esi
jmp 0x1013855c
push eax
call edi
mov esi, eax
test esi, esi
je 0x10138d1b
mov ecx, dword [ebp - 0x260]
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x1c]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 0x88]
xor esi, esi
cmp eax, 5
ja case.default.0x1013857b
jmp dword [eax*4 + 0x10138d40]
push 0x9cd6
lea ecx, [ebp - 0x264]
call fcn.10004700
mov eax, dword [eax]
mov dword [ebp - 0x260], eax
test eax, eax
je 0x101385b8
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x260]
call edi
mov esi, eax
test esi, esi
je 0x10138d1b
lea ecx, [ebp - 0x264]
call int.10008f10
jmp 0x10138667
push 0x9cd7
lea ecx, [ebp - 0x260]
call fcn.10004700
mov eax, dword [eax]
mov dword [ebp - 0x264], eax
test eax, eax
je 0x101385fe
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x264]
call edi
mov esi, eax
test esi, esi
je 0x10138d25
lea ecx, [ebp - 0x260]
call int.10008f10
jmp 0x10138667
push 0x9cd8
lea ecx, [ebp - 0x268]
call fcn.10004700
mov eax, dword [eax]
mov dword [ebp - 0x264], eax
test eax, eax
je 0x10138641
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x264]
call edi
mov esi, eax
test esi, esi
je 0x10138d2f
lea ecx, [ebp - 0x268]
call int.10008f10
jmp 0x10138667
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x10219d7c
call edi
mov esi, eax
test esi, esi
je 0x10138d1b
mov eax, dword [ebp - 0x25c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x25c]
push dword [ebx + 0x80]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [ebx + 0xc4], 8
lea eax, [ebx + 0xb0]
jb 0x10138697
mov eax, dword [eax]
push str.diagnosescan
push eax
call fcn.102134f3
add esp, 8
test eax, eax
jne 0x101386ad
push 5
jmp 0x10138725
lea edi, [ebx + 0xc8]
push 0x1021e7d0
push edi
call fcn.100eda40
add esp, 8
test al, al
jne 0x10138723
push 0x10228790
push edi
call fcn.100eda40
add esp, 8
test al, al
jne 0x10138723
push 0x1021c5ac
push edi
call fcn.100eda40
add esp, 8
test al, al
jne 0x10138723
push 0x102221a0
push edi
call fcn.100eda40
add esp, 8
test al, al
jne 0x10138723
push 0x1022f1a0
push edi
call fcn.100eda40
add esp, 8
test al, al
jne 0x10138723
push 0x102272b4
push edi
call fcn.100eda40
add esp, 8
test al, al
jne 0x10138723
push 4
jmp 0x10138725
push 3
mov eax, dword [ebp - 0x25c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebx + 0xe0]
push dword [ebp - 0x25c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebx + 0x94]
cmp eax, 0xffffffff
je 0x101387c5
mov dword [ebp - 0x278], eax
lea edx, [ebp - 0x280]
mov eax, dword [ebp - 0x25c]
mov ecx, 0x13
push edx
mov word [ebp - 0x280], cx
push str.6661
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
cmp dword [ebx + 0xac], 8
lea eax, [ebx + 0x98]
jb 0x10138789
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x290]
call fcn.10132610
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x290]
push edx
push str.6662
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x290]
push eax
call edi
lea eax, [ebp - 0x280]
push eax
call edi
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x260]
mov dword [ebp - 0x260], 0
push eax
mov ecx, ebx
call fcn.101350a0
mov esi, dword [ebp - 0x260]
test esi, esi
je 0x1013880a
mov eax, dword [esi]
push ebx
push dword [ebx + 0xe0]
push esi
call dword [eax + 0x1c]
xor ebx, ebx
test eax, eax
mov eax, dword [esi]
push esi
setns bl
call dword [eax + 8]
jmp 0x1013880c
xor ebx, ebx
mov ecx, dword [ebp - 0x25c]
test ecx, ecx
je 0x1013881c
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0xf4]
test ecx, ecx
je 0x10138d08
mov dword [ebp - 0x26c], 1
lea edx, [ebp - 0x26c]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
mov ecx, dword [ebx + 8]
mov eax, 0x78787879
sub ecx, dword [ebx + 4]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10138889
cmp dword [ebp - 0x26c], eax
je 0x10138889
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebx + 0x20]
jne 0x10138889
mov eax, dword [ebx + 0x34]
cmp eax, dword [ebx + 0x38]
je 0x10138d08
lea edx, [ebx + 0xb0]
mov dword [ebx + 0x7c], 1
cmp dword [edx + 0x14], 8
jb 0x1013889e
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x214], 0
xor eax, eax
mov dword [ebp - 0x210], 7
mov word [ebp - 0x224], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101388c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x224]
call fcn.10008240
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x258], 0x4c
push eax
mov dword [ebp - 0x254], 0x100
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x250], 0xffffffff
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [ebx + 0x88]
mov eax, dword [ebx + 0x84]
mov dword [ebp - 0x244], ecx
mov ecx, dword [ebx + 0x8c]
mov dword [ebp - 0x240], ecx
mov ecx, dword [ebx + 0x90]
mov dword [ebp - 0x250], eax
mov eax, 0x78787879
mov dword [ebp - 0x228], ecx
mov ecx, dword [ebx + 8]
sub ecx, dword [ebx + 4]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10138986
cmp dword [ebp - 0x26c], eax
je 0x10138986
mov eax, dword [ebx + 0x34]
cmp eax, dword [ebx + 0x38]
jne 0x10138986
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebx + 0x20]
je 0x10138999
cmp dword [ebx + 0x80], 0
mov dword [ebp - 0x24c], 1
jne 0x101389a3
mov dword [ebp - 0x24c], 0
push 0x10228034
lea eax, [ebp - 0x268]
lea esi, [ebx + 0x1c]
push eax
mov ecx, esi
call fcn.101351b0
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.100233d0
mov edx, dword [ebp - 0x268]
or edi, 0xffffffff
add esp, 0xc
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101389e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebx + 0x34]
push 0x10228034
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x260], eax
push ecx
mov ecx, eax
call fcn.101351b0
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.100233d0
add esp, 0xc
lea ecx, [ebp - 0x25c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.100048e0
mov edx, dword [ebp - 0x268]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10138a43
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x264]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10138a60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 0xf4]
lea edx, [ebp - 0x270]
mov dword [ebp - 0x270], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x270]
test eax, eax
jne 0x10138a8b
xor edx, edx
jmp 0x10138aa2
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10138a90
sub edx, esi
lea esi, [ebx + 0x1c]
sar edx, 1
push edx
push eax
lea ecx, [ebp - 0x25c]
call fcn.100048e0
cmp dword [ebx + 0x5c], 0
mov edi, dword [ebp - 0x25c]
je 0x10138af8
cmp dword [ebp - 0x24c], 0
je 0x10138af8
cmp dword [ebx + 0x78], 8
lea eax, [ebx + 0x64]
jb 0x10138acf
mov eax, dword [eax]
cmp dword [ebx + 0x60], 8
lea ecx, [ebx + 0x4c]
jb 0x10138ada
mov ecx, dword [ecx]
push edi
push eax
push ecx
lea eax, [ebx + 4]
mov ecx, 0x102595c0
push eax
push dword [ebp - 0x258]
lea eax, [ebp - 0x258]
push eax
call fcn.10190bc0
mov ecx, esi
call fcn.101349a0
mov esi, dword [ebx + 0x10]
cmp esi, dword [ebx + 0x14]
je 0x10138c87
jmp 0x10138b10
push dword [esi + 0x3c]
mov ecx, 0x1025a378
call fcn.10009a80
mov ecx, dword [esi + 0x30]
mov dword [ebp - 0x268], eax
cmp ecx, 0x40000
ja 0x10138c4a
je 0x10138c2f
cmp ecx, 0x10000
je 0x10138b7a
cmp ecx, 0x30000
jne 0x10138c6b
cmp dword [esi + 0x38], 0
jne 0x10138c52
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x10138b61
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x10138b6b
mov ecx, dword [esi]
push eax
push ecx
call fcn.100e9840
add esp, 8
jmp 0x10138c52
cmp dword [esi + 0x38], 0
jne 0x10138c52
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10138b8e
mov eax, dword [esi]
push 1
push 1
push eax
call fcn.100e4770
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102134e7
add esp, 0x18
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10138bb8
mov eax, dword [esi]
push 0x103
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1020ed30
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10201330
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esi + 0x40], 0
je 0x10138c52
lea eax, [ebp - 0x20c]
push eax
call fcn.100e7ca0
add esp, 4
test eax, eax
je 0x10138c52
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.100e8230
add esp, 8
test eax, eax
jne 0x10138c52
lea eax, [ebp - 0x20c]
push eax
call fcn.100e9b90
add esp, 4
jmp 0x10138c52
cmp dword [esi + 0x38], 0
jne 0x10138c52
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10138c3f
mov eax, dword [esi]
push eax
call fcn.100e4950
add esp, 4
jmp 0x10138c52
cmp ecx, 0x80000
jne 0x10138c6b
cmp dword [esi + 0x34], 0
je 0x10138c6b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10138c62
mov eax, dword [esi]
push eax
call fcn.100e4190
add esp, 4
push dword [ebp - 0x268]
mov ecx, 0x1025a378
call fcn.10009a80
add esi, 0x44
cmp esi, dword [ebx + 0x14]
jne 0x10138b10
mov ecx, dword [ebp - 0x260]
call fcn.101349a0
push dword [ebp - 0x270]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10138cb6
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x210]
cmp edx, 8
jb 0x10138cf2
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10138ce8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10138d39
push edx
push ecx
call fcn.102134ff
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.100030c0
push 0x8007000e
call fcn.100030c0
push 0x8007000e
call fcn.100030c0
call fcn.10200ab0
mov edi, edi
add byte [ebp - 0x7a7defed], 0x13
adc al, cl
test dword [ebx], edx
adc al, cl
test dword [ebx], edx
adc byte [ebx], cl
xchg byte [ebx], dl
adc byte [ebx], cl
xchg byte [ebx], dl
adc ah, cl
int3