Function at 0xc50c10
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
add ecx, 0xb2b4
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0xbbc
mov ebp, dword [eax + 0x1ce18]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0x1ce1c]
lea eax, [esp + 0xe7]
mov dword [esp + 0x84], ecx
and eax, 0xfffffff0
mov dword [esp + 0x8c], eax
mov dword [esp + 0xbc], ebp
lea ebp, [ebx + 0x114a0]
mov dword [esp + 0xac], edx
lea edx, [esp + 0x6fb]
and edx, 0xfffffff0
mov dword [esp + 0x90], edx
mov edx, dword [ebx + ecx*4 + 4]
mov dword [esp + 0x88], ebp
lea ebp, [esp + 0xa0e]
mov ecx, dword [esp + 0xbc]
and ebp, 0xfffffff0
mov dword [esp + 0x80], ebp
mov ebp, dword [ebx + 0x124d0]
mov dword [esp + 0x74], edx
mov edx, dword [ebx + 0x124cc]
test ecx, ecx
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc0], edx
mov edx, dword [ebx + 0x124d4]
mov dword [esp + 0xc8], edx
jle 0xc50aba
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
shl eax, 4
sub eax, 0x10
mov dword [esp + 0xb8], 0
mov dword [esp + 0xcc], eax
sub edx, 1
mov eax, dword [esp + 0xb8]
sub edx, dword [esp + 0xb8]
shl edx, 4
neg eax
add edx, 0xb
mov dword [ebx + 0x18970], edx
mov edx, dword [esp + 0xac]
shl eax, 4
sub eax, 0xb
mov dword [ebx + 0x1896c], eax
test edx, edx
jle 0xc50a62
mov ebp, dword [esp + 0x8c]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x90]
add ebp, 0x400
add edx, 0x500
mov dword [esp + 0x98], ebp
mov ebp, dword [esp + 0xb0]
add ecx, 0x200
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0xb4]
add eax, 0x280
mov dword [esp + 0x94], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x7c], ebp
lea ebp, [ebx + 0x10800]
mov dword [esp + 0x54], edx
lea edx, [ebx + 0x10f44]
mov dword [esp + 0xa8], 0xfffffff5
mov dword [esp + 0xa4], 0
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], edx
lea esi, [esi]
mov edi, dword [esp + 0x8c]
xor eax, eax
mov ecx, 0x180
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x90]
mov cl, 0xc0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa8]
not eax
add eax, dword [ebx + 0x1ce1c]
mov dword [ebx + 0x18964], ebp
shl eax, 4
add eax, 0xb
mov dword [ebx + 0x18968], eax
mov eax, dword [esp + 0x78]
test eax, eax
jle 0xc504b3
xor esi, esi
jmp 0xc5016a
mov ecx, dword [ebx + esi*4 + 0x2cad4]
movsx edx, word [ebx + 0x11fcc]
movsx eax, word [ebx + 0x11fce]
mov ebp, dword [ecx + 8]
mov dword [esp + 0x64], ebp
mov ebp, dword [esp + 0x7c]
add ebp, dword [ecx + 0x20]
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x7c]
add ebp, dword [ecx + 0x1c]
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x54]
add ebp, dword [ecx + 0x18]
mov ecx, edx
sar ecx, 3
imul ecx, dword [esp + 0x64]
mov dword [esp + 0x48], ebp
mov ebp, eax
sar ebp, 3
add ecx, ebp
add ecx, dword [esp + 0x48]
mov dword [esp + 0x48], ecx
mov ecx, edx
or ecx, eax
and ecx, 7
je 0xc503d0
mov ebp, dword [esp + 0x80]
mov ecx, edx
and ecx, 7
mov dword [esp + 0xc], ecx
mov ecx, eax
and ecx, 7
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
mov dword [esp], ebp
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x14], 0x10
mov dword [esp + 4], ecx
call dword [ebp + 0x1100]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebp, eax
mov ecx, edx
sar ebp, 1
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x64]
sar edx, 4
sar eax, 4
sar ecx, 1
add ebp, 1
sar ebp, 1
imul edx, ebp
add eax, edx
mov edx, dword [esp + 0x50]
add edx, eax
add eax, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x48]
or eax, ecx
test al, 7
jne 0xc50417
mov ecx, dword [esp + 0x80]
add ecx, 0x100
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx + 0x13e0]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov dword [esp], edx
mov dword [esp + 0xc], 8
mov dword [esp + 8], ecx
call dword [eax + 0x14]
mov edx, dword [esp + 0x80]
add edx, 0x140
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x48]
mov eax, dword [edx + 0x13e0]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 0xc], 8
mov dword [esp + 8], ecx
mov dword [esp], ebp
call dword [eax + 0x14]
mov edx, dword [esp + 0x8c]
mov ebp, dword [esp + 0xbd0]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], edx
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
add eax, dword [ebp + 0x18]
mov dword [esp], eax
call dword [ebx + 0x2ca94]
mov edx, dword [esp + 0x94]
mov ebp, dword [esp + 0x98]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xbd0]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 8
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
add eax, dword [ebp + 0x1c]
mov dword [esp], eax
call dword [ebx + 0x2ca94]
mov edx, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa0]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xbd0]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0xc], 8
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
add eax, dword [ebp + 0x20]
mov dword [esp], eax
call dword [ebx + 0x2ca94]
add esi, 1
cmp esi, dword [esp + 0x78]
je 0xc504b3
mov eax, dword [ebx + esi*4 + 0x2cad4]
test eax, eax
je 0xc5015d
mov ecx, dword [ebx + 0x128bc]
mov ebp, dword [esp + 0x84]
mov word [ebx + 0x11fcc], 0
mov word [ebx + 0x11fce], 0
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0x10f68]
mov edx, dword [ebx + ebp*4 + 4]
lea ebp, [ebx + 0x11f9c]
mov dword [esp + 0x4c], ebp
mov ebp, dword [ebx + 0x10f6c]
mov dword [esp + 0xb90], 0x176eb40
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 0x10f70]
mov dword [esp + 0xb94], 0x176eb40
mov dword [esp + 0x58], ebp
mov ebp, dword [ebx + 0x11fb0]
mov dword [esp + 0xb98], 0x176eb40
mov dword [esp + 0x64], ecx
mov ecx, dword [ebx + 0x11fb4]
mov dword [esp + 0xb9c], 0x176eb40
mov dword [esp + 0x68], ebp
mov ebp, dword [ebx + 0x11fb8]
mov dword [esp + 0xba0], 0
mov dword [esp + 0x6c], ecx
lea ecx, [edx + 0x18]
mov edx, dword [edx + 8]
mov word [esp + 0xba6], 0
mov dword [esp + 0x70], ebp
mov word [esp + 0xba4], 0
mov dword [ebx + 0x10f70], edx
mov edx, dword [esp + 0x54]
mov dword [ebx + 0x10f68], ecx
mov dword [ebx + 0x10f6c], edx
lea edx, [eax + 0x18]
mov eax, dword [eax + 8]
mov dword [ebx + 0x11fb0], edx
mov dword [ebx + 0x11fb8], eax
mov eax, dword [ebx + 0x2b44c]
mov ebp, dword [esp + 0x54]
cmp eax, 7
mov dword [ebx + 0x11fb4], ebp
jle 0xc503b0
mov eax, dword [ebx + 0x2b548]
add eax, 2
mov dword [esp + 0x38], eax
lea eax, [esp + 0xb98]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
lea ecx, [ebx + 0x11fcc]
lea edx, [esp + 0xb90]
lea ebp, [ebx + 0x2c6b8]
lea edi, [esp + 0xba0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0xba4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00c35fd0
mov edx, dword [esp + 0x40]
lea eax, [esp + 0xbac]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xba8]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx + 0x128b8]
mov dword [esp + 0x10], edi
mov edi, 2
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], ebp
mov dword [esp + 0x14], eax
mov dword [esp], edx
call dword [ebx + 0x2c608]
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
mov dword [ebx + 0x10f68], ecx
mov ecx, dword [esp + 0x68]
mov dword [ebx + 0x10f6c], ebp
mov ebp, dword [esp + 0x6c]
mov dword [ebx + 0x10f70], edx
mov edx, dword [esp + 0x70]
cmp eax, 0x270f
mov dword [ebx + 0x11fb0], ecx
mov dword [ebx + 0x11fb4], ebp
mov dword [ebx + 0x11fb8], edx
jle 0xc4ff06
cmp eax, 0x4e1f
jg 0xc5015d
mov di, 1
jmp 0xc4ff06
mov edx, dword [ebx + 0x2b548]
cmp eax, 5
setg al
movzx eax, al
add eax, edx
mov dword [esp + 0x38], eax
jmp 0xc50281
mov ebp, dword [esp + 0x88]
mov ecx, dword [ebp + 0x13e0]
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp], ebp
call dword [ecx + 0x10]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
jmp 0xc4ffba
mov eax, dword [esp + 0x80]
and ecx, 7
mov dword [esp], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], ebp
add eax, 0x100
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], 8
and eax, 7
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
call dword [edx + 0x10fc]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x14], 8
add edx, 0x140
mov dword [esp + 0x48], edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp], ebp
mov dword [esp + 8], ecx
call dword [edx + 0x10fc]
jmp 0xc5006a
mov eax, dword [ebx + 0x2caa0]
xor edi, edi
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x8c]
add ecx, dword [ebx + 0x2cab0]
mov dword [esp + 0x50], edx
mov edx, esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], esi
mov dword [esp + 0x64], ebx
movzx ebp, word [edx]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax]
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
mov ebx, esi
mov byte [ecx], bl
movzx ebp, word [edx + 2]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax + 4]
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
mov ebx, esi
mov byte [ecx + 1], bl
movzx ebp, word [edx + 4]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax + 8]
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
mov ebx, esi
mov byte [ecx + 2], bl
movzx ebp, word [edx + 6]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax + 0xc]
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
mov ebx, esi
mov byte [ecx + 3], bl
movzx ebp, word [edx + 8]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax + 0x10]
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
mov ebx, esi
mov byte [ecx + 4], bl
movzx ebp, word [edx + 0xa]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax + 0x14]
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
mov ebx, esi
mov byte [ecx + 5], bl
movzx ebp, word [edx + 0xc]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax + 0x18]
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
mov ebx, esi
mov byte [ecx + 6], bl
movzx ebp, word [edx + 0xe]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax + 0x1c]
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
mov ebx, esi
mov byte [ecx + 7], bl
movzx ebp, word [edx + 0x10]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax + 0x20]
add edi, 0x10
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
mov ebx, esi
mov byte [ecx + 8], bl
movzx ebp, word [edx + 0x12]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax + 0x24]
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
mov ebx, esi
mov byte [ecx + 9], bl
movzx ebp, word [edx + 0x14]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax + 0x28]
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
mov ebx, esi
mov byte [ecx + 0xa], bl
movzx ebp, word [edx + 0x16]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax + 0x2c]
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
mov ebx, esi
mov byte [ecx + 0xb], bl
movzx ebp, word [edx + 0x18]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax + 0x30]
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
mov ebx, esi
mov byte [ecx + 0xc], bl
movzx ebp, word [edx + 0x1a]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax + 0x34]
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
mov ebx, esi
mov byte [ecx + 0xd], bl
movzx ebp, word [edx + 0x1c]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax + 0x38]
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
mov ebx, esi
mov byte [ecx + 0xe], bl
movzx ebp, word [edx + 0x1e]
mov ebx, dword [esp + 0x64]
mov esi, ebp
shr si, 1
movzx esi, si
add esi, dword [eax + 0x3c]
add eax, 0x40
imul esi, dword [ebx + ebp*4 + 0x2cb38]
shr esi, 0x13
add edx, 0x20
mov ebx, esi
mov byte [ecx + 0xf], bl
add ecx, dword [esp + 0x48]
cmp edi, 0x100
jne 0xc504f4
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x58]
mov ebp, dword [ebx + 0x2caac]
add edx, dword [ebx + 0x2cab4]
add eax, dword [ebx + 0x2cab8]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], edx
lea esi, [esi]
movzx ebp, word [esi + 0x200]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x400]
imul edi, dword [ebx + ebp*4 + 0x2cb38]
mov ebp, dword [esp + 0x50]
shr edi, 0x13
mov edx, edi
mov byte [ebp], dl
movzx ebp, word [esi + 0x280]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x500]
imul edi, dword [ebx + ebp*4 + 0x2cb38]
shr edi, 0x13
mov edx, edi
mov byte [eax], dl
movzx ebp, word [esi + 0x202]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x404]
imul edi, dword [ebx + ebp*4 + 0x2cb38]
mov ebp, dword [esp + 0x50]
shr edi, 0x13
mov edx, edi
mov byte [ebp + 1], dl
movzx ebp, word [esi + 0x282]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x504]
imul edi, dword [ebx + ebp*4 + 0x2cb38]
shr edi, 0x13
mov edx, edi
mov byte [eax + 1], dl
movzx ebp, word [esi + 0x204]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x408]
imul edi, dword [ebx + ebp*4 + 0x2cb38]
mov ebp, dword [esp + 0x50]
shr edi, 0x13
mov edx, edi
mov byte [ebp + 2], dl
movzx ebp, word [esi + 0x284]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x508]
imul edi, dword [ebx + ebp*4 + 0x2cb38]
shr edi, 0x13
mov edx, edi
mov byte [eax + 2], dl
movzx ebp, word [esi + 0x206]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x40c]
imul edi, dword [ebx + ebp*4 + 0x2cb38]
mov ebp, dword [esp + 0x50]
shr edi, 0x13
mov edx, edi
mov byte [ebp + 3], dl
movzx ebp, word [esi + 0x286]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x50c]
imul edi, dword [ebx + ebp*4 + 0x2cb38]
shr edi, 0x13
mov edx, edi
mov byte [eax + 3], dl
movzx ebp, word [esi + 0x208]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x410]
imul edi, dword [ebx + ebp*4 + 0x2cb38]
mov ebp, dword [esp + 0x50]
shr edi, 0x13
mov edx, edi
mov byte [ebp + 4], dl
movzx ebp, word [esi + 0x288]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x510]
imul edi, dword [ebx + ebp*4 + 0x2cb38]
shr edi, 0x13
mov edx, edi
mov byte [eax + 4], dl
movzx ebp, word [esi + 0x20a]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x414]
imul edi, dword [ebx + ebp*4 + 0x2cb38]
mov ebp, dword [esp + 0x50]
shr edi, 0x13
mov edx, edi
mov byte [ebp + 5], dl
movzx ebp, word [esi + 0x28a]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x514]
imul edi, dword [ebx + ebp*4 + 0x2cb38]
shr edi, 0x13
mov edx, edi
mov byte [eax + 5], dl
movzx ebp, word [esi + 0x20c]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x418]
imul edi, dword [ebx + ebp*4 + 0x2cb38]
mov ebp, dword [esp + 0x50]
shr edi, 0x13
mov edx, edi
mov byte [ebp + 6], dl
movzx ebp, word [esi + 0x28c]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x518]
imul edi, dword [ebx + ebp*4 + 0x2cb38]
shr edi, 0x13
mov edx, edi
mov byte [eax + 6], dl
movzx ebp, word [esi + 0x20e]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x41c]
imul edi, dword [ebx + ebp*4 + 0x2cb38]
mov ebp, dword [esp + 0x50]
shr edi, 0x13
mov edx, edi
mov byte [ebp + 7], dl
movzx ebp, word [esi + 0x28e]
mov edi, ebp
shr di, 1
movzx edi, di
add edi, dword [ecx + 0x51c]
add ecx, 0x20
imul edi, dword [ebx + ebp*4 + 0x2cb38]
shr edi, 0x13
mov edx, edi
mov byte [eax + 7], dl
mov edx, dword [esp + 0x48]
add dword [esp + 0x4c], 8
add esi, 0x10
add dword [esp + 0x50], edx
add eax, edx
cmp dword [esp + 0x4c], 0x140
jne 0xc50770
add dword [esp + 0xa4], 1
mov ebp, dword [esp + 0xac]
add dword [esp + 0x54], 0x10
add dword [esp + 0x7c], 8
sub dword [esp + 0xa8], 0x10
cmp dword [esp + 0xa4], ebp
jne 0xc4feb0
mov ebp, dword [esp + 0xb4]
mov edx, dword [esp + 0xcc]
lea ebp, [ebp + edx + 0x10]
mov edx, dword [esp + 0xac]
mov dword [esp + 0xb4], ebp
mov ebp, dword [esp + 0xb0]
lea ebp, [ebp + edx*8]
mov dword [esp + 0xb0], ebp
mov edx, dword [esp + 0x74]
add dword [esp + 0xb8], 1
mov ebp, dword [esp + 0xbc]
cmp dword [esp + 0xb8], ebp
mov eax, dword [edx + 8]
mov edx, dword [edx + 0x14]
je 0xc50aba
sub eax, dword [esp + 0xac]
shl eax, 4
add dword [esp + 0xb4], eax
mov eax, edx
mov edx, dword [esp + 0xb0]
sub eax, dword [esp + 0xac]
lea edx, [edx + eax*8]
mov dword [esp + 0xb0], edx
mov edx, dword [ebx + 0x1ce18]
jmp 0xc4fde1
mov ebp, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov dword [ebx + 0x124cc], ebp
mov ebp, dword [esp + 0xc8]
mov dword [ebx + 0x124d0], edx
mov dword [ebx + 0x124d4], ebp
add esp, 0xbbc
pop ebx
pop esi
pop edi
pop ebp
ret
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov edx, dword [ebx + 0x1f770]
mov eax, dword [ebx + 0x1f850]
mov esi, dword [ebx + 0x1f774]
mov ebp, dword [ebx + 0x23c00]
mov dword [esp + 0x1c], edx
mov dword [esp], eax
call fcn.00c2f5c0
mov edx, edi
not edx
add eax, edx
cmp esi, 1
je 0xc50d20
cmp esi, 2
je 0xc50c94
cmp edi, eax
mov edx, edi
jl 0xc50d38
mov edx, eax
jle 0xc50d38
mov ecx, eax
lea eax, [ebp - 1]
mov esi, eax
shr esi, 0x1f
add eax, esi
sar eax, 1
cmp edx, eax
cmovle eax, edx
mov edx, ebp
shr edx, 0x1f
add edx, ebp
sar edx, 1
cmp ecx, edx
cmovle edx, ecx
mov dword [esp + 0x18], edx
lea esi, [edx + eax + 1]
jmp 0xc50ca7
lea edx, [ebp - 1]
cmp ebp, eax
cmovle eax, edx
lea esi, [eax + 1]
mov dword [esp + 0x18], 0
add edi, eax
shl ebp, 2
lea eax, [ebx + 0x2cad4]
mov dword [esp + 8], ebp
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memset
test esi, esi
jle 0xc50cfe
mov eax, esi
xor ebp, ebp
sub eax, edi
lea eax, [ebx + eax*4]
mov dword [esp + 0x14], eax
mov dword [esp + 4], edi
mov eax, dword [ebx + 0x1f850]
add ebp, 1
mov dword [esp], eax
call fcn.00c2f570
mov edx, dword [esp + 0x14]
mov dword [edx + edi*4 + 0x2cad0], eax
sub edi, 1
cmp ebp, esi
jne 0xc50cd7
mov edx, dword [esp + 0x1c]
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], edx
add esp, 0x2c
mov edx, esi
pop ebx
pop esi
pop edi
pop ebp
jmp 0xc4fcf0
cmp ebp, edi
lea eax, [ebp - 1]
cmovg eax, edi
mov esi, eax
mov dword [esp + 0x18], eax
add esi, 1
xor eax, eax
jmp 0xc50ca7
mov ecx, edi
jmp 0xc50c6b