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

Disassembly:
push 0xffffffffffffffff
push 0x1019c020
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x101e61ac]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e61ac]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
movsx eax, byte [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov esi, ecx
mov ecx, dword [esp + 0x70]
add eax, 0xffffffff
xor ebp, ebp
or edi, 0xffffffff
cmp eax, 0xfe
mov dword [esp + 0x18], ecx
ja case.0x100298c3.6
movzx eax, byte [eax + 0x10029af8]
jmp dword [eax*4 + 0x10029adc]
mov ebp, dword [esi + 0x45c]
mov edi, 1
jmp case.0x100298c3.0
mov ebp, dword [esi + 0x460]
mov edi, 2
jmp case.0x100298c3.0
mov ebp, dword [esi + 0x464]
mov edi, 3
jmp case.0x100298c3.0
mov ebp, dword [esi + 0x468]
mov edi, 4
cmp dword [esi + 0x458], 0
je 0x1002998d
push ecx
lea ecx, [esp + 0x3c]
call fcn.100014e7
mov al, byte [esi + 0x420]
mov cl, al
add cl, 1
cmp al, 0xfa
mov dword [esp + 0x60], 0
mov byte [esi + 0x420], cl
jbe 0x10029937
mov byte [esi + 0x420], 1
cmp dword [esp + 0x14], 0xff
jne 0x10029945
xor eax, eax
jmp 0x1002994c
movzx eax, byte [esi + 0x420]
mov edx, dword [esp + 0x78]
mov ecx, dword [esi + 0x458]
push edx
push 0
push 0xffffffffffffffff
push ebx
push ebx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1002e930
mov eax, dword [esp + 0x50]
cmp eax, 8
mov dword [esp + 0x60], 0xffffffff
jb 0x1002998d
mov edx, dword [esp + 0x3c]
lea ecx, [eax + eax + 2]
push ecx
push edx
mov eax, 0x4052d0
call eax
add esp, 8
test ebp, ebp
je case.0x100298c3.6
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.100014e7
mov al, byte [esi + edi + 0x420]
mov dl, al
add dl, 1
cmp al, 0xfa
mov dword [esp + 0x60], 1
mov byte [esi + edi + 0x420], dl
jbe 0x100299ca
mov byte [esi + edi + 0x420], 1
cmp dword [esp + 0x14], 0xff
jne 0x100299d8
xor eax, eax
jmp 0x100299e0
movzx eax, byte [esi + edi + 0x420]
mov ecx, dword [esp + 0x78]
push ecx
mov ecx, dword [esi + edi*4 + 0x458]
xor ebp, ebp
push ebp
push 0xffffffffffffffff
push ebx
push ebx
push eax
lea edx, [esp + 0x34]
push edx
call fcn.1002e930
mov eax, dword [esp + 0x34]
cmp eax, 8
mov dword [esp + 0x60], 0xffffffff
jb 0x10029a23
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax + 2]
push eax
push ecx
mov edx, 0x4052d0
call edx
add esp, 8
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], bp
mov al, byte [esp + 0x68]
cmp al, 2
je 0x10029a4e
cmp dword [esp + 0x14], 0xff
je 0x10029a4e
cmp al, 0xa
je 0x10029a4e
cmp al, 3
jne 0x10029aba
lea eax, [esi + 0x421]
mov edi, 4
lea esp, [esp]
mov cl, byte [eax]
mov dl, cl
add dl, 1
cmp cl, 0xfa
mov byte [eax], dl
jbe 0x10029a71
mov byte [eax], 1
add eax, 1
sub edi, 1
jne 0x10029a60
mov edi, 1
lea ebp, [esi + 0x45c]
cmp dword [esp + 0x14], 0xff
jne 0x10029a92
xor eax, eax
jmp 0x10029a9a
movzx eax, byte [esi + edi + 0x420]
mov ecx, dword [ebp]
push 1
push ebx
push ebx
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
mov ecx, esi
call fcn.10028940
add edi, 1
add ebp, 4
cmp edi, 5
jl 0x10029a84
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10118ca0
add esp, 0x50
ret 0x14