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

Disassembly:
push 0xffffffffffffffff
push 0x1025c3c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
mov ebx, ecx
xor ebp, ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x74], ebp
mov dword [esp + 0xc], ebp
call fcn.10040c00
lea eax, [esp + 0x7c]
mov byte [esp + 0x74], 1
push eax
call fcn.10039900
xor edx, edx
div dword [ebx + 8]
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x1003f911
mov esi, dword [eax + edx*4]
cmp esi, ebp
je 0x1003f911
lea ecx, [esp + 0x7c]
lea edx, [esi + 8]
push ecx
push edx
call fcn.100398e0
add esp, 8
test eax, eax
jne 0x1003f99e
mov esi, dword [esi]
cmp esi, ebp
jne 0x1003f8f2
lea eax, [ebx + 0x1c]
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.1009cf30
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 2
push ecx
call fcn.10039900
xor edx, edx
div dword [ebx + 0x40]
mov eax, dword [ebx + 0x3c]
cmp eax, ebp
je 0x1003f95d
mov esi, dword [eax + edx*4]
cmp esi, ebp
je 0x1003f95d
lea edx, [esp + 0x7c]
lea eax, [esi + 8]
push edx
push eax
call fcn.100398e0
add esp, 8
test eax, eax
jne 0x1003f9b5
mov esi, dword [esi]
cmp esi, ebp
jne 0x1003f942
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 1
call fcn.1009cf90
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 0
call fcn.10040c30
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.10039950
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
cmp esi, ebp
je 0x1003f911
add esi, 0x10
lea ecx, [esp + 0x2c]
push esi
call fcn.10040d40
jmp 0x1003f9dc
cmp esi, ebp
je 0x1003f95d
add esi, 0x10
lea ecx, [esp + 0x2c]
push esi
call fcn.10040d40
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x74], 1
call fcn.1009cf90
mov eax, dword [esp + 0x5c]
push edi
cmp eax, ebp
je 0x1003fa61
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.1009cf30
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x78], 3
cmp eax, ebp
je 0x1003fa53
mov esi, dword [esp + 0x6c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
push 0x1bb
push str.G:WorkshopAgentDevelopProjCodePreReleaseTMailGateway4.85.405.0_
push edi
mov ecx, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 2
call fcn.1009d680
mov ebp, eax
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x78], 4
call fcn.100ba600
test ebp, ebp
mov byte [esp + 0x78], 3
je 0x1003fa51
push edi
mov ecx, esi
call fcn.1009d900
xor ebp, ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 1
call fcn.1009cf90
cmp dword [esp + 0x10], ebp
je 0x1003fc0d
lea ecx, [ebx + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x28]
call fcn.1009cf30
mov eax, dword [ebx + 0x3c]
mov byte [esp + 0x78], 5
cmp eax, ebp
je 0x1003fb9e
lea edx, [esp + 0x80]
push edx
call fcn.10039900
xor edx, edx
div dword [ebx + 0x40]
mov eax, dword [ebx + 0x3c]
mov esi, dword [eax + edx*4]
cmp esi, ebp
lea edi, [eax + edx*4]
je 0x1003fb9e
lea ecx, [esp + 0x80]
lea edx, [esi + 8]
push ecx
push edx
call fcn.100398e0
add esp, 8
test eax, eax
jne 0x1003fad2
mov edi, esi
mov esi, dword [esi]
cmp esi, ebp
jne 0x1003faad
jmp 0x1003fb9e
mov eax, dword [esi]
mov dword [edi], eax
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.10040c30
add edi, 0x40
mov ecx, ebp
dec ebp
test ecx, ecx
jne 0x1003fad9
lea edi, [esi + 8]
xor ebp, ebp
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx]
add edi, 8
mov eax, ebp
dec ebp
test eax, eax
jne 0x1003faef
mov ecx, dword [ebx + 0x48]
mov dword [esi], ecx
mov eax, dword [ebx + 0x44]
dec eax
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x44], eax
jne 0x1003fb9c
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x1003fb7a
mov ecx, dword [ebx + 0x40]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jbe 0x1003fb7a
mov edx, dword [ebx + 0x3c]
mov ebp, dword [edx + eax*4]
test ebp, ebp
je 0x1003fb6e
lea esi, [ebp + 0x10]
xor edi, edi
push 0
mov ecx, esi
call fcn.10040d90
add esi, 0x40
mov eax, edi
dec edi
test eax, eax
jne 0x1003fb39
lea esi, [ebp + 8]
xor edi, edi
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx]
add esi, 8
mov eax, edi
dec edi
test eax, eax
jne 0x1003fb51
mov ebp, dword [ebp]
test ebp, ebp
jne 0x1003fb34
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x1003fb2a
mov eax, dword [ebx + 0x3c]
push eax
call fcn.1024ac9a
mov ecx, dword [ebx + 0x4c]
xor esi, esi
add esp, 4
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x48], esi
call fcn.1009c0b0
mov dword [ebx + 0x4c], esi
xor ebp, ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 1
call fcn.1009cf90
mov ecx, dword [esp + 0x5c]
cmp ecx, ebp
je 0x1003fbbe
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esp + 0x5c], ebp
mov ecx, dword [esp + 0x6c]
cmp ecx, ebp
je 0x1003fbd0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x6c], ebp
mov ecx, dword [esp + 0x60]
cmp ecx, ebp
je 0x1003fbe3
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov dword [esp + 0x60], ebp
mov eax, dword [esp + 0x68]
cmp eax, ebp
je 0x1003fbf8
push eax
call fcn.1024ac9a
add esp, 4
mov dword [esp + 0x68], ebp
mov eax, dword [esp + 0x64]
cmp eax, ebp
je 0x1003fc0d
push eax
call fcn.1024ac9a
add esp, 4
mov dword [esp + 0x64], ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 0
call fcn.10040c30
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0xffffffff
call fcn.10039950
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 8