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

Disassembly:
push 0x12c
push 0x1003058
call fcn.0102e874
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x11c], bx
push 0x3f
pop ecx
xor eax, eax
lea edi, [ebp - 0x11a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x124], ebx
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
mov dword [ebp - 4], ebx
push 0x80000003
push dword [0x103d680]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0x10]
call dword [eax + 0x878]
test eax, eax
je 0x102392a
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], ebx
jbe 0x102390a
mov eax, 0x100
cmp dword [ebp - 0x1c], eax
jbe 0x1023612
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x128]
cmp esi, ebx
je 0x102390a
cmp esi, 0x10000
jae 0x102390a
mov eax, dword [0x103d674]
mov edi, 0x103d674
cmp eax, edi
je 0x1023654
mov ecx, eax
mov eax, dword [eax]
mov edx, dword [ecx + 0x10]
cmp edx, esi
jb 0x102364e
mov ebx, dword [ebp - 0x1c]
add ebx, esi
cmp edx, ebx
jbe 0x10236bc
cmp eax, edi
jne 0x102363a
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
shl eax, 2
push eax
call fcn.01031ae1
mov edi, eax
mov dword [ebp - 0x120], edi
cmp edi, ebx
je 0x10237d5
mov ecx, dword [ebp - 0x1c]
xor eax, eax
rep stosd dword es:[edi], eax
cmp ebx, dword [ebp - 0x1c]
jae 0x102398b
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.01031ae1
mov dword [ebp - 0x12c], eax
xor edi, edi
cmp eax, edi
jne 0x10236e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x124], eax
jmp 0x1023934
xor eax, eax
inc eax
mov dword [ebp - 0x124], eax
mov ecx, dword [ecx + 0x1c]
add ecx, 0x28
push ecx
mov ecx, dword [ebp + 0x10]
add ecx, 0x28
push ecx
push 0xc0007d61
push 2
push eax
push eax
call sub.FXSEVENT.dll_FaxLog
add esp, 0x18
jmp 0x1023938
push ebx
lea ecx, [ebp - 0x11c]
push ecx
push 0x100304c
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0x10
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x130], edi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x38], edi
jbe 0x1023768
mov esi, edi
imul esi, esi, 0x38
mov eax, dword [eax + 0x34]
add eax, esi
cmp dword [eax + 0x24], 1
jne 0x102374e
mov ecx, dword [ebp + 0x10]
add ecx, 0x640
push ecx
push dword [eax + 0x2c]
call dword [sym.imp.msvcrt.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
jne 0x102374e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0x128]
add ecx, ebx
cmp dword [esi + eax], ecx
je 0x1023759
inc edi
mov eax, dword [ebp + 8]
cmp edi, dword [eax + 0x38]
jb 0x1023712
jmp 0x1023768
imul edi, edi, 0x38
mov eax, dword [ebp + 8]
add edi, dword [eax + 0x34]
mov dword [ebp - 0x130], edi
mov eax, dword [ebp - 0x130]
mov edi, dword [ebp + 0xc]
test eax, eax
jne 0x10237bc
mov eax, dword [ebp - 0x128]
add eax, ebx
mov dword [ebp - 0x134], eax
push dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
or ecx, 4
push ecx
push eax
push dword [edi + 4]
push dword [edi]
mov eax, dword [ebp + 0x10]
lea ecx, [eax + 0x640]
push ecx
add eax, 0x438
push eax
push dword [ebp - 0x12c]
lea eax, [ebp - 0x134]
push eax
push 0x103d5c8
call fcn.01030c80
jmp 0x10237c5
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x134], eax
push 0x98
call fcn.01031ae1
mov esi, eax
test esi, esi
jne 0x10237e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x124], eax
jmp 0x1023938
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x120]
mov dword [ecx + eax*4], esi
mov dword [esi + 8], 0x454e494c
mov dword [esi + 0xc], ebx
mov eax, dword [ebp - 0x128]
add eax, ebx
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x134]
mov dword [esi + 0x10], eax
and dword [esi + 0x18], 0
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x12c]
mov dword [esi + 0x24], eax
and dword [esi + 0x44], 0
mov dword [esi + 0x2c], 0x20100000
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x102383f
mov eax, dword [eax + 0x10]
jmp 0x1023841
mov eax, dword [edi]
push eax
call fcn.01031b6b
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x1023859
mov eax, dword [eax + 0x14]
jmp 0x102385c
mov eax, dword [edi + 4]
push eax
call fcn.01031b6b
mov dword [esi + 0x40], eax
mov edx, dword [ebp - 0x130]
xor ecx, ecx
cmp edx, ecx
je 0x1023883
push dword [edx + 0x1c]
call fcn.01031b6b
mov edx, dword [ebp - 0x130]
xor ecx, ecx
jmp 0x1023885
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, edx
neg eax
sbb eax, eax
and eax, 3
inc eax
mov dword [esi + 0x90], eax
cmp edx, ecx
je 0x10238bc
mov eax, dword [edx + 8]
jmp 0x10238c2
mov eax, dword [edi + 0x10]
or eax, 4
mov dword [esi + 0x30], eax
mov eax, dword [0x103d678]
mov dword [esi], 0x103d674
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [0x103d678], esi
mov eax, dword [ebp + 0x14]
inc dword [eax]
push esi
call fcn.01022bed
cmp eax, 1
jne 0x10238f1
inc dword [0x103d65c]
inc ebx
jmp 0x1023677
mov dword [ebp - 0x124], 1
jmp 0x1023938
mov dword [ebp - 0x124], 1
or dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x120]
xor ebx, ebx
cmp edi, ebx
je 0x1023986
xor esi, esi
cmp dword [ebp - 0x1c], ebx
jbe 0x1023986
lea ecx, [edi + esi*4]
mov eax, dword [ecx]
cmp eax, ebx
je 0x1023980
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.01022bed
cmp eax, 1
jne 0x1023979
dec dword [0x103d65c]
push dword [ecx]
call fcn.01022434
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x102394b
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
push dword [ebp - 0x120]
call fcn.01031b59
cmp dword [ebp - 0x124], 0
je 0x10239ab
push dword [ebp - 0x124]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp dword [ebp - 0x124], eax
sete al
call fcn.0102e8ad
ret 0x10