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

Disassembly:
push 0x140
push 0x1003080
call fcn.01032098
mov eax, dword [0x103ff58]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x12c], eax
mov esi, ecx
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x134], edx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x13c], ebx
and dword [ebp - 0x124], 0
and word [ebp - 0x11c], 0
push 0x3f
pop ecx
xor eax, eax
lea edi, [ebp - 0x11a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x120], edi
mov dword [ebx], edi
mov dword [ebp - 4], edi
push 0x80000003
push dword [0x10416f0]
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x124]
push eax
call dword [edx + 0x878]
test eax, eax
je 0x10262bb
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x124], edi
jbe 0x102629b
mov eax, 0x100
cmp dword [ebp - 0x124], eax
jbe 0x1025f6e
mov dword [ebp - 0x124], eax
mov edi, dword [ebp - 0x138]
test edi, edi
je 0x102629b
cmp edi, 0x10000
jae 0x102629b
mov eax, dword [0x10416e4]
jmp 0x1025fa6
mov ecx, eax
mov eax, dword [eax]
mov edx, dword [ecx + 0x10]
cmp edx, edi
jb 0x1025fa6
mov ebx, dword [ebp - 0x124]
add ebx, edi
cmp edx, ebx
jbe 0x102601e
cmp eax, 0x10416e4
jne 0x1025f8f
mov eax, dword [ebp - 0x124]
shl eax, 2
push eax
call fcn.01035a36
mov edi, eax
mov dword [ebp - 0x130], edi
test edi, edi
je 0x1026157
mov ecx, dword [ebp - 0x124]
xor eax, eax
rep stosd dword es:[edi], eax
xor ebx, ebx
cmp ebx, dword [ebp - 0x124]
jae 0x1026327
mov dword [ebp - 4], 1
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 0x12]
push eax
call fcn.01035a36
mov dword [ebp - 0x148], eax
test eax, eax
jne 0x102604e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x120], eax
jmp 0x10262c5
xor eax, eax
inc eax
mov dword [ebp - 0x120], eax
mov ecx, dword [ecx + 0x1c]
add ecx, 0x28
push ecx
mov ecx, dword [ebp - 0x134]
add ecx, 0x28
push ecx
push 0xc0007d61
push 2
push eax
push eax
call sub.FXSEVENT.dll_FaxLog
add esp, 0x18
jmp 0x10262c9
push ebx
lea ecx, [ebp - 0x11c]
push ecx
push 0x1003074
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0x10
or dword [ebp - 4], 0xffffffff
xor edi, edi
and dword [ebp - 0x144], edi
mov eax, dword [ebp - 0x12c]
cmp dword [eax + 0x38], edi
jbe 0x10260ea
mov esi, edi
imul esi, esi, 0x38
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 0x34]
add eax, esi
cmp dword [eax + 0x24], 1
jne 0x10260c4
mov ecx, dword [ebp - 0x134]
add ecx, 0x640
push ecx
push dword [eax + 0x2c]
call dword [sym.imp.msvcrt.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
jne 0x10260c4
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0x138]
add ecx, ebx
cmp dword [esi + eax], ecx
je 0x10260d2
inc edi
mov eax, dword [ebp - 0x12c]
cmp edi, dword [eax + 0x38]
jb 0x102607c
jmp 0x10260e4
imul edi, edi, 0x38
mov eax, dword [ebp - 0x12c]
add edi, dword [eax + 0x34]
mov dword [ebp - 0x144], edi
mov esi, dword [ebp - 0x128]
mov eax, dword [ebp - 0x144]
test eax, eax
jne 0x102613e
mov eax, dword [ebp - 0x138]
add eax, ebx
mov dword [ebp - 0x140], eax
push dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
or ecx, 4
push ecx
push eax
push dword [esi + 4]
push dword [esi]
mov eax, dword [ebp - 0x134]
lea ecx, [eax + 0x640]
push ecx
add eax, 0x438
push eax
push dword [ebp - 0x148]
lea eax, [ebp - 0x140]
push eax
push 0x1041638
call fcn.0103486d
jmp 0x1026147
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x140], eax
push 0x98
call fcn.01035a36
mov esi, eax
test esi, esi
jne 0x1026168
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x120], eax
jmp 0x10262c9
mov eax, dword [ebp - 0x13c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x130]
mov dword [ecx + eax*4], esi
mov dword [esi + 8], 0x454e494c
mov dword [esi + 0xc], ebx
mov eax, dword [ebp - 0x138]
add eax, ebx
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x140]
mov dword [esi + 0x10], eax
and dword [esi + 0x18], 0
mov eax, dword [ebp - 0x134]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x148]
mov dword [esi + 0x24], eax
and dword [esi + 0x44], 0
mov dword [esi + 0x2c], 0x20100000
mov edi, dword [ebp - 0x144]
test edi, edi
je 0x10261c7
mov eax, dword [edi + 0x10]
jmp 0x10261cf
mov eax, dword [ebp - 0x128]
mov eax, dword [eax]
push eax
call fcn.01035adb
mov dword [esi + 0x3c], eax
test edi, edi
je 0x10261e1
mov eax, dword [edi + 0x14]
jmp 0x10261ea
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
push eax
call fcn.01035adb
mov dword [esi + 0x40], eax
xor ecx, ecx
cmp edi, ecx
je 0x1026205
push dword [edi + 0x1c]
call fcn.01035adb
xor ecx, ecx
jmp 0x1026207
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x78], ecx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x88], ecx
mov dword [esi + 0x8c], ecx
mov eax, edi
neg eax
sbb eax, eax
and eax, 3
inc eax
mov dword [esi + 0x90], eax
cmp edi, ecx
je 0x102623e
mov eax, dword [edi + 8]
jmp 0x102624a
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x10]
or eax, 4
mov dword [esi + 0x30], eax
mov eax, dword [0x10416e8]
mov dword [esi], 0x10416e4
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [0x10416e8], esi
mov eax, dword [ebp - 0x13c]
inc dword [eax]
push esi
call fcn.0102545c
cmp eax, 1
jne 0x102627c
inc dword [0x10416cc]
inc ebx
mov esi, dword [ebp - 0x128]
jmp 0x1025fd8
mov dword [ebp - 0x120], 1
jmp 0x10262c9
mov dword [ebp - 0x120], 1
or dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x130]
xor ebx, ebx
cmp edi, ebx
je 0x102631d
xor esi, esi
cmp dword [ebp - 0x124], ebx
jbe 0x102631d
lea ecx, [edi + esi*4]
cmp dword [ecx], ebx
je 0x1026314
mov eax, dword [ecx]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [eax], edx
mov dword [edx + 4], eax
mov eax, dword [ecx]
mov dword [eax], ebx
mov eax, dword [ecx]
mov dword [eax + 4], ebx
push dword [ecx]
call fcn.0102545c
cmp eax, 1
jne 0x102630d
dec dword [0x10416cc]
push dword [ecx]
call fcn.01024bf7
inc esi
cmp esi, dword [ebp - 0x124]
jb 0x10262df
mov eax, dword [ebp - 0x13c]
mov dword [eax], ebx
jmp 0x1026329
xor ebx, ebx
push dword [ebp - 0x130]
call fcn.01035abf
cmp dword [ebp - 0x120], ebx
je 0x1026348
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp dword [ebp - 0x120], ebx
sete al
mov ecx, dword [ebp - 0x1c]
call fcn.01031d91
call fcn.010320d3
ret 8