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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006125f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x30], ebx
cmp dword [ebx], 0
je 0x1003c3f2
push dword [ebx]
push 0
push dword [ebx + 4]
call fcn.100334af
add esp, 0xc
push dword [ebx + 4]
call fcn.1004b1d7
mov dword [esp + 0x18], 0xa48bbca6
mov dword [esp + 0x1c], 0xab77c19c
mov dword [esp + 0x18], 0xfffffff7
cmp dword [esp + 0x18], 0xa
pop ecx
jg 0x1003c3d7
mov dword [esp + 0x1c], 0x44455595
mov dword [esp + 0x20], 0x403e
cmp dword [esp + 0x20], 0x4392
jle 0x1003c048
call dword [sym.imp.USER32.dll_WaitMessage]
xor edi, edi
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x18], 0x258f
mov ecx, ebx
mov eax, edi
shl eax, cl
lea ecx, [esp + 0x60]
cdq
push edx
push eax
call fcn.1000cda0
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003c01a
mov eax, dword [eax]
push eax
call fcn.1004b066
pop ecx
push 0
push 1
lea ecx, [esp + 0x68]
call fcn.1002c0ff
add ebx, esi
dec dword [esp + 0x18]
jne 0x1003bffe
inc esi
cmp esi, 0x552c
jl 0x1003bff4
inc edi
cmp edi, 0x228b
jl 0x1003bff2
mov dword [esp + 0x2c], 0xbebf3b8c
cmp dword [esp + 0x20], 0x3e6d
jge 0x1003c065
push 0x1000add0
call fcn.1004b066
pop ecx
or dword [esp + 0x9c], 0xffffffff
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], 0xfffffff9
push 2
call fcn.1002bd73
mov dword [esp + 0x9c], 2
mov dword [esp + 0x18], 0
jmp 0x1003c0a8
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x7e80a7c6
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1003c095
cmp dword [esp + 0x14], 1
je 0x1003c230
push 2
lea ecx, [esp + 0x58]
call fcn.1002bd73
mov byte [esp + 0x9c], 3
mov dword [esp + 0x2c], 0x7af2c9a1
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 0x62aa
cmp dword [esp + 0x28], 0x668f
jle 0x1003c175
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
xor edi, edi
mov dword [esp + 0x24], edi
xor esi, esi
mov dword [esp + 0x18], esi
lea ebx, [esi + edi]
mov dword [esp + 0x20], 0x4f8b
mov edi, ebx
mov esi, 0x1adf
mov eax, edi
lea ecx, [esp + 0x78]
cdq
push edx
push eax
call fcn.1000cda0
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003c131
mov eax, dword [eax]
push eax
call fcn.1004b066
pop ecx
push 0
push 1
lea ecx, [esp + 0x80]
call fcn.1002c0ff
inc edi
dec esi
jne 0x1003c119
dec ebx
dec dword [esp + 0x20]
jne 0x1003c112
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
inc esi
mov dword [esp + 0x18], esi
cmp esi, 0x364c
jl 0x1003c107
inc edi
mov dword [esp + 0x24], edi
cmp edi, 0x3548
jl 0x1003c101
cmp dword [esp + 0x28], 0x60ba
jge 0x1003c18a
push 0x1000ae0c
call fcn.1004b066
pop ecx
mov dword [esp + 0x18], 0
jmp 0x1003c1a7
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov dword [eax + ecx*4], 0xfffffffa
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1003c194
cmp dword [esp + 0x1c], 0
jne 0x1003c1c3
mov eax, dword [esp + 0x54]
cmp dword [eax + 4], 0
jne 0x1003c1c3
xor esi, esi
jmp 0x1003c1c6
xor esi, esi
inc esi
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
mov eax, dword [esp + 0x14]
cmp ecx, eax
mov eax, dword [esp + 0x1c]
setge bl
xor edx, edx
neg ebx
cmp ebx, eax
mov eax, dword [esp + 0x14]
setle dl
xor ecx, ecx
cmp edx, eax
setne cl
imul ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x14]
jne 0x1003c1fc
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp eax, 0x6b379904
setne cl
imul ecx, dword [esp + 0x1c]
imul ecx, esi
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x54]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
call fcn.1002bdf5
jmp 0x1003c383
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x2c], 0xfffffffb
mov dword [esp + 0x18], 0
jmp 0x1003c25a
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x34], 0xbbe58ed0
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1003c24a
mov dword [esp + 0x18], 0
jmp 0x1003c27b
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x48], 0xfffffff8
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 3
jl 0x1003c26b
dec dword [esp + 0x34]
xor edx, edx
mov eax, dword [esp + 0x34]
inc dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
cmp eax, ecx
mov eax, dword [esp + 0x14]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x50]
setle cl
xor edx, edx
cmp ecx, 0x5454
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x3c]
setl cl
xor edx, edx
cmp ecx, dword [eax]
mov eax, dword [esp + 0x1c]
setne dl
add eax, edx
cmp eax, 0xe70d
jle 0x1003c2e2
cmp dword [esp + 0x14], 0
je 0x1003c2e2
xor eax, eax
inc eax
jmp 0x1003c2e4
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
cmp dword [eax], 0
jne 0x1003c300
cmp dword [esp + 0x14], 0
jne 0x1003c300
xor ecx, ecx
jmp 0x1003c303
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x34]
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x38]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x28]
sete cl
xor edx, edx
cmp ecx, 0x65fb
setl dl
xor ecx, ecx
cmp edx, eax
setle cl
sub ecx, dword [esp + 0x14]
neg ecx
sbb ecx, ecx
inc ecx
imul eax, ecx, 0x37d
xor ecx, ecx
cmp eax, 0x1323
setne cl
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x34]
neg eax
sbb eax, eax
inc eax
imul edx, eax, 0xb839
mov eax, dword [esp + 0x28]
sub edx, 0xfffffffc
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setne cl
imul ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x1c]
dec eax
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
add ecx, dword [eax]
je 0x1003c3aa
cmp dword [esp + 0x1c], 0
je 0x1003c3aa
xor ecx, ecx
inc ecx
jmp 0x1003c3ac
xor ecx, ecx
mov eax, dword [esp + 0x3c]
or dword [esp + 0x9c], 0xffffffff
mov dword [eax + 4], ecx
lea ecx, [esp + 0x3c]
call fcn.1002bdf5
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0xa
jle 0x1003bfd0
mov ebx, dword [esp + 0x30]
mov byte [esp + 0x13], 0
cmp byte [esp + 0x13], 0
je 0x1003c3eb
push 0
call dword [sym.imp.ole32.dll_CoTaskMemFree]
and dword [ebx + 4], 0
and dword [ebx], 0
mov ecx, dword [esp + 0x94]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret