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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c7cb
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x1008b2d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x17c], ebx
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x19c], esi
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], ax
push ebx
push edi
mov dword [ebp - 4], ebx
call fcn.10046910
push ebx
push edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
call fcn.10046860
add esp, 0x10
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
call fcn.100445d0
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xd0]
xor edx, edx
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], ebx
mov word [ebp - 0x7c], dx
call fcn.1001854a
lea ecx, [ebp - 0xd0]
push ecx
lea eax, [esi + 0x5c]
push eax
lea edx, [ebp - 0x178]
push edx
mov byte [ebp - 4], 2
call fcn.10035af0
add esp, 0xc
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.1001e3d7
cmp dword [ebp - 0x164], 8
mov byte [ebp - 4], 2
jb 0x1003b555
mov eax, dword [ebp - 0x178]
push eax
call fcn.1004dca6
add esp, 4
lea ecx, [ebp - 0x15c]
push ecx
mov ecx, edi
call fcn.100444b0
cmp dword [eax + 0x10], ebx
setne bl
cmp dword [ebp - 0x148], 8
jb 0x1003b581
mov edx, dword [ebp - 0x15c]
push edx
call fcn.1004dca6
add esp, 4
test bl, bl
je 0x1003b5c2
lea eax, [ebp - 0x124]
push eax
mov ecx, edi
call fcn.100444b0
push eax
lea ecx, [ebp - 0x108]
push ecx
mov byte [ebp - 4], 4
mov dword [ebp - 0x17c], 1
call fcn.100335f0
add esp, 8
mov ebx, 3
mov dword [ebp - 4], 5
lea edi, [ebx + 4]
jmp 0x1003b604
xor edx, edx
push 0xffffffffffffffff
push edx
lea eax, [esi + 0x40]
mov edi, 7
push eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], dx
call fcn.1001854a
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 6
mov ebx, 4
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [ebp - 0xb4], cx
push eax
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xa4], 0
call fcn.1001854a
mov dword [ebp - 4], edi
test bl, 4
je 0x1003b66e
and ebx, 0xfffffffb
cmp dword [ebp - 0x84], 8
jb 0x1003b655
mov edx, dword [ebp - 0x98]
push edx
call fcn.1004dca6
add esp, 4
xor eax, eax
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
test bl, 2
je 0x1003b6a7
and ebx, 0xfffffffd
cmp dword [ebp - 0xf4], 8
jb 0x1003b68e
mov ecx, dword [ebp - 0x108]
push ecx
call fcn.1004dca6
add esp, 4
xor edx, edx
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xf8], 0
mov word [ebp - 0x108], dx
mov byte [ebp - 4], 0xa
test bl, 1
je 0x1003b6e1
cmp dword [ebp - 0x110], 8
jb 0x1003b6c8
mov eax, dword [ebp - 0x124]
push eax
call fcn.1004dca6
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x114], 0
mov word [ebp - 0x124], cx
xor edi, edi
push edi
lea ebx, [esi + 0x5c]
lea edx, [ebp - 0xb4]
push ebx
push edx
call fcn.100464d0
add esp, 0xc
mov byte [ebp - 0x17d], al
test al, al
jne 0x1003b8f1
push edi
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x188]
push ecx
call fcn.10046c40
mov eax, dword [ebp - 0x188]
add esp, 0xc
cmp eax, edi
je 0x1003b8e4
cmp eax, 1
je 0x1003b8e4
mov edx, dword [ebp - 0x6c]
push 1
push 2
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x24c], 5
mov dword [ebp - 0x248], edi
call fcn.10036530
mov eax, dword [ebp - 0x244]
mov eax, dword [eax + 4]
lea eax, [ebp + eax - 0x244]
mov ecx, 0x30
mov word [eax + 0x40], cx
mov byte [ebp - 4], 0xb
xor ebx, ebx
push ebx
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x254]
inc ebx
call fcn.10038740
xor ecx, ecx
push 0xffffffffffffffff
push ecx
lea edx, [ebp - 0x140]
mov word [ebp - 0x60], cx
push edx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
call fcn.1001854a
lea eax, [ebp - 0x60]
push eax
lea eax, [esi + 0x5c]
push eax
lea ecx, [ebp - 0xec]
push ecx
mov byte [ebp - 4], 0xd
call fcn.10035af0
add esp, 0xc
mov edi, eax
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 0xe
cmp edx, edi
je 0x1003b843
cmp dword [ebp - 0x20], 8
jb 0x1003b7f3
mov eax, dword [ebp - 0x34]
push eax
call fcn.1004dca6
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], cx
cmp dword [edi + 0x14], 8
jae 0x1003b824
mov eax, dword [edi + 0x10]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x34]
push edi
push eax
call fcn.1004c330
add esp, 0xc
jmp 0x1003b82f
mov ecx, dword [edi]
mov dword [ebp - 0x34], ecx
mov dword [edi], 0
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x24], edx
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
cmp dword [ebp - 0xd8], 8
jb 0x1003b85b
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.1004dca6
add esp, 4
xor edx, edx
cmp dword [ebp - 0x4c], 8
mov dword [ebp - 0xd8], 7
mov dword [ebp - 0xdc], 0
mov word [ebp - 0xec], dx
jb 0x1003b88a
mov eax, dword [ebp - 0x60]
push eax
call fcn.1004dca6
add esp, 4
cmp dword [ebp - 0x12c], 8
mov byte [ebp - 4], 0xb
jb 0x1003b8a6
mov ecx, dword [ebp - 0x140]
push ecx
call fcn.1004dca6
add esp, 4
push 0
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x190]
push eax
call fcn.10046c40
mov eax, dword [ebp - 0x190]
add esp, 0xc
test eax, eax
je 0x1003b8d3
cmp eax, 1
je 0x1003b8d3
cmp ebx, 0xffffffff
jb 0x1003b777
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0xa
call fcn.10033620
xor edi, edi
push edi
lea ebx, [esi + 0x5c]
push ebx
call fcn.10047cf0
add esp, 8
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x194], ecx
call fcn.100026a0
mov ecx, dword [esi + 0x30]
or ecx, dword [esi + 0x34]
mov byte [ebp - 4], 0xf
je 0x1003b947
push edi
lea edx, [ebp - 0x284]
push ebx
push edx
call fcn.10046ba0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x54], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
add esp, 0xc
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x184], eax
jmp 0x1003b953
mov dword [ebp - 0x188], edi
mov dword [ebp - 0x184], edi
mov eax, dword [esi + 0x78]
mov ebx, dword [eax]
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x18c], eax
cmp ebx, dword [ebp - 0x18c]
je 0x1003bb6a
mov ecx, dword [esi + 0x88]
add ecx, dword [ebp - 0x44]
mov eax, dword [esi + 0x8c]
adc eax, dword [ebp - 0x40]
cmp eax, dword [esi + 0x2c]
ja 0x1003b9c5
jb 0x1003b98e
cmp ecx, dword [esi + 0x28]
ja 0x1003b9c5
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov edx, ecx
or edx, eax
je 0x1003b9ac
cmp eax, dword [ebp - 0x184]
ja 0x1003b9c5
jb 0x1003b9ac
cmp ecx, dword [ebp - 0x188]
ja 0x1003b9c5
mov ecx, dword [esi + 0x7c]
xor eax, eax
cmp dword [esi + 0x3c], eax
ja 0x1003bb6a
jb 0x1003b9c5
cmp dword [esi + 0x38], ecx
ja 0x1003bb6a
push 0
lea edi, [ebx + 0x18]
lea ecx, [ebp - 0x1ac]
push edi
push ecx
call fcn.10046c40
mov eax, dword [ebp - 0x1ac]
add esp, 0xc
test eax, eax
je 0x1003baff
cmp eax, 1
je 0x1003baff
push 0
lea edx, [ebp - 0x1a4]
push edi
push edx
call fcn.10046c40
add esp, 0xc
cmp dword [ebp - 0x1a4], 2
jne 0x1003baff
push 0
push edi
mov byte [ebp - 4], 0x10
call fcn.10046ad0
mov eax, dword [esi + 0x30]
add esp, 8
or eax, dword [esi + 0x34]
je 0x1003ba65
push 0
lea ecx, [esi + 0x5c]
push ecx
lea edx, [ebp - 0x26c]
push edx
call fcn.10046ba0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x54], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
add esp, 0xc
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x184], eax
mov eax, dword [ebx + 8]
sub dword [esi + 0x88], eax
mov ecx, dword [ebx + 0xc]
mov edi, ebx
sbb dword [esi + 0x8c], ecx
mov ebx, dword [ebx]
mov dword [ebp - 0x17c], ebx
cmp edi, dword [esi + 0x78]
je 0x1003bac7
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov dword [eax], edx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
cmp dword [edi + 0x2c], 8
jb 0x1003baa7
mov eax, dword [edi + 0x18]
push eax
call fcn.1004dca6
add esp, 4
xor edx, edx
mov dword [edi + 0x2c], 7
mov dword [edi + 0x28], 0
push edi
mov word [edi + 0x18], dx
call fcn.1004dca6
add esp, 4
dec dword [esi + 0x7c]
mov dword [ebp - 4], 0xf
jmp 0x1003b964
mov edx, dword [ebx + 8]
sub dword [esi + 0x88], edx
mov eax, dword [ebx + 0xc]
mov edi, ebx
sbb dword [esi + 0x8c], eax
mov ebx, dword [ebx]
mov dword [ebp - 0x17c], ebx
cmp edi, dword [esi + 0x78]
je 0x1003b964
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov dword [ecx], edx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
cmp dword [edi + 0x2c], 8
jb 0x1003bb45
mov edx, dword [edi + 0x18]
push edx
call fcn.1004dca6
add esp, 4
xor eax, eax
mov dword [edi + 0x2c], 7
mov dword [edi + 0x28], 0
push edi
mov word [edi + 0x18], ax
call fcn.1004dca6
add esp, 4
dec dword [esi + 0x7c]
jmp 0x1003b964
cmp byte [ebp - 0x17d], 0
jne 0x1003bb88
mov edx, dword [ebp - 0x198]
push 0
lea ecx, [ebp - 0x34]
push ecx
push edx
call fcn.10046b40
add esp, 0xc
mov ebx, dword [esi + 0x78]
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x44]
push eax
push ecx
push ebx
lea ecx, [esi + 0x78]
call fcn.10038fe0
mov ecx, dword [esi + 0x7c]
mov edx, 0x5555554
sub edx, ecx
cmp edx, 1
jae 0x1003bbb5
push str.list_T__too_long
call fcn.10012097
inc ecx
mov dword [esi + 0x7c], ecx
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
add dword [esi + 0x88], eax
mov ecx, dword [ebp - 0x40]
push 0x80000000
adc dword [esi + 0x8c], ecx
mov esi, dword [ebp - 0x194]
push esi
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, 0x40000000
jne 0x1003bc44
cmp eax, 0x80000000
jle 0x1003bc44
mov edx, esi
lock bts dword [edx], 0x1e
jb 0x1003bc44
mov eax, dword [esi + 4]
lea edi, [esi + 4]
xor ebx, ebx
cmp eax, ebx
jne 0x1003bc3b
push ebx
push ebx
call fcn.1000250c
add esp, 8
push ebx
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov edi, eax
cmp edi, ebx
je 0x1003bc39
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1003bc46
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1003bc46
xor ebx, ebx
mov esi, 8
cmp dword [ebp - 0xa0], esi
jb 0x1003bc62
mov eax, dword [ebp - 0xb4]
push eax
call fcn.1004dca6
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xa4], ebx
mov word [ebp - 0xb4], cx
cmp dword [ebp - 0x68], esi
jb 0x1003bc8d
mov edx, dword [ebp - 0x7c]
push edx
call fcn.1004dca6
add esp, 4
xor eax, eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], ebx
mov word [ebp - 0x7c], ax
cmp dword [ebp - 0xbc], esi
jb 0x1003bcb0
mov ecx, dword [ebp - 0xd0]
push ecx
call fcn.1004dca6
add esp, 4
xor edx, edx
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xc0], ebx
mov word [ebp - 0xd0], dx
cmp dword [ebp - 0x20], esi
jb 0x1003bcd6
mov eax, dword [ebp - 0x34]
push eax
call fcn.1004dca6
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004c01d
mov esp, ebp
pop ebp
ret 4