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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
mov ebx, edx
mov dword [esp + 0x40], ebx
mov edi, ecx
mov dword [esp + 0x18], edi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov esi, dword [edi + 8]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [edx]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x3c], eax
mov al, byte [ecx]
mov byte [esp + 0x13], al
movzx eax, al
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x1c]
add eax, 8
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], eax
test edx, edx
je 0x1008349c
mov eax, dword [ebp + 8]
lea ebx, [esi + 0x70]
mov ecx, dword [esi + 0x74]
mov eax, dword [eax + 0xc]
cmp dword [esi + 0x78], ecx
jg 0x100833e1
push 0
push edx
push eax
mov edx, 0xc
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x10083419
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
mov dword [eax + ecx*4], 0xc
mov edi, dword [esi + 0xc]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x1008343a
push 0
push dword [esp + 0x34]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.10033da0
add esp, 0xc
jmp 0x1008346c
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx + 0x3c]
not edx
add eax, dword [ecx + 0x38]
jns 0x1008348c
push edx
mov edx, esi
call fcn.10034550
add esp, 4
jmp 0x10083495
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x13]
cmp al, 9
je 0x100835dd
cmp al, 0xd
je 0x100835dd
cmp al, 0xa
je 0x10083587
mov cl, byte [edi + 0x13]
lea edx, [edi + 0x2c]
mov dword [esp + 0x34], edx
test cl, cl
jne 0x100834d7
mov eax, dword [edx]
inc eax
mov dword [edx], eax
jmp 0x100834e6
dec cl
movzx eax, cl
mov byte [edi + 0x13], cl
mov eax, dword [edi + eax*4 + 0x98]
mov dword [esp + 0x2c], eax
mov al, byte [esp + 0x13]
cmp al, 0xc
je 0x10083559
cmp al, 0xe
je 0x10083559
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
cmp eax, 1
jne 0x10083523
test cl, cl
jne 0x1008350f
inc dword [edx]
mov ebx, dword [edx]
jmp 0x100835f9
dec cl
movzx eax, cl
mov byte [edi + 0x13], cl
mov ebx, dword [edi + eax*4 + 0x98]
jmp 0x100835f9
mov ebx, dword [edi + 0x20]
mov ecx, eax
mov dword [esp + 0x28], ebx
cmp ecx, dword [edi + 0x1c]
jg 0x10083543
sub dword [edi + 0x1c], ecx
lea eax, [ebx + ecx]
mov dword [edi + 0x20], eax
mov dword [esp + 0x34], edx
jmp 0x100835fd
mov eax, dword [edx]
mov dword [esp + 0x34], edx
lea ebx, [eax + 1]
add eax, ecx
mov dword [esp + 0x28], ebx
mov dword [edx], eax
jmp 0x100835fd
test cl, cl
jne 0x1008356e
inc dword [edx]
mov ebx, dword [edx]
mov dword [esp + 0x14], 0
jmp 0x100835f5
dec cl
mov dword [esp + 0x14], 0
movzx eax, cl
mov byte [edi + 0x13], cl
mov ebx, dword [edi + eax*4 + 0x98]
jmp 0x100835f5
cmp dword [ebx + 0xc], 0
je 0x100835dd
mov edx, dword [ecx + 0xc]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x100835ae
push 0
push edx
push 0
mov edx, 0x4a
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x100835dd
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x10]
lea edx, [edi + 0x2c]
mov dword [esp + 0x2c], 0
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
sub eax, dword [ecx + 4]
test byte [ecx + 0x20], 1
mov dword [esp + 0x4c], eax
je 0x10083836
inc dword [edx]
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x24], eax
inc eax
cmp dword [ecx + 0x10], 0
mov dword [edi + 0x28], eax
je 0x1008368a
mov edx, dword [esi + 0x74]
mov dword [esp + 0x44], edx
cmp dword [esi + 0x78], edx
jg 0x10083657
push 0
push 0
push 0
mov edx, 0x11
mov ecx, esi
call fcn.10033da0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x1008368a
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x74]
inc edx
add edx, dword [esp + 0x4c]
cmp dword [esi + 0x78], ecx
jg 0x100836b5
push edx
push dword [esp + 0x40]
mov edx, 0x78
mov ecx, esi
push dword [esp + 0x2c]
call fcn.10033da0
add esp, 0xc
jmp 0x100836e8
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x78
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x10083716
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x10083702
mov eax, 0x101257b4
jmp 0x10083713
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x44], edx
cmp dword [esi + 0x78], edx
jg 0x10083741
push 0
push dword [esp + 0x34]
mov edx, 0x24
mov ecx, esi
push dword [esp + 0x24]
call fcn.10033da0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x10083774
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x40]
mov edx, dword [edx + 0xc]
test edx, edx
jle 0x100837d2
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x1008379f
push 1
push dword [esp + 0x3c]
mov ecx, esi
push edx
mov edx, 0x31
call fcn.10033da0
add esp, 0xc
jmp 0x100837d2
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x100837fc
push dword [esp + 0x24]
mov edx, 0x84
mov ecx, esi
push dword [esp + 0x40]
push dword [esp + 0x24]
call fcn.10033da0
add esp, 0xc
xor ecx, ecx
jmp 0x100838ff
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x84
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
xor ecx, ecx
jmp 0x100838ff
mov edx, dword [esi + 0x74]
mov dword [esp + 0x44], edx
cmp dword [esi + 0x78], edx
jg 0x10083861
push 0
push dword [esp + 0x34]
mov edx, 0x25
mov ecx, esi
push dword [esp + 0x24]
call fcn.10033da0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x10083894
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x40]
mov edx, dword [edx + 0xc]
test edx, edx
jle 0x100838f2
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x100838bf
push 1
push dword [esp + 0x3c]
mov ecx, esi
push edx
mov edx, 0x31
call fcn.10033da0
add esp, 0xc
jmp 0x100838f2
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
add eax, ecx
mov dword [esp + 0x4c], eax
lea ecx, [eax - 1]
mov dword [esp + 0x3c], ecx
test edx, edx
jle 0x10083950
mov edi, dword [esp + 0x50]
add edi, 0x10
nop dword [eax + eax]
cmp word [edi], 0
lea eax, [ecx + 1]
lea edi, [edi + 0x14]
cmovne eax, ecx
mov ecx, eax
sub edx, 1
jne 0x10083930
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
lea eax, [edx - 1]
mov dword [esp + 0x44], eax
test eax, eax
js 0x100839ff
mov edx, dword [esp + 0x50]
mov edi, eax
lea eax, [edi + ebx]
lea ebx, [edi + 1]
mov dword [esp + 0x44], eax
lea ebx, [edi + ebx*4]
lea ebx, [edx + ebx*4]
movzx eax, word [ebx]
test ax, ax
je 0x10083982
lea edx, [eax - 1]
jmp 0x10083989
mov edx, ecx
dec ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x100839af
push dword [esp + 0x44]
mov ecx, esi
push edx
push dword [esp + 0x2c]
mov edx, 0x5d
call fcn.10033da0
mov edx, dword [esp + 0x50]
add esp, 0xc
jmp 0x100839e2
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x3c]
dec edx
sub ebx, 0x14
mov dword [esp + 0x44], edx
sub edi, 1
jns 0x10083975
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
add eax, 0xfffffff6
cmp eax, 5
ja case.0x10083a0f.13
jmp dword [eax*4 + 0x10083f78]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x10083a39
mov edx, dword [esp + 0x4c]
mov ecx, esi
push ebx
push edx
push dword [esp + 0x2c]
mov edx, 0x5d
call fcn.10033da0
add esp, 0xc
jmp 0x10083a68
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x10083a8f
push 0
push dword [esp + 0x30]
mov edx, 0x7e
mov ecx, esi
push dword [esp + 0x28]
call fcn.10033da0
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x10083ac2
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x10083ae1
push edx
push ebx
push dword [esp + 0x28]
mov edx, 0x7f
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x10083b10
mov edi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x74]
test eax, eax
jle case.0x10083a0f.10
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
jmp case.0x10083a0f.10
mov eax, dword [ebp + 0x10]
mov ecx, esi
push edx
push dword [eax + 0x14]
push dword [esp + 0x34]
push edx
push ebx
mov edx, 0x60
call fcn.100340d0
mov edx, dword [esi + 0x74]
add esp, 0x14
cmp dword [esi + 0x78], edx
jg 0x10083b70
push ebx
push dword [esp + 0x30]
mov edx, 0x89
mov ecx, esi
push dword [esp + 0x28]
call fcn.10033da0
add esp, 0xc
mov edx, eax
jmp 0x10083ba3
mov edi, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne case.0x10083a0f.10
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x14]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x10083de5
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov al, byte [edi + 0x13]
mov dword [esp + 0x4c], ecx
test al, al
jne 0x10083be2
mov eax, dword [esp + 0x34]
inc dword [eax]
mov edx, dword [eax]
jmp 0x10083bf1
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x98]
mov eax, ecx
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x14]
shr eax, 0x1f
sub ecx, eax
add eax, ebx
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], eax
cmp dword [esi + 0x78], eax
jg 0x10083c2d
push edx
push ecx
push dword [esp + 0x58]
mov edx, 0x60
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x10083c62
mov edi, dword [esp + 0x50]
inc eax
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x4c], 0
mov edx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
jge 0x10083cbc
cmp eax, edx
jg 0x10083c90
push ebx
push dword [esp + 0x38]
mov edx, 0x7f
mov ecx, esi
push dword [esp + 0x28]
call fcn.10033da0
add esp, 0xc
jmp case.0x10083a0f.10
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
jmp 0x10083dd9
cmp eax, edx
jg 0x10083cdc
push ebx
push dword [esp + 0x38]
mov edx, 0x89
mov ecx, esi
push dword [esp + 0x28]
call fcn.10033da0
add esp, 0xc
mov edx, eax
jmp 0x10083d0f
mov edi, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne case.0x10083a0f.10
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x4c]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp case.0x10083a0f.10
cmp byte [esp + 0x13], 9
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
jne 0x10083d8e
mov edi, dword [esp + 0x18]
cmp eax, ecx
jg 0x10083d63
mov ecx, dword [ebp + 0x10]
push 0
push edx
mov edx, 0x53
mov eax, dword [ecx + 0xc]
mov ecx, esi
push eax
call fcn.10033da0
add esp, 0xc
jmp case.0x10083a0f.10
mov ebx, dword [ebp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov edi, dword [ebx + 0xc]
mov ebx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x53
mov dword [eax + ecx*4 + 8], edx
jmp 0x10083dd1
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 4]
cmp eax, ecx
jg 0x10083dae
push 0
push 0
push edx
mov edx, 0xe
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp case.0x10083a0f.10
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10083e32
cmp byte [esp + 0x13], 0xb
jne 0x10083e06
cmp edx, 1
je 0x10083e06
cmp edx, dword [edi + 0x1c]
jle 0x10083e1e
mov dword [edi + 0x1c], edx
mov dword [edi + 0x20], ebx
jmp 0x10083e1e
test ebx, ebx
je 0x10083e1e
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x10083e1e
movzx eax, al
mov dword [edi + eax*4 + 0x98], ebx
inc byte [edi + 0x13]
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x10083e32
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x38]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x10083e50
push edx
mov edx, esi
call fcn.10034550
add esp, 4
jmp 0x10083e59
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
test byte [ebx + 0x20], 1
je 0x10083e9d
cmp eax, ecx
jg 0x10083e88
mov edx, dword [esp + 0x40]
mov ecx, esi
push 0
push edx
push dword [esp + 0x24]
mov edx, 3
call fcn.10033da0
add esp, 0xc
jmp 0x10083ef0
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 3
jmp 0x10083ed0
cmp eax, ecx
jg 0x10083ebd
mov edx, dword [esp + 0x40]
mov ecx, esi
push 0
push edx
push dword [esp + 0x24]
mov edx, 5
call fcn.10033da0
add esp, 0xc
jmp 0x10083ef0
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 5
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x10083f44
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x10083f15
push 0
push 0
push edx
mov edx, 0x43
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x10083f44
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x30]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x10083f67
push edx
mov edx, esi
call fcn.10034550
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
pop edi
pop esi
mov dword [ecx + edx*4], eax
pop ebx
mov esp, ebp
pop ebp
ret