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

Disassembly:
sub esp, 0x168
push ebx
push ebp
mov edx, ecx
push esi
push edi
xor eax, eax
mov ecx, 0x20
lea edi, [edx + 0x1934]
rep stosd dword es:[edi], eax
mov ebp, dword [edx + 4]
xor edi, edi
test ebp, ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 1
je 0x300cee5a
jmp 0x300ce430
mov eax, dword [ebp + 0x160]
test eax, eax
je 0x300ce447
mov dword [esp + 0x30], 0
jmp 0x300cee47
mov eax, dword [ebp + 0x2c]
test eax, eax
jne 0x300cee47
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x96c]
test ecx, ecx
jne 0x300cee47
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x1130]
xor esi, esi
test al, al
mov dword [esp + 0x30], esi
je 0x300ce492
mov eax, dword [ebp + 0x3c]
cmp eax, esi
je 0x300ce485
mov eax, dword [eax + 0x20]
cmp eax, esi
jne 0x300ce48b
mov eax, dword [ebp + 0x178]
mov dword [ecx + edi*4 + 0x1934], eax
cmp edi, 0x20
mov dword [esp + 0x1c], esi
jge 0x300ce4b4
call fcn.300cd100
cmp eax, esi
mov dword [esp + 0x1c], eax
je 0x300ce4b4
mov dword [esp + edi*4 + 0xf8], eax
inc edi
mov dword [esp + 0x2c], edi
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov ecx, eax
sar ecx, 2
and ecx, 3
test al, 2
mov edx, 0
setne dl
mov ecx, dword [ecx*4 + 0x3029b640]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], ebx
inc edx
test al, 1
mov eax, 0
setne al
xor edi, edi
inc eax
imul edx, eax
mov eax, dword [ebp + 0x98]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0xc]
sar esi, cl
cmp eax, edi
mov dword [esp + 0x28], esi
je 0x300ce79c
cmp esi, edi
mov eax, dword [esp + 0x17c]
mov dword [ebp + eax*4 + 0xa4], edi
jle 0x300ce6ad
jmp 0x300ce530
mov edx, dword [ebp + 0x12c]
cmp esi, edx
jge 0x300ce53c
mov edx, esi
cmp edx, edi
jl 0x300ce6ad
jle 0x300ce5db
mov al, byte [ebp + 0x136]
test al, al
je 0x300ce579
cmp ebx, edi
je 0x300ce59a
mov ecx, edx
imul ecx, dword [esp + 0x20]
mov esi, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0x28]
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
jmp 0x300ce59a
mov ecx, dword [ebp + 0x154]
mov eax, dword [ecx]
push edx
push ebx
call dword [eax + 4]
mov edx, eax
cmp edx, edi
jne 0x300ce59a
mov al, byte [ebp + 0x137]
test al, al
jne 0x300ce6ad
mov al, byte [ebp + 0x137]
test al, al
jne 0x300ce5b2
mov eax, dword [esp + 0x17c]
add dword [ebp + eax*4 + 0xa4], edx
cmp ebx, edi
je 0x300ce5bf
mov ecx, edx
imul ecx, dword [esp + 0x20]
add ebx, ecx
mov ecx, dword [ebp + 0x12c]
sub esi, edx
sub ecx, edx
cmp edx, edi
mov dword [esp + 0x28], esi
mov dword [ebp + 0x12c], ecx
jg 0x300ce6a5
push ebp
call dword [ebp + 0x98]
add esp, 4
neg eax
sbb al, al
inc al
mov byte [ebp + 0x137], al
jne 0x300ce5f9
mov dword [ebp + 0x13c], edi
cmp dword [ebp + 0x12c], edi
jg 0x300ce649
mov al, byte [ebp + 0x134]
test al, al
je 0x300ce633
mov eax, dword [ebp + 0x130]
cmp eax, edi
mov byte [ebp + 0x134], 0
jge 0x300ce640
neg eax
mov dword [ebp + 0x130], edi
mov dword [ebp + 0x12c], eax
mov byte [ebp + 0x136], 1
jmp 0x300ce650
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
mov dword [ebp + 0x12c], eax
mov byte [ebp + 0x136], 1
jmp 0x300ce650
mov byte [ebp + 0x136], 0
mov ecx, dword [ebp + 0x174]
cmp ecx, edi
je 0x300ce6a5
cmp dword [ebp + 0x12c], edi
je 0x300ce6a5
mov al, byte [ebp + 0x136]
test al, al
jne 0x300ce6a5
push 1
call fcn.300e4520
cmp eax, edi
je 0x300ce6a5
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
sar edx, 2
and edx, 3
mov dword [esp + 0x18], ecx
mov ecx, dword [edx*4 + 0x3029b640]
mov edx, dword [esp + 0x18]
shl edx, cl
mov ecx, dword [eax + 0x54]
add edx, dword [ecx + 4]
mov ecx, eax
push edx
call fcn.300e90e0
cmp esi, edi
jg 0x300ce530
mov edx, dword [ebp + 0x1c]
cmp dword [edx + 0x970], edi
je 0x300ce6e0
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
sar edx, cl
xor eax, eax
imul edx, dword [esp + 0x20]
mov ecx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
mov al, byte [ebp + 0x135]
test al, al
je 0x300ce763
mov eax, dword [esp + 0x10]
mov byte [ebp + 0x135], 0
mov eax, dword [eax + 0xc]
cmp eax, 0x2b11
mov dword [esp + 0x78], 2
mov dword [esp + 0x7c], edi
mov word [esp + 0x82], di
mov word [esp + 0x80], di
mov dword [esp + 0x84], eax
jl 0x300ce72d
mov dword [esp + 0x84], 0x2b11
mov ecx, 0x8000
mov word [esp + 0x8a], cx
mov word [esp + 0x88], cx
cmp dword [esp + 0x1c], edi
je 0x300ce763
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x78]
push ecx
push edi
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push edx
push ecx
call fcn.300ce150
add esp, 0x14
mov ecx, dword [ebp + 0x9c]
cmp ecx, edi
je 0x300ceaf6
call fcn.300e9740
cmp dword [eax + 4], edi
je 0x300ceaf6
mov edx, dword [esp + 0x10]
mov eax, 1
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x170], eax
mov byte [edx + 0x19b4], al
jmp 0x300ceaf6
cmp dword [ebp + 0x158], edi
je 0x300ce97e
cmp esi, edi
mov eax, dword [esp + 0x17c]
mov dword [ebp + eax*4 + 0xa4], edi
jle 0x300ceaf6
mov edi, edi
mov esi, dword [ebp + 0x148]
mov ecx, dword [ebp + 0x144]
mov eax, dword [esp + 0x28]
sub esi, ecx
cmp eax, esi
jge 0x300ce7d8
mov esi, eax
test esi, esi
jl 0x300ceaf6
mov eax, dword [esp + 0x24]
xor edi, edi
test esi, esi
mov dword [esp + 0x18], edi
jle 0x300ce813
mov cl, byte [eax + 0x15]
test cl, cl
je 0x300ce7fc
mov cl, byte [eax + 0x14]
test cl, cl
je 0x300ce813
mov ecx, dword [ebp + 0x154]
mov edx, dword [ecx]
push esi
push ebx
call dword [edx + 4]
mov edi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x17c]
mov edx, dword [ebp + ecx*4 + 0xa4]
add edx, edi
cmp edi, esi
mov dword [ebp + ecx*4 + 0xa4], edx
jl 0x300ce856
test esi, esi
je 0x300ce856
test ebx, ebx
je 0x300ce843
mov eax, esi
imul eax, dword [esp + 0x20]
add ebx, eax
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0x144]
sub ecx, esi
add eax, esi
jmp 0x300ce910
mov cl, byte [eax + 0x14]
test cl, cl
je 0x300ce8af
mov edx, dword [ebp + 0x8c]
dec edx
mov ecx, edx
test ecx, ecx
mov dword [ebp + 0x8c], edx
jle 0x300ce92b
mov edx, dword [ebp + 0x90]
mov ecx, dword [esp + 0x14]
sar edx, cl
mov ecx, dword [ebp + 0x154]
push 0
push 1
mov dword [ebp + 0x144], edx
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx]
push edx
call dword [eax]
mov edx, dword [ebp + 0x144]
mov ecx, dword [ebp + 0x154]
mov eax, dword [ecx]
push edx
push 0
call dword [eax + 4]
jmp 0x300ce91a
test ebx, ebx
mov byte [eax + 0x15], 1
je 0x300ce902
mov eax, dword [eax]
mov edx, dword [esp + 0x20]
shr eax, 1
mov ecx, esi
sub ecx, edi
imul edi, edx
not eax
imul ecx, edx
and eax, 1
shl eax, 7
add edi, ebx
mov bl, al
mov bh, bl
mov edx, ecx
shr ecx, 2
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x34]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x18]
mov eax, esi
imul eax, dword [esp + 0x20]
add ebx, eax
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0x144]
sub ecx, esi
add eax, edi
mov dword [esp + 0x28], ecx
mov dword [ebp + 0x144], eax
mov eax, dword [esp + 0x28]
test eax, eax
jg 0x300ce7c0
jmp 0x300ceaf6
test ebx, ebx
je 0x300ce960
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
imul ecx, dword [esp + 0x20]
shr eax, 1
not eax
and eax, 1
shl eax, 7
mov edi, ebx
mov bl, al
mov bh, bl
mov edx, ecx
shr ecx, 2
mov eax, ebx
shl eax, 0x10
mov ax, bx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, 1
mov dword [ebp + 0x170], eax
mov dword [ebp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov byte [eax + 0x19b4], 1
jmp 0x300ceaf6
cmp esi, edi
jle 0x300ceac1
jmp 0x300ce990
mov edi, dword [ebp + 0x148]
sub edi, dword [ebp + 0x144]
cmp esi, edi
jge 0x300ce9a2
mov edi, esi
test edi, edi
jl 0x300ceac1
jg 0x300ce9fc
mov ecx, dword [ebp + 0x8c]
dec ecx
mov eax, ecx
test eax, eax
mov dword [ebp + 0x8c], ecx
jle 0x300cea60
mov edx, dword [ebp + 0x90]
mov ecx, dword [esp + 0x14]
sar edx, cl
mov ecx, dword [ebp + 0x154]
push 0
push 1
mov dword [ebp + 0x144], edx
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx]
push edx
call dword [eax]
mov edx, dword [ebp + 0x144]
mov ecx, dword [ebp + 0x154]
mov eax, dword [ecx]
push edx
push 0
call dword [eax + 4]
mov ecx, dword [ebp + 0x154]
mov eax, dword [ecx]
push edi
push ebx
call dword [eax + 4]
test ebx, ebx
je 0x300cea16
mov ecx, edi
imul ecx, dword [esp + 0x20]
add ebx, ecx
add dword [ebp + 0x144], edi
mov ecx, dword [ebp + 0x174]
sub esi, edi
test ecx, ecx
je 0x300cea56
push 1
call fcn.300e4520
test eax, eax
je 0x300cea56
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
mov edx, dword [ebp + 0x144]
sar ecx, 2
and ecx, 3
mov ecx, dword [ecx*4 + 0x3029b640]
shl edx, cl
mov ecx, eax
push edx
call fcn.300e90e0
test esi, esi
jg 0x300ce990
jmp 0x300ceac1
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x300cea78
mov ecx, dword [eax + 0x68]
test ecx, ecx
je 0x300cea78
mov dword [ebp + 0x170], 1
test ebx, ebx
je 0x300ceaaf
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
shr eax, 1
not eax
and eax, 1
shl eax, 7
mov edi, ebx
mov bl, al
mov bh, bl
mov ecx, esi
imul ecx, dword [esp + 0x20]
mov eax, ebx
shl eax, 0x10
mov edx, ecx
mov ax, bx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x2c], 1
mov byte [eax + 0x19b4], 1
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx + 0x970]
test eax, eax
je 0x300ceaf6
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
sar eax, cl
imul eax, dword [esp + 0x20]
mov ecx, eax
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x300ceb8b
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov esi, dword [edx + 0xc]
mov eax, dword [esp + 0x1c]
sar esi, cl
mov ecx, dword [esp + 0x20]
lea edi, [esp + 0x4c]
dec esi
imul esi, ecx
mov ebx, ecx
shr ecx, 2
add esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x14c]
test ecx, ecx
jne 0x300ceb59
mov ecx, ebx
shr ecx, 2
mov esi, eax
lea edi, [ebp + 0x150]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 0x14c], 1
mov ecx, dword [edx + 0x1d3c]
mov edx, dword [edx + 0xc]
lea esi, [ebp + 0x150]
push esi
push ecx
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
and ecx, 0xffffff0f
push ecx
push edx
push eax
call fcn.300cd980
mov eax, dword [esp + 0x60]
mov dword [esi], eax
mov esi, dword [esp + 0x30]
add esp, 0x14
mov ecx, dword [ebp + 0x44]
test ecx, ecx
mov edi, dword [esp + 0x10]
lea eax, [ebp + 0x44]
jle 0x300cebc2
test esi, esi
je 0x300cebb9
mov ecx, dword [ebp + 0x140]
mov edx, dword [edi + 0xc]
push eax
mov eax, dword [edi + 0x1d3c]
push ecx
push edx
push esi
push eax
call fcn.300ce150
add esp, 0x14
mov ecx, dword [edi + 0xc]
add dword [ebp + 0x140], ecx
test esi, esi
je 0x300ced79
mov ecx, dword [ebp + 0x15c]
test ecx, ecx
je 0x300cec41
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x300ced79
add eax, 0x7d0
mov edx, dword [eax]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x60], edx
push ecx
mov edx, ecx
push edx
mov dword [esp + 0x6c], eax
call fcn.300cd210
mov eax, dword [edi + 0x1d3c]
mov edx, dword [edi + 0xc]
lea ecx, [esp + 0x5c]
push ecx
push eax
sar eax, 2
and eax, 3
mov ecx, dword [eax*4 + 0x3029b640]
sar edx, cl
push edx
push esi
call fcn.300cd300
add esp, 0x1c
jmp 0x300ced79
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x300ced23
mov eax, dword [ecx + 0x50]
mov edx, dword [eax + 0xe0]
mov eax, dword [ecx + 0x2c]
mov ebx, dword [eax + 0xdc]
mov edi, dword [ecx + 0x54]
mov eax, 0x64
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], eax
xor eax, eax
add ebx, 0x7d0
cmp edi, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
jne 0x300ceca5
call fcn.300e9740
add eax, 0x3c
push eax
lea ecx, [esp + 0x3c]
push ecx
mov edx, ecx
push edx
call fcn.300cd210
add esp, 0xc
jmp 0x300cece3
cmp edi, dword [esp + 0x18]
je 0x300cece3
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x78]
cmp eax, 0x62
je 0x300cecc0
cmp eax, 6
je 0x300cecc0
cmp eax, 0x61
jne 0x300cecdc
mov ecx, dword [edi + 0x20]
call fcn.300e9740
add eax, 0x3c
push eax
lea ecx, [esp + 0x3c]
push ecx
mov edx, ecx
push edx
call fcn.300cd210
add esp, 0xc
mov edi, dword [edi + 8]
test edi, edi
jne 0x300ceca5
lea eax, [esp + 0x38]
push ebx
push eax
mov ecx, eax
push ecx
call fcn.300cd210
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x1d3c]
lea edx, [esp + 0x44]
push edx
mov edx, dword [ecx + 0xc]
push eax
sar eax, 2
and eax, 3
mov ecx, dword [eax*4 + 0x3029b640]
sar edx, cl
push edx
push esi
call fcn.300cd300
mov edi, dword [esp + 0x2c]
add esp, 0x1c
jmp 0x300ced79
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x300ced79
add eax, 0x7d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x1d3c]
lea ecx, [esp + 0x64]
push ecx
push eax
sar eax, 2
mov dword [esp + 0x78], edx
mov edx, dword [edi + 0xc]
and eax, 3
mov ecx, dword [eax*4 + 0x3029b640]
sar edx, cl
push edx
push esi
call fcn.300cd300
add esp, 0x10
mov eax, dword [ebp + 0x164]
test eax, eax
je 0x300cee43
mov edx, dword [edi + 0x1d3c]
mov eax, edx
shr eax, 1
not eax
test al, 1
jne 0x300cee43
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, edx
sar ecx, 2
and ecx, 3
mov ecx, dword [ecx*4 + 0x3029b640]
sar eax, cl
mov ebx, 0x7fff
mov edi, 0xffff8000
xor ecx, ecx
test dl, 1
mov dword [esp + 0x14], ebx
mov esi, edi
jne 0x300cedf2
movsx edx, ax
test edx, edx
jle 0x300cee2f
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + ecx*2]
cmp ebx, eax
jl 0x300ceddf
mov ebx, eax
cmp edi, eax
mov dword [esp + 0x14], ebx
jg 0x300cede9
mov edi, eax
inc ecx
cmp ecx, edx
mov esi, edi
jl 0x300cedd1
jmp 0x300cee2f
movsx eax, ax
test eax, eax
mov dword [esp + 0x18], eax
jle 0x300cee2f
mov edx, dword [esp + 0x1c]
movsx eax, word [edx + ecx*4]
cmp ebx, eax
jl 0x300cee0b
mov ebx, eax
cmp edi, eax
jg 0x300cee11
mov edi, eax
movsx eax, word [edx + ecx*4 + 2]
cmp dword [esp + 0x14], eax
jl 0x300cee20
mov dword [esp + 0x14], eax
cmp esi, eax
jg 0x300cee26
mov esi, eax
mov eax, dword [esp + 0x18]
inc ecx
cmp ecx, eax
jl 0x300cedfd
mov eax, dword [esp + 0x14]
sub edi, ebx
sub esi, eax
mov dword [ebp + 0x168], edi
mov dword [ebp + 0x16c], esi
mov edi, dword [esp + 0x2c]
mov ebp, dword [ebp + 0x24]
test ebp, ebp
jne 0x300ce430
mov eax, dword [esp + 0x30]
test eax, eax
je 0x300cee63
mov esi, dword [esp + 0x10]
inc dword [esi + 8]
jmp 0x300cee70
mov ecx, dword [esp + 0x10]
mov dword [ecx + 8], 0
mov esi, ecx
mov eax, dword [esi + 0x1d3c]
mov ecx, dword [esp + 0x17c]
mov edx, eax
shr edx, 1
not edx
test dl, 1
je 0x300cf01a
test edi, edi
mov edx, dword [esi + ecx*4 + 0x28]
jne 0x300ceeb1
mov ecx, dword [esi + 0x24]
mov edi, edx
mov edx, ecx
shr ecx, 2
mov eax, 0x80808080
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x300cf28a
cmp edi, 1
jne 0x300ceed9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
mov esi, dword [esp + 0xf8]
mov edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x300cf28a
cmp edi, 2
jne 0x300cef2a
test al, 1
mov ecx, dword [esp + 0xf8]
mov edi, dword [esi + 0x20]
je 0x300ceeee
add edi, edi
test edi, edi
je 0x300cf28a
mov esi, dword [esp + 0xfc]
sub esi, ecx
nop
movzx eax, byte [esi + ecx]
movzx ebx, byte [ecx]
lea eax, [eax + ebx - 0x80]
inc ecx
test eax, 0xffff00
je 0x300cef1f
test eax, eax
setl al
dec al
and eax, 0xff
mov byte [edx], al
inc edx
dec edi
jne 0x300cef00
jmp 0x300cf28a
test al, 1
mov ecx, dword [esp + 0x2c]
lea esi, [esp + 0xf8]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 0x20]
mov ebp, edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edi
je 0x300cef56
add edi, edi
mov dword [esp + 0x14], edi
test edi, edi
jle 0x300cf28a
jmp 0x300cef64
mov edi, dword [esp + 0x14]
cmp edi, 0x400
mov edx, dword [esp + 0x78]
jl 0x300cef77
mov edi, 0x400
jmp 0x300cef7b
test edi, edi
jle 0x300cef96
mov eax, dword [esp + 0x10]
add eax, 0x130
mov ecx, edi
movzx esi, byte [edx]
mov dword [eax], esi
inc edx
add eax, 4
dec ecx
jne 0x300cef86
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x2c]
cmp eax, 1
jle 0x300cefcf
mov ebx, eax
lea esi, [esp + 0x7c]
dec ebx
test edi, edi
jle 0x300cefc9
mov eax, dword [esp + 0x10]
mov ecx, dword [esi]
add eax, 0x130
mov edx, edi
movzx ebp, byte [ecx]
add dword [eax], ebp
inc ecx
add eax, 4
dec edx
jne 0x300cefb7
mov ebp, dword [esp + 0x18]
mov dword [esi], ecx
add esi, 4
dec ebx
jne 0x300cefa6
test edi, edi
jle 0x300cf003
mov ecx, dword [esp + 0x10]
add ecx, 0x130
mov edx, edi
nop
mov eax, dword [ecx]
test eax, 0xffff00
je 0x300ceff5
test eax, eax
setl al
dec al
and eax, 0xff
mov byte [ebp], al
inc ebp
add ecx, 4
dec edx
jne 0x300cefe0
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x14]
sub eax, edi
test eax, eax
mov dword [esp + 0x14], eax
jg 0x300cef60
jmp 0x300cf28a
test edi, edi
mov ebp, dword [esi + ecx*4 + 0x28]
mov dword [esp + 0x30], ebp
jne 0x300cf061
mov ecx, dword [esi + 0x24]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov al, byte [esi + 0x1130]
test al, al
je 0x300cf28a
mov edi, dword [esp + 0x10]
xor eax, eax
mov ecx, 0x200
add edi, 0x1132
rep stosd dword es:[edi], eax
jmp 0x300cf28a
cmp edi, 1
jne 0x300cf089
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
mov esi, dword [esp + 0xf8]
mov edx, ecx
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x300cf1ea
cmp edi, 2
jne 0x300cf0ed
test al, 1
mov edi, dword [esp + 0xf8]
mov edx, dword [esi + 0x20]
mov ecx, ebp
je 0x300cf0a0
add edx, edx
test edx, edx
je 0x300cf1ea
mov esi, dword [esp + 0xfc]
sub esi, edi
mov ebp, edx
movsx edx, word [edi]
movsx eax, word [esi + edi]
add eax, edx
movsx edx, ax
add edi, 2
cmp edx, eax
je 0x300cf0df
xor edx, edx
test eax, eax
setge dl
dec edx
and edx, 0xffff0001
add edx, 0x7fff
mov word [ecx], dx
jmp 0x300cf0e2
mov word [ecx], ax
add ecx, 2
dec ebp
jne 0x300cf0b3
jmp 0x300cf1ea
test al, 1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
lea esi, [esp + 0xf8]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x14], ecx
je 0x300cf113
add ecx, ecx
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x300cf1ea
mov ebx, dword [esp + 0x78]
nop
mov edi, dword [esp + 0x14]
cmp edi, 0x400
jl 0x300cf133
mov edi, 0x400
jmp 0x300cf137
test edi, edi
jle 0x300cf152
lea eax, [edx + 0x130]
mov ecx, edi
nop
movsx esi, word [ebx]
mov dword [eax], esi
add ebx, 2
add eax, 4
dec ecx
jne 0x300cf140
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x2c]
cmp eax, 1
jle 0x300cf198
dec eax
lea esi, [esp + 0x7c]
mov dword [esp + 0x18], eax
test edi, edi
jle 0x300cf18a
mov ecx, dword [esi]
lea eax, [edx + 0x130]
mov edx, edi
movsx ebx, word [ecx]
add dword [eax], ebx
add ecx, 2
add eax, 4
dec edx
jne 0x300cf172
mov edx, dword [esp + 0x10]
mov dword [esi], ecx
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x18]
add esi, 4
dec eax
mov dword [esp + 0x18], eax
jne 0x300cf164
test edi, edi
jle 0x300cf1d8
lea ecx, [edx + 0x130]
mov esi, edi
mov eax, dword [ecx]
movsx ebx, ax
cmp ebx, eax
je 0x300cf1c7
xor ebx, ebx
test eax, eax
setge bl
dec ebx
and ebx, 0xffff0001
add ebx, 0x7fff
mov word [ebp], bx
jmp 0x300cf1cb
mov word [ebp], ax
add ebp, 2
add ecx, 4
dec esi
jne 0x300cf1a4
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
sub eax, edi
test eax, eax
mov dword [esp + 0x14], eax
jg 0x300cf120
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x1130]
test al, al
je 0x300cf28a
test byte [ecx + 0x1d3c], 1
mov esi, dword [ecx + 0x20]
mov ebx, dword [esp + 0x30]
je 0x300cf252
lea edi, [esi + esi]
xor esi, esi
xor eax, eax
mov edx, eax
shr edx, 1
cmp eax, edi
jge 0x300cf236
mov bp, word [ebx + eax*2]
mov word [ecx + edx*2 + 0x1132], bp
mov bp, word [ebx + eax*2 + 2]
mov word [ecx + edx*2 + 0x1532], bp
jmp 0x300cf246
mov word [ecx + edx*2 + 0x1132], si
mov word [ecx + edx*2 + 0x1532], si
add eax, 2
cmp eax, 0x400
jl 0x300cf213
jmp 0x300cf28a
xor edi, edi
xor edx, edx
lea eax, [ecx + 0x1132]
lea esp, [esp]
cmp edx, esi
jge 0x300cf274
mov cx, word [ebx + edx*2]
mov word [eax + 0x400], cx
mov word [eax], cx
jmp 0x300cf27e
mov word [eax + 0x400], di
mov word [eax], di
inc edx
add eax, 2
cmp edx, 0x200
jl 0x300cf260
mov esi, dword [0x30333dc4]
xor ebp, ebp
cmp esi, ebp
je 0x300cf30d
mov ebx, dword [esp + 0x17c]
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x1d3c]
mov ecx, eax
sub esp, 8
sar ecx, 2
and ecx, 3
fild dword [ecx*4 + 0x3029b630]
test al, 1
mov ecx, dword [edi + ebx*4 + 0x28]
mov edx, 0
setne dl
fstp qword [esp]
and al, 2
inc edx
neg al
push edx
mov edx, dword [esi + 0xf80]
sbb eax, eax
and eax, 8
add eax, 8
push eax
mov eax, dword [edi + 0x24]
push eax
push ecx
push edx
mov ecx, esi
call fcn.300056c0
mov esi, dword [esi + 0xf9c]
cmp esi, ebp
jne 0x300cf2a5
mov dword [edi + 0xac], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax + 0xac], ebp
pop ebp
pop ebx
add esp, 0x168
ret 4