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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005abb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
mov byte [esp + 0x40], cl
push ebx
push esi
push edi
test cl, cl
je 0x1002c638
push 0xffffffffffffffff
pop edi
push 0
mov dword [esp + 0x18], 0x97f6af11
mov dword [esp + 0x18], 0xfffffffe
pop ebx
jmp 0x1002bf09
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x10], ebx
jmp 0x1002beba
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x28], 0x1e29ea41
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jl 0x1002beaa
mov dword [esp + 0x84], 0xfffffffd
mov dword [esp + 0x28], ebx
jmp 0x1002befe
mov dword [esp + 0x10], 0x1dfe0091
mov dword [esp + 0x10], ebx
jmp 0x1002bef3
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x80], 0xfffffffc
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x1002bee0
inc dword [esp + 0x28]
cmp dword [esp + 0x28], 0xd
jne 0x1002bed2
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xffffffed
je 0x1002be88
push 0x7c
pop eax
push 2
mov byte [esp + 0x38], bl
mov ecx, ebx
mov dword [esp + 0x39], 0x8e0c04a8
mov word [esp + 0x3d], 0xba5c
mov word [esp + 0x30], ax
pop esi
cmp esi, 2
jne 0x1002bf40
push 5
pop ecx
push ecx
pop esi
jmp 0x1002bf67
movzx edx, byte [esp + esi + 0x35]
mov eax, esi
sub eax, ecx
movzx eax, byte [esp + eax + 0x32]
movzx eax, word [esp + eax*2 + 0x2c]
mov ecx, eax
and eax, edx
or ecx, edx
sub ecx, eax
movzx eax, byte [esp + esi + 0x34]
mov word [esp + eax*2 + 0x2c], cx
mov ecx, ebx
add esi, 2
cmp esi, 7
jb 0x1002bf34
push 0xfffffffffffffffa
xor eax, eax
mov word [esp + 0x32], ax
pop esi
mov dword [esp + 0x14], 0xb4ffb87
mov dword [esp + 0x18], esi
push 8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
pop ecx
jmp 0x1002bf9e
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x30], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jl 0x1002bf92
mov byte [esp + 0x26], bl
lea edx, [esp + 0x26]
push ecx
call fcn.1002d136
pop ecx
mov dword [esp + 0x14], ebx
jmp 0x1002c09b
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], 0xfffffffe
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], ebx
jl 0x1002c097
mov dword [esp + 0x18], 0x401dbdae
xor ebx, ebx
inc ebx
xor ecx, ecx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x30]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x30]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + eax*4 + 0x30]
mov eax, dword [esp + 0x14]
test eax, eax
setns cl
xor eax, eax
cmp ecx, edx
setne al
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + eax*4 + 0x30]
cmp dword [esp + 0x18], 0xbc9b780f
sbb eax, eax
xor ecx, ecx
neg eax
imul edx, eax
mov eax, dword [esp + 0x10]
cmp edx, eax
setg cl
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
sub edx, 6
cmp edx, eax
mov eax, dword [esp + 0x14]
setg cl
xor edx, edx
imul ecx, ecx, 0xfffa
mov eax, dword [esp + eax*4 + 0x30]
cmp ecx, eax
mov eax, dword [esp + 0x10]
setne dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [esp + 0x14]
setg bl
xor ecx, ecx
cmp ebx, eax
setg cl
add ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
dec dword [esp + 0x10]
jns 0x1002bfd7
xor ebx, ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ebx
jle 0x1002bfbd
xor eax, eax
mov dword [esp + 0xb8], 7
mov word [esp + 0xa4], ax
lea ecx, [esp + 0xa4]
lea eax, [esp + 0x2c]
mov dword [esp + 0xb4], ebx
push eax
call fcn.10006e67
mov edx, dword [ebp + 8]
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x94]
mov dword [esp + 0x110], ebx
call fcn.1002b1a7
pop ecx
push ebx
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0x114], 2
call fcn.10006eef
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], 0x9570a50b
mov dword [esp + 0x18], 0x78e0
mov dword [esp + 0x1c], 0xe2cf4565
mov dword [esp + 0x14], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x14], 9
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
neg esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
sbb esi, esi
xor edx, edx
neg esi
cmp ecx, eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
setne dl
add ecx, 0x9b451f04
add ecx, edx
xor edx, edx
cmp ecx, eax
setg dl
xor eax, eax
cmp edx, 5
setne al
xor edx, edx
cmp esi, eax
setne dl
xor ecx, ecx
imul edx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp edx, eax
setge cl
sub ecx, dword [esp + 0x18]
imul ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1002c19f
cmp dword [esp + 0x1c], ebx
je 0x1002c19f
xor eax, eax
inc eax
jmp 0x1002c1a1
mov eax, ebx
push 8
pop ecx
cmp ecx, eax
push ecx
sbb eax, eax
add eax, 0x8f5a
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add eax, 0xa6e4
mov dword [esp + 0x18], eax
push ecx
call fcn.1002b22a
mov dword [esp + 0x1c], 0x81c2900
mov dword [esp + 0x28], 4
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
pop ecx
mov dword [esp + 0x24], eax
pop ecx
cmp dword [esp + 0x20], ebx
je 0x1002c35a
mov dword [esp + 0x18], 0xfffffffc
mov dword [esp + 0x18], 0xfb1
cmp dword [esp + 0x18], 0x12ae
jle 0x1002c26e
mov esi, ebx
mov edi, ebx
mov eax, esi
lea ecx, [esp + 0xe8]
cdq
idiv edi
mov eax, edx
cdq
push edx
push eax
call fcn.10001a21
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002c243
mov eax, dword [eax]
push eax
call fcn.10041a06
pop ecx
push ebx
push 1
lea ecx, [esp + 0xf0]
call fcn.10001e51
inc edi
cmp edi, 0x5a9d
jl 0x1002c223
inc esi
cmp esi, 0x449e
jl 0x1002c221
or edi, 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x1002c280
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x70], edi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x1002c274
cmp dword [esp + 0x18], 0xbf1
jge 0x1002c29c
push str.dgb_ysistccor_qqrya_anbhule_mmjqwz
call fcn.10041a06
pop ecx
mov dword [esp + 0x10c], 2
mov dword [esp + 0x14], ebx
jmp 0x1002c34a
mov dword [esp + 0x18], 0xfffffffc
mov dword [esp + 0x1c], 0xffff
mov dword [esp + 0x10], ebx
jmp 0x1002c2d9
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x9c], 1
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1002c2c6
mov byte [esp + 0x27], bl
cmp byte [esp + 0x27], 0
je 0x1002c2f2
push ebx
call fcn.1002b45e
pop ecx
mov eax, dword [esp + 0x70]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], ebx
jne 0x1002c311
cmp dword [esp + 0x70], ebx
jne 0x1002c311
mov ecx, ebx
jmp 0x1002c314
xor ecx, ecx
inc ecx
cmp dword [esp + 0x74], 1
jne 0x1002c321
cmp dword [esp + 0x78], ebx
jne 0x1002c32b
cmp dword [esp + 0x70], ebx
jne 0x1002c32b
mov eax, ebx
jmp 0x1002c32e
xor eax, eax
inc eax
add eax, ecx
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp eax, 0x2452a2c7
setle cl
mov dword [esp + 0x1c], ecx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jle 0x1002c2b0
jmp 0x1002c3e9
mov dword [esp + 0x50], 7
mov dword [esp + 0x10], ebx
jmp 0x1002c37b
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xe0], 0x7b6a
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1002c368
cmp dword [esp + 0x50], ebx
jne 0x1002c3bf
push 0x2171
push 0xcd9
push 0x3941
push 0x6bda
push 0x3a54
push 1
push ebx
push 0x209e
push 0x787c
mov dl, 1
mov ecx, 0x20ab
call fcn.1002d835
add esp, 0x24
jmp 0x1002c3d8
mov dword [esp + 0x20], ebx
jmp 0x1002c3d1
push 1
call fcn.1002b45e
inc dword [esp + 0x24]
pop ecx
cmp dword [esp + 0x20], 1
jle 0x1002c3c5
lea eax, [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.1002cbb2
pop ecx
pop ecx
push 0x20
pop eax
push 2
pop esi
mov ecx, ebx
mov word [esp + 0x6a], ax
push 8
mov dword [esp + 0x40], 0x2d01b703
mov byte [esp + 0x44], bl
mov dword [esp + 0x45], 0x3030204
mov word [esp + 0x49], 0x9d6b
mov byte [esp + 0x4b], 0x35
mov dword [esp + 0x4c], ecx
pop eax
cmp esi, eax
jne 0x1002c42d
push 4
pop ecx
push 0xa
mov dword [esp + 0x4c], ecx
pop esi
jmp 0x1002c471
movzx edx, byte [esp + esi + 0x3d]
mov eax, esi
sub eax, ecx
movzx eax, byte [esp + eax + 0x3a]
movzx ecx, word [esp + eax*2 + 0x64]
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
movzx eax, byte [esp + esi + 0x3c]
add ecx, edx
mov edx, 0x3de5
push ecx
push ecx
mov word [esp + eax*2 + 0x6c], cx
lea eax, [esp + 0x50]
push eax
mov cl, 1
call fcn.1002b332
mov ecx, dword [esp + 0x54]
add esp, 0xc
push 8
pop eax
add esi, 2
cmp esi, 0xc
jb 0x1002c41d
xor eax, eax
mov dword [esp + 0xd0], 7
mov word [esp + 0x6c], ax
lea ecx, [esp + 0xbc]
mov word [esp + 0xbc], ax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0xd0], ebx
call fcn.10006e67
mov byte [esp + 0x10c], 5
xor ecx, ecx
mov dword [esp + 0x54], edi
inc ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x18], 0xfffffff9
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0xd9c7279c
mov dword [esp + 0x1c], 0xfffffffa
mov dword [esp + 0x14], ebx
jmp 0x1002c4fb
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0xd4], 0x5849968c
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x1002c4e8
mov dword [esp + 0x14], ebx
jmp 0x1002c518
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x7c], 0xfffffffb
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ecx
jl 0x1002c508
mov eax, dword [esp + 0x58]
mov ecx, 0xfffc
mov eax, dword [esp + 0x58]
mov eax, dword [esp + 0x58]
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
neg eax
sbb eax, eax
inc eax
imul edx, eax
mov eax, dword [esp + 0x58]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
mov eax, dword [esp + 0x54]
setl cl
xor edx, edx
cmp ecx, 0x1860
setne dl
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [esp + 0xd8], ecx
mov eax, dword [esp + 0x58]
cmp dword [esp + 0xd8], 0x734cb441
jg 0x1002c590
mov eax, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov ecx, 0x3329
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x58]
push 0x4e3e
lea eax, [esp + 0x29]
mov dword [esp + 0x20], edi
push 0x3e01
push eax
mov byte [esp + 0x31], bl
call fcn.1002e495
add esp, 0xc
lea edi, [esp + 0x64]
xor eax, eax
lea ecx, [esp + 0xbc]
stosd dword es:[edi], eax
mov edx, 0x2087
push 0x164
push 0x910
stosd dword es:[edi], eax
push 1
stosw word es:[edi], ax
lea eax, [esp + 0x9c]
push eax
push ebx
push 0x7d3b
push 1
push 0x29a2
call fcn.1002e4c1
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0xb0]
add esp, 0x20
push eax
call fcn.1002eb6d
push ebx
push 1
lea ecx, [esp + 0xc4]
call fcn.10006eef
lea ecx, [esp + 0x90]
call fcn.1002efc7
jmp 0x1002c648
cmp byte [edx], 0
je 0x1002c648
push 0xc4d
call dword [sym.imp.USER32.dll_GetQueueStatus]
mov ecx, dword [esp + 0x104]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret