Function at 0x4830a0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2c4]
sub esp, 0x344
mov eax, dword [0x6d7160]
xor eax, ebp
mov dword [ebp + 0x2c0], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x4b0], 0
push edi
lea edi, [esi + 0x49c]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x50], edi
je 0x4830e4
mov eax, 1
lea ebx, [ebp - 0x49]
call fcn.00410220
jmp 0x483100
mov eax, dword [edi + 4]
test eax, eax
je 0x4830fe
push eax
push 1
lea eax, [ebp - 0x49]
push 1
push eax
call fcn.0060860a
add esp, 0x10
jmp 0x483100
xor eax, eax
cmp eax, 1
jne 0x483136
mov al, byte [ebp - 0x49]
cmp al, 0x38
je 0x483157
cmp dword [edi + 0x14], 0
je 0x483122
mov eax, dword [edi + 0x18]
cmp eax, 1
jb 0x483136
add eax, 0xffffffff
mov dword [edi + 0x18], eax
jmp 0x483136
mov edi, dword [edi + 4]
test edi, edi
je 0x483136
movsx ecx, al
push edi
push ecx
call fcn.00615754
add esp, 8
mov eax, 3
mov ecx, dword [ebp + 0x2c0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00607d6d
add ebp, 0x2c4
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x14], 0
je 0x48316f
mov edi, dword [ebp - 0x50]
mov eax, 1
lea ebx, [ebp - 0x49]
call fcn.00410220
jmp 0x48318b
mov eax, dword [edi + 4]
test eax, eax
je 0x483189
push eax
push 1
lea edx, [ebp - 0x49]
push 1
push edx
call fcn.0060860a
add esp, 0x10
jmp 0x48318b
xor eax, eax
cmp eax, 1
jne 0x483136
mov al, byte [ebp - 0x49]
cmp al, 0x42
je 0x4831b2
cmp dword [edi + 0x14], 0
jne 0x483112
mov edi, dword [edi + 4]
test edi, edi
je 0x483136
movsx eax, al
push edi
push eax
jmp 0x48312e
cmp dword [edi + 0x14], 0
je 0x4831ca
mov edi, dword [ebp - 0x50]
mov eax, 1
lea ebx, [ebp - 0x49]
call fcn.00410220
jmp 0x4831e6
mov eax, dword [edi + 4]
test eax, eax
je 0x4831e4
push eax
push 1
lea ecx, [ebp - 0x49]
push 1
push ecx
call fcn.0060860a
add esp, 0x10
jmp 0x4831e6
xor eax, eax
cmp eax, 1
jne 0x483136
mov al, byte [ebp - 0x49]
cmp al, 0x50
je 0x483215
cmp dword [edi + 0x14], 0
jne 0x483112
mov edi, dword [edi + 4]
test edi, edi
je 0x483136
movsx edx, al
push edi
push edx
jmp 0x48312e
cmp dword [edi + 0x14], 0
je 0x48322d
mov edi, dword [ebp - 0x50]
mov eax, 1
lea ebx, [ebp - 0x49]
call fcn.00410220
jmp 0x483249
mov eax, dword [edi + 4]
test eax, eax
je 0x483247
push eax
push 1
lea eax, [ebp - 0x49]
push 1
push eax
call fcn.0060860a
add esp, 0x10
jmp 0x483249
xor eax, eax
cmp eax, 1
jne 0x483136
mov al, byte [ebp - 0x49]
cmp al, 0x53
jne 0x48310c
cmp dword [edi + 0x14], 0
lea ebx, [esi + 4]
je 0x483277
mov edi, dword [ebp - 0x50]
mov eax, 2
call fcn.00410220
shr eax, 1
jmp 0x483290
mov eax, dword [edi + 4]
test eax, eax
je 0x48328e
push eax
push 1
push 2
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x483290
xor eax, eax
cmp eax, 1
jne 0x483136
mov dx, word [ebx]
rol dx, 8
cmp dx, ax
mov word [ebx], dx
jne 0x483136
cmp dword [edi + 0x14], 0
je 0x4832c7
mov edi, dword [ebp - 0x50]
mov eax, 6
lea ebx, [ebp + 0x2b8]
call fcn.00410220
jmp 0x4832e6
mov eax, dword [edi + 4]
test eax, eax
je 0x4832e4
push eax
push 6
lea eax, [ebp + 0x2b8]
push 1
push eax
call fcn.0060860a
add esp, 0x10
jmp 0x4832e6
xor eax, eax
cmp eax, 6
jne 0x483136
cmp dword [edi + 0x14], 0
lea ebx, [esi + 6]
mov dword [ebp - 0x6c], ebx
je 0x48330c
mov edi, dword [ebp - 0x50]
mov eax, 2
call fcn.00410220
shr eax, 1
jmp 0x483325
mov eax, dword [edi + 4]
test eax, eax
je 0x483323
push eax
push 1
push 2
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x483325
xor eax, eax
cmp eax, 1
jne 0x483136
mov cx, word [ebx]
rol cx, 8
mov word [ebx], cx
cmp dword [edi + 0x14], 0
lea ebx, [esi + 8]
mov dword [ebp - 0x68], ebx
je 0x483356
mov edi, dword [ebp - 0x50]
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x48336f
mov eax, dword [edi + 4]
test eax, eax
je 0x48336d
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x48336f
xor eax, eax
cmp eax, 1
jne 0x483136
mov eax, dword [ebx]
rol eax, 0x10
mov edx, eax
shr edx, 8
mov ecx, eax
shl ecx, 8
xor edx, ecx
and edx, 0xff00ff
shl eax, 8
xor edx, eax
mov dword [ebx], edx
cmp dword [edi + 0x14], 0
lea ebx, [esi + 0xc]
mov dword [ebp - 0x70], ebx
je 0x4833b4
mov edi, dword [ebp - 0x50]
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x4833cd
mov eax, dword [edi + 4]
test eax, eax
je 0x4833cb
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x4833cd
xor eax, eax
cmp eax, 1
jne 0x483136
mov eax, dword [ebx]
rol eax, 0x10
mov edx, eax
shr edx, 8
mov ecx, eax
shl ecx, 8
xor edx, ecx
and edx, 0xff00ff
shl eax, 8
xor edx, eax
mov dword [ebx], edx
cmp dword [edi + 0x14], 0
lea ecx, [esi + 0x10]
je 0x483411
mov edi, dword [ebp - 0x50]
mov eax, 2
lea ebx, [esi + 0x10]
call fcn.00410220
shr eax, 1
jmp 0x48342a
mov eax, dword [edi + 4]
test eax, eax
je 0x483428
push eax
push 1
push 2
push ecx
call fcn.0060860a
add esp, 0x10
jmp 0x48342a
xor eax, eax
cmp eax, 1
jne 0x483136
mov dx, word [esi + 0x10]
rol dx, 8
mov word [esi + 0x10], dx
cmp dword [edi + 0x14], 0
lea ebx, [esi + 0x12]
je 0x483459
mov edi, dword [ebp - 0x50]
mov eax, 2
call fcn.00410220
shr eax, 1
jmp 0x483472
mov eax, dword [edi + 4]
test eax, eax
je 0x483470
push eax
push 1
push 2
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x483472
xor eax, eax
cmp eax, 1
jne 0x483136
mov ax, word [ebx]
rol ax, 8
mov word [ebx], ax
shr word [esi + 0x10], 3
movzx eax, word [esi + 0x10]
cmp ax, 1
jae 0x48349a
mov word [esi + 0x10], 1
movzx eax, word [ebx]
cmp ax, 3
je 0x4834ad
cmp ax, 2
jne 0x483136
cmp dword [edi + 0x14], 0
lea ebx, [esi + 0x14]
je 0x4834c8
mov edi, dword [ebp - 0x50]
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x4834e1
mov eax, dword [edi + 4]
test eax, eax
je 0x4834df
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x4834e1
xor eax, eax
cmp eax, 1
jne 0x483136
mov eax, dword [ebx]
rol eax, 0x10
mov ecx, eax
shr ecx, 8
mov edx, eax
shl edx, 8
xor ecx, edx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
mov dword [ebx], ecx
mov ebx, ecx
test ebx, ebx
je 0x483774
cmp ebx, 0x300
jne 0x483136
cmp dword [edi + 0x14], 0
je 0x483533
mov edi, dword [ebp - 0x50]
mov eax, ecx
lea ebx, [ebp - 0x48]
call fcn.00410220
jmp 0x483552
mov edi, dword [edi + 4]
test edi, edi
je 0x483550
push edi
push 0x300
lea eax, [ebp - 0x48]
push 1
push eax
call fcn.0060860a
add esp, 0x10
jmp 0x483552
xor eax, eax
cmp eax, 0x300
jne 0x483136
cmp byte [0x6fd3a1], 0
mov ecx, 0x100
lea eax, [esi + 0x98]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x78], 0xff000000
mov dword [ebp - 0x54], eax
je 0x4835f5
test al, 0xf
je 0x4835a0
test ecx, ecx
je 0x483600
mov dword [eax], 0xff000000
mov eax, dword [ebp - 0x54]
add eax, 4
sub ecx, 1
test al, 0xf
mov dword [ebp - 0x54], eax
jne 0x483582
test ecx, ecx
je 0x483600
mov edx, ecx
shr edx, 2
mov dword [ebp - 0x5c], edx
movq mm0, qword [ebp - 0x78]
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
punpckldq mm0, mm0
test eax, eax
je 0x4835c8
movntq qword [edi], mm0
movntq qword [edi + 8], mm0
add edi, 0x10
dec dword [ebp - 0x5c]
jg 0x4835b9
mov dword [ebp - 0x54], edi
emms
and ecx, 3
je 0x483600
mov eax, 4
jmp 0x4835e0
mov edx, dword [ebp - 0x54]
sub ecx, 1
mov dword [edx], 0xff000000
add dword [ebp - 0x54], eax
test ecx, ecx
jne 0x4835e0
jmp 0x483600
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x54]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x5c], 5
mov dword [ebp - 0x54], 4
lea edi, [ecx + 3]
lea edx, [ecx + 2]
lea eax, [ecx + 1]
lea esp, [esp]
mov ebx, ecx
and ebx, 0xff
lea ebx, [esi + ebx*4 + 0x98]
mov dword [ebp - 0x58], ebx
mov ebx, ecx
shr ebx, 8
mov ecx, 2
sub ecx, ebx
add ecx, ecx
add ecx, ecx
add ecx, ecx
movzx ebx, byte [ebp + eax - 0x49]
shl ebx, cl
mov ecx, dword [ebp - 0x58]
or dword [ecx], ebx
mov ecx, eax
and ecx, 0xff
lea ecx, [esi + ecx*4 + 0x98]
mov dword [ebp - 0x58], ecx
mov ebx, eax
shr ebx, 8
mov ecx, 2
sub ecx, ebx
movzx ebx, byte [ebp + eax - 0x48]
add ecx, ecx
add ecx, ecx
add ecx, ecx
shl ebx, cl
mov ecx, dword [ebp - 0x58]
or dword [ecx], ebx
mov ecx, edx
and ecx, 0xff
lea ecx, [esi + ecx*4 + 0x98]
mov dword [ebp - 0x58], ecx
mov ebx, edx
shr ebx, 8
mov ecx, 2
sub ecx, ebx
movzx ebx, byte [ebp + edx - 0x48]
add ecx, ecx
add ecx, ecx
add ecx, ecx
shl ebx, cl
mov ecx, dword [ebp - 0x58]
or dword [ecx], ebx
mov ecx, edi
and ecx, 0xff
lea ecx, [esi + ecx*4 + 0x98]
mov dword [ebp - 0x58], ecx
mov ebx, edi
shr ebx, 8
mov ecx, 2
sub ecx, ebx
movzx ebx, byte [ebp + edi - 0x48]
add ecx, ecx
add ecx, ecx
add ecx, ecx
shl ebx, cl
mov ecx, dword [ebp - 0x58]
or dword [ecx], ebx
mov ecx, dword [ebp - 0x54]
mov ebx, ecx
and ebx, 0xff
lea ebx, [esi + ebx*4 + 0x98]
mov dword [ebp - 0x58], ebx
mov ebx, ecx
shr ebx, 8
mov ecx, 2
sub ecx, ebx
mov ebx, dword [ebp - 0x54]
movzx ebx, byte [ebp + ebx - 0x48]
add ecx, ecx
add ecx, ecx
add ecx, ecx
shl ebx, cl
mov ecx, dword [ebp - 0x58]
or dword [ecx], ebx
mov ecx, dword [ebp - 0x5c]
mov ebx, ecx
and ebx, 0xff
lea ebx, [esi + ebx*4 + 0x98]
add dword [ebp - 0x54], 6
mov dword [ebp - 0x58], ebx
mov ebx, ecx
shr ebx, 8
mov ecx, 2
sub ecx, ebx
mov ebx, dword [ebp - 0x5c]
movzx ebx, byte [ebp + ebx - 0x48]
add dword [ebp - 0x5c], 6
add ecx, ecx
add ecx, ecx
add ecx, ecx
shl ebx, cl
mov ecx, dword [ebp - 0x58]
add eax, 6
add edx, 6
or dword [ecx], ebx
mov ecx, dword [ebp - 0x64]
add ecx, 6
add edi, 6
cmp eax, 0x301
mov dword [ebp - 0x64], ecx
jb 0x483620
mov edi, dword [ebp - 0x50]
cmp dword [edi + 0x14], 0
lea ebx, [esi + 0x24]
je 0x48378f
mov edi, dword [ebp - 0x50]
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x4837a8
mov eax, dword [edi + 4]
test eax, eax
je 0x4837a6
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x4837a8
xor eax, eax
cmp eax, 1
jne 0x483136
mov eax, dword [ebx]
rol eax, 0x10
mov edx, eax
shr edx, 8
mov ecx, eax
shl ecx, 8
xor edx, ecx
and edx, 0xff00ff
shl eax, 8
xor edx, eax
cmp byte [ebp + 0x2cc], 0
mov dword [ebx], edx
je 0x483804
cmp dword [edi + 0x14], 0
mov ecx, edx
je 0x4837f3
mov eax, dword [edi + 0x18]
add eax, ecx
mov ecx, dword [edi + 0x1c]
cmp ecx, eax
ja 0x4837ee
mov eax, ecx
mov dword [edi + 0x18], eax
jmp 0x483870
mov edx, dword [edi + 4]
push 1
push ecx
push edx
call fcn.006081d8
add esp, 0xc
jmp 0x483870
mov eax, edi
call fcn.00410270
lea esi, [ebp - 0x80]
mov edi, eax
call fcn.004808f0
mov esi, dword [ebp - 0x50]
mov eax, esi
call fcn.00410270
mov ecx, dword [ebx]
add ecx, edi
cmp eax, ecx
jae 0x483849
push 0
lea edx, [ebp - 0x80]
push edx
push esi
call fcn.00480b10
add esp, 0xc
test eax, eax
jne 0x483849
mov eax, esi
call fcn.00410270
mov ecx, dword [ebx]
add ecx, edi
cmp eax, ecx
jb 0x483827
mov eax, esi
call fcn.00410270
mov edx, dword [ebx]
add edx, edi
cmp eax, edx
lea eax, [ebp - 0x80]
je 0x483865
call fcn.00483d40
jmp 0x483136
call fcn.00483d40
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x50]
cmp dword [edi + 0x14], 0
je 0x483888
mov edi, dword [ebp - 0x50]
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x4838a1
mov eax, dword [edi + 4]
test eax, eax
je 0x48389f
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x4838a1
xor eax, eax
cmp eax, 1
jne 0x483136
mov eax, dword [ebx]
rol eax, 0x10
mov ecx, eax
shr ecx, 8
mov edx, eax
shl edx, 8
xor ecx, edx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
cmp byte [ebp + 0x2cc], 0
mov dword [ebx], ecx
je 0x48390b
mov ebx, ecx
test ebx, ebx
je 0x483c9f
cmp dword [edi + 0x14], 0
je 0x4838f7
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
add eax, ebx
cmp ecx, eax
ja 0x4838ef
mov eax, ecx
mov dword [edi + 0x18], eax
jmp 0x483c9f
mov eax, dword [edi + 4]
push 1
push ebx
push eax
call fcn.006081d8
add esp, 0xc
jmp 0x483c9f
test ecx, ecx
je 0x483c9f
mov eax, edi
call fcn.00410270
add eax, dword [ebx]
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x74], eax
lea ebx, [esi + 0x1c]
je 0x48393a
mov edi, dword [ebp - 0x50]
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x483953
mov eax, dword [edi + 4]
test eax, eax
je 0x483951
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x483953
xor eax, eax
cmp eax, 1
jne 0x483136
mov eax, dword [ebx]
rol eax, 0x10
mov ecx, eax
shr ecx, 8
mov edx, eax
shl edx, 8
xor ecx, edx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
mov dword [ebx], ecx
cmp dword [edi + 0x14], 0
lea ebx, [esi + 0x20]
mov dword [ebp - 0x64], ebx
je 0x483997
mov edi, dword [ebp - 0x50]
mov eax, 2
call fcn.00410220
shr eax, 1
jmp 0x4839b0
mov edi, dword [edi + 4]
test edi, edi
je 0x4839ae
push edi
push 1
push 2
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x4839b0
xor eax, eax
cmp eax, 1
jne 0x483136
mov ax, word [ebx]
rol ax, 8
mov word [ebx], ax
movsx eax, ax
cdq
mov ebx, eax
xor ebx, edx
sub ebx, edx
cmp ebx, 0x13b13b1
mov dword [ebp - 0x54], ebx
jbe 0x483a01
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x483c07
call fcn.00484240
and dword [esi + 0x94], 1
mov dword [esi + 0x90], 0
jmp 0x483c07
mov eax, dword [esi + 0x94]
mov ecx, eax
shr eax, 1
and ecx, 1
cmp ebx, eax
je 0x483c07
test ecx, ecx
je 0x483aec
test ebx, ebx
mov dword [ebp - 0x5c], 0
je 0x483ab6
xor ecx, ecx
mov eax, ebx
mov edx, 0x68
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00608276
add esp, 4
test eax, eax
je 0x483ad3
lea edi, [eax + 4]
mov dword [eax], ebx
mov eax, dword [ebp - 0x54]
push 0x68
mov ebx, 0x4809c0
mov ecx, edi
call fcn.00401380
test edi, edi
mov dword [ebp - 0x5c], edi
je 0x483ad0
mov eax, dword [esi + 0x94]
mov ecx, dword [ebp - 0x54]
shr eax, 1
cmp eax, ecx
jbe 0x483a8a
mov eax, ecx
test eax, eax
jbe 0x483ab3
xor ebx, ebx
mov dword [ebp - 0x58], eax
jmp 0x483a98
mov edi, dword [ebp - 0x5c]
mov esi, dword [esi + 0x90]
add esi, ebx
add edi, ebx
call fcn.00484370
mov esi, dword [ebp - 0x60]
add ebx, 0x68
sub dword [ebp - 0x58], 1
jne 0x483a95
mov ebx, dword [ebp - 0x54]
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x483ac5
call fcn.00484240
mov ecx, dword [ebp - 0x5c]
mov dword [esi + 0x90], ecx
jmp 0x483ad3
mov ebx, dword [ebp - 0x54]
mov edx, dword [esi + 0x94]
and edx, 1
lea eax, [ebx + ebx]
or edx, eax
mov dword [esi + 0x94], edx
jmp 0x483c07
mov edi, 1
cmp ebx, edi
jb 0x483afb
add edi, edi
cmp edi, ebx
jbe 0x483af5
mov ecx, eax
test ecx, ecx
mov dword [ebp - 0x58], ecx
fild dword [ebp - 0x58]
jge 0x483b0d
fadd dword [0x6c0a38]
fstp dword [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
shr ecx, 0x17
and ecx, 0xff
sub ecx, 0x7f
js 0x483b2a
mov edx, 1
shl edx, cl
jmp 0x483b2c
xor edx, edx
cmp edx, eax
jae 0x483b32
add edx, edx
cmp edx, edi
je 0x483bf3
test edi, edi
mov dword [ebp - 0x5c], 0
je 0x483bd7
xor ecx, ecx
mov eax, edi
mov edx, 0x68
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00608276
add esp, 4
test eax, eax
je 0x4839d8
lea ecx, [eax + 4]
mov dword [eax], edi
push 0x68
mov ebx, 0x4809c0
mov eax, edi
mov dword [ebp - 0x58], ecx
call fcn.00401380
mov ecx, dword [ebp - 0x58]
test ecx, ecx
mov dword [ebp - 0x5c], ecx
je 0x483d37
mov eax, dword [esi + 0x94]
shr eax, 1
cmp eax, edi
jbe 0x483baa
mov eax, edi
test eax, eax
jbe 0x483bd4
xor ebx, ebx
mov dword [ebp - 0x58], eax
jmp 0x483bb8
mov ecx, dword [ebp - 0x5c]
mov esi, dword [esi + 0x90]
add esi, ebx
lea edi, [ebx + ecx]
call fcn.00484370
mov esi, dword [ebp - 0x60]
add ebx, 0x68
sub dword [ebp - 0x58], 1
jne 0x483bb5
mov ebx, dword [ebp - 0x54]
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x483be6
call fcn.00484240
mov eax, dword [ebp - 0x5c]
test eax, eax
mov dword [esi + 0x90], eax
je 0x483c07
mov ecx, dword [esi + 0x94]
and ecx, 1
lea edx, [ebx + ebx]
or ecx, edx
mov dword [esi + 0x94], ecx
test ebx, ebx
mov dword [ebp - 0x54], 0
jle 0x483c3b
xor edi, edi
mov edx, dword [esi + 0x90]
add edx, edi
mov ecx, esi
call fcn.004810c0
test eax, eax
jne 0x48313b
mov eax, dword [ebp - 0x54]
add eax, 1
add edi, 0x68
cmp eax, ebx
mov dword [ebp - 0x54], eax
jl 0x483c14
test ebx, ebx
mov dword [ebp - 0x54], 0
jle 0x483c79
xor edi, edi
jmp 0x483c50
mov eax, dword [esi + 0x90]
add eax, edi
push eax
call fcn.004820d0
test eax, eax
jne 0x48313b
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x60]
add eax, 1
add edi, 0x68
cmp eax, ebx
mov dword [ebp - 0x54], eax
jl 0x483c50
mov edi, dword [ebp - 0x50]
mov eax, edi
call fcn.00410270
mov edx, dword [ebp - 0x74]
cmp eax, edx
je 0x483c91
mov eax, edi
call fcn.00407090
mov ecx, dword [ebp - 0x64]
movsx eax, word [ecx]
cdq
xor eax, edx
sub eax, edx
mov word [ecx], ax
mov edx, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x6c]
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
mov eax, dword [edx]
mov dword [esi + 0x34], ecx
mov cx, word [ebx]
mov dword [esi + 0x30], eax
mov eax, edi
mov word [esi + 0x38], cx
call fcn.00410270
xor edi, edi
cmp word [ebx], di
mov dword [esi + 0x8c], eax
jbe 0x483d30
mov eax, dword [esi + 0x40]
test al, 1
jne 0x483d23
shr eax, 1
lea edx, [eax - 1]
test eax, edx
jne 0x483d04
add eax, eax
jne 0x483cee
mov eax, 1
mov ecx, dword [esi + 0x3c]
add eax, eax
push eax
push ecx
call fcn.0045d790
add esp, 8
test eax, eax
mov dword [esi + 0x3c], eax
je 0x483d23
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
shr edx, 1
mov word [eax + edx*2], di
mov eax, dword [esi + 0x40]
mov ecx, eax
and ecx, 0xfffffffe
add ecx, 2
and eax, 1
xor ecx, eax
mov dword [esi + 0x40], ecx
movzx eax, word [ebx]
add edi, 1
movsx edx, di
cmp edx, eax
jl 0x483cd5
xor eax, eax
jmp 0x48313b
mov ebx, dword [ebp - 0x54]
jmp 0x4839d8