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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1006509e
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push esi
mov esi, ecx
push edi
test dl, dl
je 0x1000622d
cmp byte [ebp + 0x1c], 0
je 0x10006207
mov esi, dword [ebp + 0x20]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x100061fc
lea eax, [esp + 0x78]
xor ebx, ebx
push eax
push 0x1000
lea ecx, [esp + 0x40]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.10007b0a
mov dword [esp + 0x104], ebx
mov edi, 0x9aef
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
push dword [esp + 0x38]
sar eax, 1
push eax
push edi
push 0xa163
call fcn.100218b5
pop ecx
pop ecx
call eax
push dword [esp + 0x38]
lea ecx, [esp + 0x64]
call fcn.10006951
inc ebx
push 0x7771
mov byte [esp + 0x108], bl
call fcn.1003d0d2
cmp dword [esp + 0x78], 8
pop ecx
movzx edx, ax
lea ecx, [esp + 0x60]
cmovae ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], edx
cmp word [ecx + eax*2 - 2], dx
je 0x10005dac
push ebx
sub esp, 0xc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x70]
push 0x39ce
call fcn.100054aa
add esp, 0x14
push ebx
push 0x5432
lea ecx, [esp + 0x68]
call fcn.10005725
cmp dword [esp + 0x7c], 8
lea eax, [esp + 0x68]
pop ecx
cmovae eax, dword [esp + 0x64]
pop ecx
push 0
push eax
push edi
push 0x8e07
call fcn.100218b5
pop ecx
pop ecx
call eax
lea eax, [esp + 0x60]
push eax
push ecx
push 0x54b0
push ebx
lea ecx, [esp + 0x20]
call fcn.1000582c
and dword [esp + 0x54], 0
lea eax, [esp + 0x54]
push ebx
push 0x320f
push 0x324d
push 0x37cd
push eax
push ebx
push ebx
push esi
mov edx, 0xbe
mov ecx, 0x3cc6
call fcn.100058b7
and dword [esp + 0x40], 0
xor al, al
add esp, 0x30
mov byte [esp + 0xf], al
xor edi, edi
test al, al
jne 0x100061dd
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x80]
call fcn.10006916
push 0x10
pop edx
lea ecx, [esp + 0xe0]
mov byte [esp + 0x104], 2
call fcn.1004322a
push ecx
push ecx
lea eax, [esp + 0xe8]
mov byte [esp + 0x10c], 3
push eax
lea ecx, [esp + 0x88]
call fcn.1000907a
push 0x65
pop eax
push 2
mov dword [esp + 0x18], 0x1d027103
xor ecx, ecx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x1d], 0x44b001d
mov dword [esp + 0x21], 0xbbdc5ee
mov word [esp + 0x5e], ax
pop esi
cmp esi, 8
jne 0x10005eb2
push 5
pop ecx
push 0xb
pop esi
jmp 0x10005ed9
movzx edx, byte [esp + esi + 0x15]
mov eax, esi
sub eax, ecx
movzx eax, byte [esp + eax + 0x12]
movzx eax, word [esp + eax*2 + 0x54]
mov ecx, eax
and eax, edx
or ecx, edx
sub ecx, eax
movzx eax, byte [esp + esi + 0x14]
mov word [esp + eax*2 + 0x54], cx
xor ecx, ecx
add esi, 2
cmp esi, 0xd
jb 0x10005ea5
xor eax, eax
mov dword [esp + 0xc0], 7
and dword [esp + 0xbc], eax
lea ecx, [esp + 0xac]
mov word [esp + 0x5c], ax
mov word [esp + 0xac], ax
lea eax, [esp + 0x54]
push eax
call fcn.100076e1
push ecx
push ecx
lea eax, [esp + 0xb4]
mov byte [esp + 0x10c], 4
push eax
lea ecx, [esp + 0x88]
call fcn.1000907a
push 0
push ebx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x10c], 3
call fcn.1000783e
xor eax, eax
lea edi, [esp + 0x54]
cmp dword [esp + 0x90], 8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x7c]
cmovae eax, dword [esp + 0x7c]
xor ecx, ecx
push ecx
push 0x80
push 2
push ecx
push ecx
push 0x40000000
push eax
push 0x9aef
push 0x97b5
call fcn.100218b5
pop ecx
pop ecx
call eax
mov esi, eax
xor edi, edi
cmp esi, 0xffffffff
je 0x10005fd7
push edi
lea eax, [esp + 0xe0]
push eax
push dword [esp + 0x4c]
mov eax, dword [ebp + 0x20]
push dword [eax]
push esi
push 0x9aef
push 0x4a45
call fcn.100218b5
pop ecx
pop ecx
call eax
push esi
test eax, eax
push 0x9aef
push 0x5da1
setne bl
call fcn.100218b5
pop ecx
pop ecx
call eax
test bl, bl
jne 0x10006018
xor ebx, ebx
inc ebx
push edi
push ebx
lea ecx, [esp + 0xe8]
call fcn.1000783e
push edi
push ebx
lea ecx, [esp + 0x84]
mov byte [esp + 0x10c], bl
call fcn.1000783e
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x12c
jae 0x100061dd
mov al, byte [esp + 0xf]
jmp 0x10005e2e
push 0x22
pop eax
mov word [esp + 0x34], ax
lea ecx, [esp + 0x94]
xor eax, eax
mov dword [esp + 0xa8], 7
mov word [esp + 0x36], ax
mov word [esp + 0x94], ax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0xa8], edi
call fcn.100076e1
xor ebx, ebx
mov byte [esp + 0x104], 5
inc ebx
mov dword [esp + 0x34], edi
push ebx
push 0x4a6a
push 0x2dae
push 0x5384
push ebx
push 0x76ac
lea edx, [esp + 0x94]
lea ecx, [esp + 0xac]
call fcn.100054ea
add esp, 0x18
mov byte [esp + 0x24], bl
mov dword [esp + 0x25], 0x40f02f1
xor ecx, ecx
mov word [esp + 0x29], 0x7084
mov dword [esp + 0x2c], 0x30d00fe
push 0x20
pop eax
push 2
mov byte [esp + 0x2f], al
mov byte [esp + 0x34], 0x71
mov word [esp + 0x4e], ax
pop esi
cmp esi, 4
jne 0x100060cb
push 5
pop ecx
push 7
pop esi
jmp 0x100060f2
movzx edx, byte [esp + esi + 0x25]
mov eax, esi
sub eax, ecx
movzx eax, byte [esp + eax + 0x22]
movzx eax, word [esp + eax*2 + 0x48]
mov ecx, eax
and eax, edx
or ecx, edx
sub ecx, eax
movzx eax, byte [esp + esi + 0x24]
mov word [esp + eax*2 + 0x48], cx
xor ecx, ecx
add esi, 2
cmp esi, 0xd
jb 0x100060be
xor eax, eax
mov dword [esp + 0xd8], 7
and dword [esp + 0xd4], eax
lea ecx, [esp + 0xc4]
mov word [esp + 0x50], ax
mov word [esp + 0xc4], ax
lea eax, [esp + 0x48]
push eax
call fcn.100076e1
push ecx
push ecx
lea eax, [esp + 0xcc]
mov byte [esp + 0x10c], 6
push eax
lea ecx, [esp + 0xa0]
call fcn.1000907a
push 0
push ebx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x10c], 5
call fcn.1000783e
xor eax, eax
lea edi, [esp + 0x48]
stosd dword es:[edi], eax
xor dl, dl
mov ecx, 0x6ad8
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xf]
push eax
push 0x1a41
push ebx
push 0x6b1e
push 0x345
push 0x72da
push 0x1886
push ebx
call fcn.10005cbb
add esp, 0x20
lea edx, [esp + 0x60]
lea ecx, [esp + 0x94]
call fcn.10004620
mov ecx, dword [ebp + 0x18]
xor edi, edi
push edi
push ebx
mov dword [ecx], eax
lea ecx, [esp + 0x9c]
call fcn.1000783e
push edi
push ebx
lea ecx, [esp + 0xe8]
call fcn.1000783e
push edi
push ebx
lea ecx, [esp + 0x84]
call fcn.1000783e
jmp 0x100061e6
mov eax, dword [ebp + 0x18]
mov dword [eax], 2
push edi
push ebx
lea ecx, [esp + 0x68]
call fcn.1000783e
lea ecx, [esp + 0x38]
call fcn.10007b9b
jmp 0x10006258
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
jmp 0x10006258
mov esi, dword [ebp + 0x10]
xor edx, edx
inc edx
mov dword [esi], 0
cmp dword [esi], edx
jge 0x10006258
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0xfffffffe
inc dword [esi]
cmp dword [esi], edx
jl 0x1000621a
jmp 0x10006258
cmp byte [ebp + 8], 0
je 0x1000623b
mov eax, dword [ebp + 0x24]
mov byte [eax], 1
jmp 0x10006258
xor edx, edx
mov dword [esi], 0
inc edx
cmp dword [esi], edx
jge 0x10006258
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [eax + ecx*4], edx
inc dword [esi]
cmp dword [esi], edx
jl 0x1000624b
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret