Function at 0x100013a7
Capabilities:
Enumerate gui resources
Resolve function by parsing pe exports
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1d4
mov eax, dword [0x1008ce00]
xor eax, esp
mov dword [esp + 0x1d0], eax
cmp byte [0x10091944], 0
push ebx
push esi
push edi
jne 0x100017e5
xor ebx, ebx
mov byte [0x10091944], 1
push ebx
push ebx
push ebx
push 4
push 1
call sym.project.dll_caerDeviceOpen
add esp, 0x14
mov dword [esp + 0x1d4], eax
push 1
push 1
push 0xfffffffffffffffe
push eax
call sym.project.dll_caerDeviceConfigSet
add esp, 0x10
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
push dword [esp + 0x1d4]
call sym.project.dll_caerDeviceDataGet
pop ecx
test eax, eax
jne 0x1000140b
lea eax, [esp + 0x1d4]
push eax
call sym.project.dll_caerDeviceClose
pop ecx
lea ecx, [esp + 0x4c]
call fcn.1000180a
xor eax, eax
lea edi, [esp + 0x28]
stosd dword es:[edi], eax
push ecx
push 0x1000
lea ecx, [esp + 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 7
mov word [esp + 0x30], ax
call fcn.10001876
push ebx
push ebx
push 0x1007f948
call fcn.10045490
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100014db
push ebx
push 2
mov ebx, str.32_bit_float_mono_audio
push ebx
push 0x1007f964
push edi
call fcn.10045520
add esp, 0x14
mov esi, eax
push 0
push 2
push ebx
push 0x1007f968
push edi
call fcn.10045520
add esp, 0x14
mov dword [esp + 0x1d8], eax
lea eax, [esp + 0x1d4]
mov dword [esp + 0x1d4], esi
push eax
push 0x10001232
push edi
call fcn.10045550
add esp, 0xc
push edi
call fcn.10045430
pop ecx
push edi
call fcn.100454c0
pop ecx
push edi
call fcn.10045460
pop ecx
xor ebx, ebx
cmp dword [esp + 0x3c], 7
lea eax, [esp + 0x28]
push 0x1000
cmova eax, dword [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [esp + 0x3c], 7
lea edx, [esp + 0x28]
mov esi, dword [esp + 0x38]
cmova edx, dword [esp + 0x28]
push 0x5c
pop edi
test esi, esi
je 0x10001531
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
lea ecx, [edx + ecx*2]
jmp 0x10001526
cmp ecx, edx
je 0x10001531
sub ecx, 2
cmp word [ecx], di
jne 0x1000151f
sub ecx, edx
sar ecx, 1
jmp 0x10001534
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x10]
stosd dword es:[edi], eax
cmp esi, ecx
cmovb ecx, esi
cmp dword [esp + 0x3c], 7
push ecx
stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
cmova eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.10001a84
lea ecx, [esp + 0x28]
call fcn.1000184b
push 6
pop ecx
lea esi, [esp + 0x10]
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x3c], 7
lea eax, [esp + 0x28]
cmova eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x10001663
push 0xa4
lea eax, [esp + 0x12c]
push ebx
push eax
call fcn.10046f20
add esp, 0xc
lea ecx, [esp + 0x128]
mov eax, 0xc8
push str._t_r_n
push eax
push eax
call fcn.10032c40
push 0x54
lea eax, [esp + 0xd4]
push ebx
push eax
call fcn.10046f20
add esp, 0xc
lea ecx, [esp + 0xd0]
push 0x1007f970
push 0x64
push 0xa0
push 0x28
push 0x14
call fcn.10033070
push 0x5c
lea eax, [esp + 0x74]
push ebx
push eax
call fcn.10046f20
add esp, 0xc
lea ecx, [esp + 0x70]
push 0x1007f974
push 0x1e
push 0x50
push 0x96
push 0x3c
call fcn.10034650
lea ecx, [esp + 0x128]
mov dword [esp + 0x78], fcn.100012b0
call fcn.100335b0
lea ecx, [esp + 0x128]
call fcn.10032b60
call fcn.100328d0
lea ecx, [esp + 0x70]
call fcn.10034da0
lea ecx, [esp + 0xd0]
call fcn.10034da0
lea ecx, [esp + 0x128]
call fcn.10032cc0
push str.wodCertificate.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
and dword [esp + 0x44], 0
mov eax, 0x7ffffffe
sub eax, dword [esp + 0x38]
and dword [esp + 0x48], 0
mov dword [esp + 0x40], ebx
cmp eax, 1
jb 0x100017fa
cmp dword [esp + 0x3c], 7
lea eax, [esp + 0x28]
push 1
cmova eax, dword [esp + 0x2c]
push ecx
push dword [esp + 0x40]
push eax
push ecx
push dword [esp + 0x1e8]
lea ecx, [esp + 0x28]
call fcn.10001c0b
push ecx
lea edx, [esp + 0x14]
lea ecx, [esp + 0x5c]
call fcn.10001921
pop ecx
lea ecx, [esp + 0x10]
call fcn.1000184b
cmp dword [esp + 0x6c], 7
lea edx, [esp + 0x58]
lea edi, [esp + 0x10]
cmova edx, dword [esp + 0x58]
xor eax, eax
stosd dword es:[edi], eax
mov ecx, edx
stosd dword es:[edi], eax
lea esi, [ecx + 2]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x100016f4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.10001a84
push ecx
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x54]
call fcn.100012ea
mov esi, eax
lea eax, [esp + 0x48]
pop ecx
pop ecx
cmp eax, esi
je 0x1000174c
mov ecx, eax
call fcn.1000182c
mov eax, dword [esi + 4]
mov ebx, dword [esi]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], eax
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
lea ecx, [esp + 0x4c]
call fcn.1000182c
mov edx, dword [esp + 0x24]
cmp edx, 7
jbe 0x1000176e
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
call fcn.10001b98
push str.AxEmail32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x25b2
push edi
lea esi, [eax + 0x1000]
push esi
call fcn.10046f20
add esp, 0xc
mov edx, edi
movzx eax, dl
lea ecx, [edx + ebx]
imul eax, eax, 0x70
add al, 0x7b
add byte [ecx], al
inc edx
mov eax, 0x25b2
cmp edx, eax
jb 0x10001790
push eax
push ebx
push esi
call fcn.10047080
add esp, 0xc
push edi
push esi
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [esp + 0x58]
call fcn.1000184b
lea ecx, [esp + 0x40]
call fcn.1000182c
mov edx, dword [esp + 0x3c]
cmp edx, 7
jbe 0x100017e5
mov ecx, dword [esp + 0x28]
lea edx, [edx*2 + 2]
call fcn.10001b98
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10045740
mov esp, ebp
pop ebp
ret
call fcn.10001227
int3