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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x240
mov esi, esp
mov dword [esi + 0x228], ebp
lea eax, [esi + 0x230]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x100378d0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea ecx, [esi + 0x98]
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], fcn.1000bc20
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0x228]
mov dword [esi + 0x54], ecx
xor edx, edx
lea ecx, [esi + 0x78]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov dword [ecx + 8], edx
lea edi, [esi + 0x18]
mov dword [edi + 4], edx
mov dword [edi], edx
mov dword [edi + 8], edx
mov dword [eax + 8], 1
lea ecx, [esi + 0x38]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov dword [ecx + 8], edx
lea eax, [esi + 0x28]
mov dword [eax + 4], edx
mov dword [eax], edx
mov dword [eax + 8], edx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x58], edx
mov dword [esi + 0x60], edx
mov bl, byte [ebp + 0x10]
movzx ebx, bl
lea edx, [esi + 0x6c]
push edx
push eax
push ecx
push edi
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x74]
push eax
lea eax, [esi + 0x76]
push eax
lea eax, [esi + 0x70]
push eax
push dword [ebp + 0x14]
push ebx
call fcn.10030c3e
add esp, 0x28
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ecx], eax
shr edx, 9
and edx, 1
mov dword [esi + 0x90], edx
mov ecx, dword [ebp + 0xc]
xor edi, edi
xor eax, eax
mov dword [esi + 8], eax
cmp edi, 3
ja 0x100307bb
mov dword [esi + 0xc], edi
mov dword [esi], ecx
mov dword [esi + 0x238], 1
mov ecx, dword [ebp + 8]
call fcn.10036f14
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1002ff27
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1002ff08
movzx eax, word [eax]
jmp 0x1002ff15
mov eax, dword [ecx]
mov byte [esi + 4], dl
call dword [eax + 0x20]
mov dl, byte [esi + 4]
mov ecx, dword [esi]
cmp ax, 0xffff
je 0x1002ff27
test dl, dl
mov edi, dword [esi + 0xc]
jne 0x1002ff34
jmp 0x100307bb
xor ecx, ecx
test dl, dl
mov edi, dword [esi + 0xc]
jne 0x100307bb
movsx eax, byte [esi + edi + 0x70]
cmp eax, 4
ja case.default.0x1002ff44
mov dword [esi], ecx
jmp dword [eax*4 + 0x100309f4]
cmp edi, 3
jne 0x10030288
jmp 0x1002ffcf
cmp edi, 3
jne 0x1003016a
mov eax, dword [esi + 8]
jmp 0x1003078c
cmp edi, 2
jb 0x10030183
cmp dword [esi + 8], 0
jne 0x10030183
cmp edi, 2
sete al
cmp byte [esi + 0x73], 0
setne cl
and cl, al
or cl, byte [esi + 0x90]
cmp cl, 1
jne 0x10030215
mov cl, byte [esi + 0x23]
test cl, cl
mov eax, dword [esi + 0x18]
lea ebx, [esi + 0x18]
cmovs ebx, eax
jmp 0x10030199
movzx edx, byte [esi + 0x43]
mov eax, edx
test dl, dl
jns 0x1002ffb8
mov eax, dword [esi + 0x3c]
movzx ebx, byte [esi + 0x33]
mov edi, ebx
test bl, bl
jns 0x1002ffc5
mov edi, dword [esi + 0x2c]
mov ecx, eax
add ecx, edi
jne 0x100301ea
mov eax, dword [esi + 8]
mov ecx, dword [esi]
jmp 0x10030324
mov dword [esi + 4], 0
mov ecx, dword [ebp + 8]
call fcn.10036f14
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x10030019
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1002fffd
movzx eax, word [eax]
jmp 0x1003000a
mov eax, dword [ecx]
mov byte [esi + 0x10], dl
call dword [eax + 0x20]
mov dl, byte [esi + 0x10]
mov ecx, dword [esi]
cmp ax, 0xffff
je 0x10030019
test dl, dl
jne 0x10030023
jmp 0x100300fd
xor ecx, ecx
test dl, dl
jne 0x100300fd
mov dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10030037
movzx edx, word [eax]
jmp 0x1003003e
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edx, eax
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx]
mov word [esi + 0x10], dx
movzx edx, dx
push edx
push 4
call dword [eax + 0xc]
test al, al
je 0x10030086
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
cmp eax, dword [ebp + 0x30]
jne 0x10030073
lea eax, [ebp + 0x30]
push eax
push ecx
push dword [ebp + 0x28]
call fcn.10030dee
add esp, 0xc
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
mov edx, ecx
lea ecx, [eax + 2]
mov dword [edx], ecx
movzx ecx, word [esi + 0x10]
mov word [eax], cx
inc dword [esi + 4]
jmp 0x100300db
movzx eax, byte [esi + 0x83]
test al, al
jns 0x10030094
mov eax, dword [esi + 0x7c]
movzx ecx, word [esi + 0x10]
cmp cx, word [esi + 0x74]
mov ecx, dword [esi]
jne 0x100300fd
cmp dword [esi + 4], 0
je 0x100300fd
test eax, eax
je 0x100300fd
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x54]
jne 0x100300c9
lea eax, [esi + 0x54]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.1002f9cc
add esp, 0xc
mov eax, dword [esi + 0x14]
lea ecx, [eax + 4]
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov dword [esi + 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x100300f3
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x1002ffe0
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x1002ffe0
cmp dword [esi + 4], 0
je 0x10030136
mov eax, dword [esi + 0x14]
cmp dword [esi + 0x48], eax
je 0x10030136
cmp eax, dword [esi + 0x54]
jne 0x1003012b
mov dword [esi], ecx
lea eax, [esi + 0x54]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.1002f9cc
add esp, 0xc
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
lea edx, [eax + 4]
mov dword [esi + 0x14], edx
mov edx, dword [esi + 4]
mov dword [eax], edx
cmp dword [esi + 0x6c], 0
jle 0x1003047d
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
call fcn.10036f14
mov ebx, eax
mov edx, dword [esi]
test edx, edx
je 0x1003021c
mov eax, dword [edx + 0xc]
cmp eax, dword [edx + 0x10]
je 0x1003032c
movzx eax, word [eax]
jmp 0x1003033b
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1003022b
movzx eax, word [eax]
jmp 0x10030230
mov cl, byte [esi + 0x23]
test cl, cl
mov eax, dword [esi + 0x18]
lea ebx, [esi + 0x18]
cmovs ebx, eax
test edi, edi
je 0x10030535
lea edx, [esi + 0x70]
cmp byte [edi + edx - 1], 1
ja 0x10030535
test cl, cl
jns 0x100301b2
mov edx, dword [esi + 0x1c]
mov edi, eax
jmp 0x100301b8
movzx edx, cl
lea edi, [esi + 0x18]
lea edx, [edi + edx*2]
cmp edx, ebx
mov dword [esi + 4], ebx
je 0x1003049e
movzx eax, word [ebx]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
push eax
push 8
call dword [edx + 0xc]
mov ebx, dword [esi + 4]
test al, al
je 0x10030498
add ebx, 2
mov cl, byte [esi + 0x23]
mov eax, dword [esi + 0x18]
jmp 0x100301a7
test eax, eax
je 0x1003025e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
test edi, edi
je 0x10030622
cmp eax, ebx
je 0x10030632
movzx eax, word [eax]
mov word [esi + 0x10], ax
jmp 0x1003063e
xor eax, eax
jmp 0x1003078c
xor edx, edx
test bl, bl
je 0x10030352
jmp 0x100308c2
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x100308c2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10030277
lea edx, [eax + 2]
mov dword [ecx + 0xc], edx
movzx eax, word [eax]
jmp 0x1003027c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10030684
movzx eax, word [eax]
jmp 0x1003068c
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx eax, ax
lea ecx, [esi + 0x58]
push eax
call fcn.10038cc2
mov ecx, dword [ebp + 8]
call fcn.10036f14
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x100302be
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x100302a5
movzx eax, word [eax]
jmp 0x100302b2
mov eax, dword [ecx]
mov byte [esi + 4], dl
call dword [eax + 0x20]
mov dl, byte [esi + 4]
mov ecx, dword [esi]
cmp ax, 0xffff
je 0x100302be
test dl, dl
jne 0x100302c4
jmp 0x10030321
xor ecx, ecx
test dl, dl
jne 0x10030321
mov dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x100302d8
movzx eax, word [eax]
jmp 0x100302dd
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x1002ffcf
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1003030b
lea edx, [eax + 2]
mov dword [ecx + 0xc], edx
movzx eax, word [eax]
jmp 0x10030310
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx eax, ax
lea ecx, [esi + 0x58]
push eax
call fcn.10038cc2
jmp 0x10030288
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
jmp 0x100307b5
mov eax, dword [edx]
mov ecx, edx
mov byte [esi + 4], bl
call dword [eax + 0x20]
mov bl, byte [esi + 4]
mov edx, dword [esi]
cmp ax, 0xffff
sete al
mov ecx, 0
cmove edx, ecx
cmp bl, al
je 0x100308c2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
mov dword [esi], edx
je 0x10030366
movzx eax, word [eax]
jmp 0x1003036b
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp ax, word [esi + 0x76]
jne 0x100308c2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10030471
add eax, 2
mov dword [ecx + 0xc], eax
cmp dword [esi + 0x6c], 0
jle 0x1003047b
mov ecx, dword [ebp + 8]
call fcn.10036f14
mov ebx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x100303b3
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x100303c2
movzx eax, word [eax]
jmp 0x100303cf
mov dword [esi], 0
test bl, bl
je 0x100303e6
jmp 0x100308c2
mov eax, dword [ecx]
mov byte [esi + 4], bl
call dword [eax + 0x20]
mov bl, byte [esi + 4]
mov ecx, dword [esi]
xor edx, edx
cmp ax, 0xffff
sete al
je 0x100303dc
mov edx, ecx
mov dword [esi], edx
cmp bl, al
je 0x100308c2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x100303f8
movzx eax, word [eax]
jmp 0x100303fd
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 4
call dword [edx + 0xc]
test al, al
je 0x100308c2
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x30]
jne 0x1003042f
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
call fcn.10030dee
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10030441
movzx eax, word [eax]
jmp 0x10030446
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [ebp + 0x2c]
mov ecx, dword [edi]
lea edx, [ecx + 2]
mov dword [edi], edx
mov word [ecx], ax
dec dword [esi + 0x6c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x10030386
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x1003038c
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x1003038c
mov ecx, dword [esi]
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x28]
cmp eax, dword [edx]
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
jne 0x100307b5
jmp 0x100308c2
mov cl, byte [esi + 0x23]
mov eax, dword [esi + 0x18]
test cl, cl
lea edx, [esi + 0x18]
cmovs edx, eax
mov dword [esi + 0x68], edx
sub ebx, edx
sar ebx, 1
mov ch, byte [esi + 0x63]
test ch, ch
mov edx, dword [esi + 0x5c]
mov dword [esi + 0x10], edx
movzx edx, ch
mov edi, edx
mov dword [esi + 0x8c], edx
cmovs edx, dword [esi + 0x10]
cmp ebx, edx
jbe 0x100304d0
mov ebx, dword [esi + 0x68]
jmp 0x10030535
test ch, ch
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
mov dword [esi + 0x50], edx
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x50]
lea edx, [edx + edi*2]
mov dword [esi + 0x10], edx
mov edi, dword [esi + 0x8c]
lea edx, [esi + edi*2 + 0x58]
cmovs edx, dword [esi + 0x10]
mov dword [esi + 0x10], edx
lea edi, [esi + 0x58]
mov edx, dword [esi + 0x50]
cmovns edx, edi
mov dword [esi + 0x50], edx
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 0x88]
lea edx, [edx + edi*2]
add ebx, ebx
sub edx, ebx
cmp edx, dword [esi + 0x10]
je 0x10030532
mov ebx, dword [esi + 0x68]
movzx edi, word [edx]
cmp di, word [ebx]
jne 0x100304cb
add edx, 2
add ebx, 2
cmp edx, dword [esi + 0x10]
jne 0x1003051f
mov ebx, dword [esi + 4]
test cl, cl
jns 0x1003053e
mov ecx, dword [esi + 0x1c]
jmp 0x10030544
movzx ecx, cl
lea eax, [esi + 0x18]
lea eax, [eax + ecx*2]
cmp ebx, eax
je 0x100305ea
mov dword [esi + 0x238], 1
mov ecx, dword [ebp + 8]
mov dword [esi + 4], ebx
call fcn.10036f14
mov ebx, dword [esi + 4]
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x10030598
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1003057c
movzx eax, word [eax]
jmp 0x1003058c
mov eax, dword [ecx]
mov byte [esi + 0x10], dl
call dword [eax + 0x20]
mov dl, byte [esi + 0x10]
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
cmp ax, 0xffff
je 0x10030598
test dl, dl
jne 0x1003059e
jmp 0x100305ec
xor ecx, ecx
test dl, dl
jne 0x100305ec
mov dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x100305b2
movzx eax, word [eax]
jmp 0x100305ba
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, dword [esi + 4]
cmp ax, word [ebx]
jne 0x100305ea
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x100305d4
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x100305dc
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ebx, dword [esi + 4]
add ebx, 2
mov cl, byte [esi + 0x23]
mov eax, dword [esi + 0x18]
jmp 0x10030535
mov ecx, dword [esi]
bt dword [ebp + 0x18], 9
mov edi, dword [esi + 0xc]
jb 0x100305fe
mov eax, dword [esi + 8]
jmp 0x100307b5
movzx eax, byte [esi + 0x23]
lea edx, [esi + 0x18]
test al, al
jns 0x1003060f
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
lea eax, [edx + eax*2]
cmp ebx, eax
mov eax, dword [esi + 8]
je 0x100307b5
jmp 0x100308c2
cmp eax, ebx
je 0x100306be
movzx eax, word [eax]
jmp 0x100306c6
mov eax, dword [ecx]
call dword [eax + 0x20]
mov word [esi + 0x10], ax
mov dl, byte [esi + 0x43]
lea ebx, [esi + 0x38]
test dl, dl
jns 0x10030648
mov ebx, dword [esi + 0x38]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edi, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esi + 4], eax
movzx eax, word [esi + 0x10]
cmp ax, word [ebx]
jne 0x10030673
cmp edi, dword [esi + 4]
je 0x100306ff
add edi, 2
mov dword [ecx + 0xc], edi
jmp 0x10030798
cmp edi, dword [esi + 4]
je 0x10030709
movzx eax, word [edi]
jmp 0x1003070e
mov eax, dword [ecx]
call dword [eax + 0x20]
mov bl, byte [esi + 0x33]
lea ecx, [esi + 0x28]
test bl, bl
jns 0x10030696
mov ecx, dword [esi + 0x28]
cmp ax, word [ecx]
mov edi, dword [esi + 0xc]
jne 0x1002ff5f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10030763
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x1003076b
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dl, byte [esi + 0x43]
lea ecx, [esi + 0x38]
test dl, dl
jns 0x100306d0
mov ecx, dword [esi + 0x38]
cmp ax, word [ecx]
mov edi, dword [esi + 0xc]
jne 0x100306f4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10030790
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x10030798
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
jmp 0x1002ff5f
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x10030795
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dl, byte [esi + 0x33]
lea ecx, [esi + 0x28]
test dl, dl
jns 0x1003071b
mov ecx, dword [esi + 0x28]
cmp ax, word [ecx]
jne 0x100308c2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10030739
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x10030741
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dl, byte [esi + 0x33]
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
test dl, dl
jns 0x10030750
mov eax, dword [esi + 0x2c]
jmp 0x10030753
movzx eax, dl
mov ecx, dword [esi]
mov edi, dword [esi + 0xc]
cmp eax, 1
mov eax, dword [esi + 8]
lea edx, [esi + 0x28]
jmp 0x100307b2
mov eax, dword [ecx]
call dword [eax + 0x24]
mov bl, byte [esi + 0x33]
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
test bl, bl
jns 0x1003077a
mov eax, dword [esi + 0x2c]
jmp 0x1003077d
movzx eax, bl
mov edi, dword [esi + 0xc]
cmp eax, 1
mov eax, dword [esi + 8]
lea ecx, [esi + 0x28]
cmova eax, ecx
mov ecx, dword [esi]
jmp 0x100307b5
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dl, byte [esi + 0x43]
test dl, dl
jns 0x100307a1
mov eax, dword [esi + 0x3c]
jmp 0x100307a4
movzx eax, dl
mov ecx, dword [esi]
mov edi, dword [esi + 0xc]
cmp eax, 1
mov eax, dword [esi + 8]
lea edx, [esi + 0x38]
cmova eax, edx
inc edi
jmp 0x1002fed0
mov dword [esi], ecx
cmp dword [esi + 8], 0
je 0x10030896
xor edi, edi
inc edi
mov ecx, dword [esi + 8]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x100307d8
mov eax, dword [ecx + 4]
cmp edi, eax
jae 0x10030896
mov dword [esi + 0x238], 1
mov ecx, dword [ebp + 8]
mov dword [esi + 4], edi
call fcn.10036f14
mov edi, dword [esi + 4]
mov ebx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1003080d
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10030818
movzx eax, word [eax]
jmp 0x10030828
xor edx, edx
test bl, bl
je 0x1003083d
jmp 0x100308c2
mov eax, dword [ecx]
mov byte [esi + 0x10], bl
call dword [eax + 0x20]
mov bl, byte [esi + 0x10]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
xor edx, edx
cmp ax, 0xffff
sete al
je 0x10030835
mov edx, ecx
cmp bl, al
je 0x100308c2
mov dword [esi], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10030851
movzx eax, word [eax]
jmp 0x10030859
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp byte [ecx + 0xb], 0
jns 0x10030867
mov ecx, dword [esi + 8]
mov ecx, dword [ecx]
cmp ax, word [ecx + edi*2]
jne 0x100308c2
inc edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10030886
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x100307ca
mov eax, dword [ecx]
mov dword [esi + 4], edi
call dword [eax + 0x24]
mov edi, dword [esi + 4]
jmp 0x100307ca
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x14]
mov bl, 1
cmp eax, ecx
je 0x100308ca
lea edi, [esi + 0x94]
mov dword [edi], 0
push edi
push ecx
push eax
lea eax, [esi + 0x78]
push eax
call fcn.1002fa46
add esp, 0x10
cmp dword [edi], 0
je 0x100308ca
mov eax, dword [ebp + 0x1c]
or byte [eax], 4
xor ebx, ebx
cmp byte [esi + 0x63], 0
jns 0x100308db
push dword [esi + 0x58]
call fcn.10099c44
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x100308ec
push dword [esi + 0x28]
call fcn.10099c44
add esp, 4
cmp byte [esi + 0x43], 0
jns 0x100308fd
push dword [esi + 0x38]
call fcn.10099c44
add esp, 4
cmp byte [esi + 0x23], 0
jns 0x1003090e
push dword [esi + 0x18]
call fcn.10099c44
add esp, 4
cmp byte [esi + 0x83], 0
jns 0x10030922
push dword [esi + 0x78]
call fcn.10099c44
add esp, 4
mov eax, dword [esi + 0x48]
mov dword [esi + 0x48], 0
test eax, eax
je 0x10030945
mov dword [esi + 0x238], 0
push eax
mov dword [esi], ebx
call dword [esi + 0x4c]
mov ebx, dword [esi]
add esp, 4
mov eax, dword [esi + 0x230]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret