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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10029b4c
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10039454]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x10039454]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x20]
mov eax, dword [eax]
xor esi, esi
cmp eax, esi
je 0x100028b9
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x30]
mov eax, dword [eax]
mov ecx, dword [ecx]
add ecx, eax
cmp eax, ecx
jae 0x100028b9
mov eax, dword [ebx + 0x30]
dec dword [eax]
mov ebx, dword [ebx + 0x20]
mov eax, dword [ebx]
lea ecx, [eax + 1]
mov dword [ebx], ecx
movzx eax, byte [eax]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.10005dd0
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x54], esi
jne 0x100028c3
or eax, 0xffffffff
jmp 0x10002898
mov eax, ebx
call fcn.100034c1
cmp dword [ebx + 0x44], esi
jne 0x100028e2
push dword [ebx + 0x54]
call fcn.100098f0
pop ecx
cmp eax, 0xffffffff
je 0x100028be
movzx eax, al
jmp 0x10002898
push ecx
mov dword [esp + 0x1c], esp
lea ecx, [esp + 0x64]
mov dword [esp + 0x1c], esp
call fcn.10003046
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], esi
mov byte [esp + 0x64], 0
mov dword [esp + 0x90], esi
jmp 0x10002a60
xor edi, edi
push eax
inc edi
lea esi, [esp + 0x64]
call fcn.10002eff
lea eax, [esp + 0x3c]
push eax
mov eax, esi
push eax
call fcn.10002fbb
mov edi, eax
lea eax, [esp + 0x24]
push eax
mov eax, esi
push eax
mov byte [esp + 0x98], 1
call fcn.10002fbb
mov dword [esp + 0x1c], eax
mov byte [esp + 0x90], 2
call fcn.10003a68
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x18], eax
call fcn.10003a68
add esi, dword [esp + 0x18]
mov ecx, dword [ebx + 0x44]
mov edx, dword [ecx]
lea edi, [esp + 0x20]
push edi
lea edi, [esp + 0x18]
push edi
lea edi, [esp + 0x1b]
push edi
lea edi, [esp + 0x20]
push edi
push esi
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [edx + 0x10]
lea edi, [esp + 0x24]
mov esi, eax
mov byte [esp + 0x90], 1
call fcn.10001047
lea edi, [esp + 0x3c]
mov byte [esp + 0x90], 0
call fcn.10001047
test esi, esi
js 0x10002a72
cmp esi, 1
jle 0x10002a15
cmp esi, 3
jne 0x10002a72
cmp dword [esp + 0x74], 1
jb 0x10002a60
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.10002fbb
push 1
mov edi, eax
mov byte [esp + 0x94], 5
call fcn.10003a68
push eax
lea eax, [esp + 0x1b]
push 1
push eax
call fcn.1000a010
add esp, 0x10
lea edi, [esp + 0x30]
mov byte [esp + 0x90], 0
call fcn.10001047
jmp 0x10002aed
lea eax, [esp + 0x13]
cmp dword [esp + 0x20], eax
jne 0x10002a9a
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.10002fbb
mov edi, eax
mov byte [esp + 0x90], 4
call fcn.10003a68
mov ecx, dword [esp + 0x14]
sub ecx, eax
push ecx
push 0
lea ecx, [esp + 0x68]
call fcn.10002f4b
lea edi, [esp + 0x54]
mov byte [esp + 0x90], 0
call fcn.10001047
push dword [ebx + 0x54]
call fcn.100098f0
pop ecx
cmp eax, 0xffffffff
jne 0x10002911
or esi, 0xffffffff
or dword [esp + 0x90], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x68]
call fcn.10002ffd
lea ecx, [esp + 0x60]
call fcn.100030a9
mov eax, esi
jmp 0x10002898
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.10002fbb
mov edi, eax
mov byte [esp + 0x90], 3
call fcn.10003a68
mov esi, dword [esp + 0x74]
sub esi, dword [esp + 0x14]
lea edi, [esp + 0x48]
add esi, eax
mov byte [esp + 0x90], 0
call fcn.10001047
jmp 0x10002ae9
mov eax, dword [esp + 0x14]
push dword [ebx + 0x54]
dec esi
movsx eax, byte [esi + eax]
push eax
call fcn.10008e80
pop ecx
pop ecx
test esi, esi
jg 0x10002ad5
movzx esi, byte [esp + 0x13]
jmp 0x10002a75