Function at 0x4810c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x6d7160]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
add edi, 0x49c
cmp dword [edi + 0x14], 0
mov esi, edx
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x134], edi
lea ebx, [esi + 4]
je 0x481104
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x48111d
mov eax, dword [edi + 4]
test eax, eax
je 0x48111b
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x48111d
xor eax, eax
cmp eax, 1
jne 0x4815fd
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
je 0x48115b
mov eax, 4
mov ebx, esi
call fcn.00410220
shr eax, 2
jmp 0x481174
mov eax, dword [edi + 4]
test eax, eax
je 0x481172
push eax
push 1
push 4
push esi
call fcn.0060860a
add esp, 0x10
jmp 0x481174
xor eax, eax
cmp eax, 1
jne 0x4815fd
mov eax, dword [esi]
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 [esi], ecx
cmp dword [edi + 0x14], 0
lea ebx, [esi + 0xc]
je 0x4811b3
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x4811cc
mov eax, dword [edi + 4]
test eax, eax
je 0x4811ca
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x4811cc
xor eax, eax
cmp eax, 1
jne 0x4815fd
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 + 8]
je 0x48120b
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x481224
mov eax, dword [edi + 4]
test eax, eax
je 0x481222
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x481224
xor eax, eax
cmp eax, 1
jne 0x4815fd
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 + 0x10]
je 0x481262
mov eax, 2
call fcn.00410220
shr eax, 1
jmp 0x48127b
mov eax, dword [edi + 4]
test eax, eax
je 0x481279
push eax
push 1
push 2
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x48127b
xor eax, eax
cmp eax, 1
jne 0x4815fd
mov ax, word [ebx]
rol ax, 8
mov word [ebx], ax
movzx ebx, ax
cmp ebx, 0x3fffffff
jbe 0x4812bd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x481382
push eax
call fcn.0045da90
add esp, 4
and dword [esi + 0x18], 1
mov dword [esi + 0x14], 0
jmp 0x481382
mov eax, dword [esi + 0x18]
mov ecx, eax
shr eax, 1
and ecx, 1
cmp ebx, eax
je 0x481382
test ecx, ecx
je 0x4812eb
mov edx, dword [esi + 0x14]
lea ecx, [ebx + ebx]
push ecx
push edx
call fcn.0045d790
add esp, 8
mov dword [esi + 0x14], eax
jmp 0x481374
mov ecx, 1
cmp ebx, ecx
mov dword [ebp - 0x11c], ecx
jb 0x48130c
lea ebx, [ebx]
add ecx, ecx
cmp ecx, ebx
jbe 0x481300
mov dword [ebp - 0x11c], ecx
mov edx, eax
test edx, edx
mov dword [ebp - 0x124], edx
fild dword [ebp - 0x124]
jge 0x481324
fadd dword [0x6c0a38]
fstp dword [ebp - 0x124]
mov ecx, dword [ebp - 0x124]
shr ecx, 0x17
and ecx, 0xff
sub ecx, 0x7f
js 0x481347
mov edx, 1
shl edx, cl
jmp 0x481349
xor edx, edx
cmp edx, eax
jae 0x48134f
add edx, edx
cmp edx, dword [ebp - 0x11c]
je 0x481374
mov eax, dword [ebp - 0x11c]
mov edx, dword [esi + 0x14]
lea ecx, [eax + eax]
push ecx
push edx
call fcn.0045d790
add esp, 8
test eax, eax
mov dword [esi + 0x14], eax
je 0x481382
mov eax, dword [esi + 0x18]
lea ecx, [ebx + ebx]
and eax, 1
or eax, ecx
mov dword [esi + 0x18], eax
movzx ebx, word [esi + 0x10]
cmp ebx, 0x1fffffff
jbe 0x4813b2
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x481487
push eax
call fcn.0045da90
add esp, 4
and dword [esi + 0x20], 1
mov dword [esi + 0x1c], 0
jmp 0x481487
mov eax, dword [esi + 0x20]
mov ecx, eax
shr eax, 1
and ecx, 1
cmp ebx, eax
je 0x481487
test ecx, ecx
je 0x4813f2
mov eax, dword [esi + 0x1c]
lea edx, [ebx*4]
push edx
push eax
call fcn.0045d790
mov edx, dword [esi + 0x20]
lea ecx, [ebx + ebx]
and edx, 1
add esp, 8
or ecx, edx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
jmp 0x481487
mov ecx, 1
cmp ebx, ecx
mov dword [ebp - 0x11c], ecx
jb 0x48140d
add ecx, ecx
cmp ecx, ebx
jbe 0x481401
mov dword [ebp - 0x11c], ecx
mov ecx, eax
test ecx, ecx
mov dword [ebp - 0x124], ecx
fild dword [ebp - 0x124]
jge 0x481425
fadd dword [0x6c0a38]
fstp dword [ebp - 0x124]
mov ecx, dword [ebp - 0x124]
shr ecx, 0x17
and ecx, 0xff
sub ecx, 0x7f
js 0x481448
mov edx, 1
shl edx, cl
jmp 0x48144a
xor edx, edx
cmp edx, eax
jae 0x481450
add edx, edx
cmp edx, dword [ebp - 0x11c]
je 0x481479
mov edx, dword [ebp - 0x11c]
mov ecx, dword [esi + 0x1c]
lea eax, [edx*4]
push eax
push ecx
call fcn.0045d790
add esp, 8
test eax, eax
mov dword [esi + 0x1c], eax
je 0x481487
mov eax, dword [esi + 0x20]
lea edx, [ebx + ebx]
and eax, 1
or edx, eax
mov dword [esi + 0x20], edx
add esi, 0x10
cmp word [esi], 0
mov dword [ebp - 0x118], 0
jbe 0x48158d
mov edi, edi
mov esi, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x128]
mov ebx, dword [ecx + 0x14]
add esi, esi
add ebx, esi
cmp dword [edi + 0x14], 0
je 0x4814c7
mov eax, 2
call fcn.00410220
shr eax, 1
jmp 0x4814e0
mov eax, dword [edi + 4]
test eax, eax
je 0x4814de
push eax
push 1
push 2
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x4814e0
xor eax, eax
cmp eax, 1
jne 0x4815fd
mov dx, word [ebx]
mov ecx, dword [ebp - 0x128]
rol dx, 8
mov word [ebx], dx
mov eax, dword [ecx + 0x14]
add eax, esi
cmp word [eax], 0xffff
jne 0x481509
mov word [eax], 3
cmp dword [edi + 0x14], 0
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ebp - 0x118]
lea ebx, [ecx + edx*4]
je 0x48152a
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x481543
mov eax, dword [edi + 4]
test eax, eax
je 0x481541
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x481543
xor eax, eax
cmp eax, 1
jne 0x4815fd
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 eax, dword [ebp - 0x118]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x128]
add ecx, 0x10
movzx ecx, word [ecx]
add eax, 1
cmp eax, ecx
mov dword [ebp - 0x118], eax
jb 0x4814a0
cmp dword [edi + 0x14], 0
je 0x4815a5
mov eax, 1
lea ebx, [ebp - 0x111]
call fcn.00410220
jmp 0x4815c4
mov eax, dword [edi + 4]
test eax, eax
je 0x4815c2
push eax
push 1
lea edx, [ebp - 0x111]
push 1
push edx
call fcn.0060860a
add esp, 0x10
jmp 0x4815c4
xor eax, eax
cmp eax, 1
jne 0x4815fd
mov al, byte [ebp - 0x111]
cmp al, 0x38
je 0x481619
cmp dword [edi + 0x14], 0
je 0x4815e9
mov eax, dword [edi + 0x18]
cmp eax, 1
jb 0x4815fd
add eax, 0xffffffff
mov dword [edi + 0x18], eax
jmp 0x4815fd
mov edi, dword [edi + 4]
test edi, edi
je 0x4815fd
movsx eax, al
push edi
push eax
call fcn.00615754
add esp, 8
mov eax, 3
lea esp, [ebp - 0x140]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00607d6d
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x14], 0
je 0x481631
mov eax, 1
lea ebx, [ebp - 0x111]
call fcn.00410220
jmp 0x481650
mov eax, dword [edi + 4]
test eax, eax
je 0x48164e
push eax
push 1
lea ecx, [ebp - 0x111]
push 1
push ecx
call fcn.0060860a
add esp, 0x10
jmp 0x481650
xor eax, eax
cmp eax, 1
jne 0x4815fd
mov al, byte [ebp - 0x111]
cmp al, 0x42
je 0x48167a
cmp dword [edi + 0x14], 0
jne 0x4815d9
mov edi, dword [edi + 4]
test edi, edi
je 0x4815fd
movsx edx, al
push edi
push edx
jmp 0x4815f5
cmp dword [edi + 0x14], 0
je 0x481692
mov eax, 1
lea ebx, [ebp - 0x111]
call fcn.00410220
jmp 0x4816b1
mov eax, dword [edi + 4]
test eax, eax
je 0x4816af
push eax
push 1
lea eax, [ebp - 0x111]
push 1
push eax
call fcn.0060860a
add esp, 0x10
jmp 0x4816b1
xor eax, eax
cmp eax, 1
jne 0x4815fd
mov al, byte [ebp - 0x111]
cmp al, 0x49
je 0x4816e3
cmp dword [edi + 0x14], 0
jne 0x4815d9
mov edi, dword [edi + 4]
test edi, edi
je 0x4815fd
movsx ecx, al
push edi
push ecx
jmp 0x4815f5
cmp dword [edi + 0x14], 0
je 0x4816fb
mov eax, 1
lea ebx, [ebp - 0x111]
call fcn.00410220
jmp 0x48171a
mov eax, dword [edi + 4]
test eax, eax
je 0x481718
push eax
push 1
lea edx, [ebp - 0x111]
push 1
push edx
call fcn.0060860a
add esp, 0x10
jmp 0x48171a
xor eax, eax
cmp eax, 1
jne 0x4815fd
mov al, byte [ebp - 0x111]
cmp al, 0x4d
jne 0x4815d3
cmp dword [edi + 0x14], 0
mov esi, dword [ebp - 0x128]
lea ebx, [esi + 0x24]
je 0x48174c
mov eax, 4
call fcn.00410220
jmp 0x481765
mov eax, dword [edi + 4]
test eax, eax
je 0x481763
push eax
push 4
push 1
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x481765
xor eax, eax
cmp eax, 4
jne 0x4815fd
mov byte [esi + 0x28], 0
cmp dword [edi + 0x14], 0
lea ebx, [esi + 0x29]
je 0x481787
mov eax, 1
call fcn.00410220
jmp 0x4817a0
mov eax, dword [edi + 4]
test eax, eax
je 0x48179e
push eax
push 1
push 1
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x4817a0
xor eax, eax
cmp eax, 1
jne 0x4815fd
cmp dword [edi + 0x14], 0
lea ebx, [esi + 0x2a]
je 0x4817b9
call fcn.00410220
jmp 0x4817d2
mov eax, dword [edi + 4]
test eax, eax
je 0x4817d0
push eax
push 1
push 1
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x4817d2
xor eax, eax
cmp eax, 1
jne 0x4815fd
cmp dword [edi + 0x14], 0
lea ebx, [esi + 0x2b]
je 0x4817eb
call fcn.00410220
jmp 0x481804
mov eax, dword [edi + 4]
test eax, eax
je 0x481802
push eax
push 1
push 1
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x481804
xor eax, eax
cmp eax, 1
jne 0x4815fd
cmp dword [edi + 0x14], 0
je 0x481820
lea ebx, [ebp - 0x115]
call fcn.00410220
jmp 0x48183f
mov eax, dword [edi + 4]
test eax, eax
je 0x48183d
push eax
push 1
lea ecx, [ebp - 0x115]
push 1
push ecx
call fcn.0060860a
add esp, 0x10
jmp 0x48183f
xor eax, eax
cmp eax, 1
jne 0x4815fd
cmp dword [edi + 0x14], 0
lea ebx, [esi + 0x2c]
je 0x481860
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x481879
mov eax, dword [edi + 4]
test eax, eax
je 0x481877
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x481879
xor eax, eax
cmp eax, 1
jne 0x4815fd
mov eax, dword [ebx]
rol eax, 0x10
mov edx, eax
mov ecx, eax
shr edx, 8
shl ecx, 8
xor edx, ecx
shl eax, 8
and edx, 0xff00ff
xor edx, eax
mov eax, edi
mov dword [ebx], edx
call fcn.00410270
add eax, dword [ebx]
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x124], eax
lea ebx, [esi + 0x30]
je 0x4818c7
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x4818e0
mov eax, dword [edi + 4]
test eax, eax
je 0x4818de
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x4818e0
xor eax, eax
cmp eax, 1
jne 0x4815fd
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
mov ebx, edx
test ebx, ebx
je 0x481b23
cmp ebx, 0x14
jne 0x4815fd
cmp dword [edi + 0x14], 0
lea ebx, [esi + 0x34]
je 0x481930
lea eax, [edx - 0x10]
call fcn.00410220
shr eax, 2
jmp 0x481949
mov eax, dword [edi + 4]
test eax, eax
je 0x481947
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x481949
xor eax, eax
cmp eax, 1
jne 0x4815fd
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 + 0x38]
je 0x481988
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x4819a1
mov eax, dword [edi + 4]
test eax, eax
je 0x48199f
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x4819a1
xor eax, eax
cmp eax, 1
jne 0x4815fd
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 + 0x3c]
je 0x4819e0
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x4819f9
mov eax, dword [edi + 4]
test eax, eax
je 0x4819f7
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x4819f9
xor eax, eax
cmp eax, 1
jne 0x4815fd
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 + 0x40]
je 0x481a38
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x481a51
mov eax, dword [edi + 4]
test eax, eax
je 0x481a4f
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x481a51
xor eax, eax
cmp eax, 1
jne 0x4815fd
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 + 0x44]
je 0x481a8d
mov eax, 1
call fcn.00410220
jmp 0x481aa6
mov eax, dword [edi + 4]
test eax, eax
je 0x481aa4
push eax
push 1
push 1
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x481aa6
xor eax, eax
cmp eax, 1
jne 0x4815fd
cmp dword [edi + 0x14], 0
lea ebx, [esi + 0x45]
je 0x481abf
call fcn.00410220
jmp 0x481ad8
mov eax, dword [edi + 4]
test eax, eax
je 0x481ad6
push eax
push 1
push 1
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x481ad8
xor eax, eax
cmp eax, 1
jne 0x4815fd
cmp dword [edi + 0x14], 0
je 0x481afb
mov eax, 2
lea ebx, [ebp - 0x118]
call fcn.00410220
shr eax, 1
jmp 0x481b1a
mov eax, dword [edi + 4]
test eax, eax
je 0x481b18
push eax
push 1
lea edx, [ebp - 0x118]
push 2
push edx
call fcn.0060860a
add esp, 0x10
jmp 0x481b1a
xor eax, eax
cmp eax, 1
jne 0x4815fd
cmp dword [edi + 0x14], 0
lea ebx, [esi + 0x48]
je 0x481b3b
mov eax, 4
call fcn.00410220
shr eax, 2
jmp 0x481b54
mov eax, dword [edi + 4]
test eax, eax
je 0x481b52
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
jmp 0x481b54
xor eax, eax
cmp eax, 1
jne 0x4815fd
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
mov ebx, ecx
je 0x481b96
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
add eax, ebx
cmp ecx, eax
ja 0x481b91
mov eax, ecx
mov dword [edi + 0x18], eax
jmp 0x481bad
mov eax, dword [edi + 4]
push 1
push ebx
push eax
call fcn.006081d8
add esp, 0xc
test eax, eax
jne 0x481602
cmp dword [edi + 0x14], 0
je 0x481bc5
mov eax, 1
lea ebx, [ebp - 0x110]
call fcn.00410220
jmp 0x481be4
mov eax, dword [edi + 4]
test eax, eax
je 0x481be2
push eax
push 1
lea ecx, [ebp - 0x110]
push 1
push ecx
call fcn.0060860a
add esp, 0x10
jmp 0x481be4
xor eax, eax
cmp eax, 1
jne 0x4815fd
mov al, byte [ebp - 0x110]
or al, 3
cmp dword [edi + 0x14], 0
mov byte [ebp - 0x110], al
movzx eax, al
je 0x481c11
lea ebx, [ebp - 0x10f]
call fcn.00410220
jmp 0x481c2f
mov edi, dword [edi + 4]
test edi, edi
je 0x481c2d
push edi
push eax
lea edx, [ebp - 0x10f]
push 1
push edx
call fcn.0060860a
add esp, 0x10
jmp 0x481c2f
xor eax, eax
movzx ecx, byte [ebp - 0x110]
cmp eax, ecx
jne 0x4815fd
lea eax, [ebp - 0x10f]
mov byte [ebp + ecx - 0x10f], 0
mov dword [ebp - 0x11c], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x481c60
sub eax, edx
lea edi, [ebp - 0x10f]
lea ecx, [ebp - 0x11c]
call fcn.00459750
mov eax, esi
add eax, 0x4c
lea esi, [ebp - 0x11c]
call fcn.004017d0
mov edi, esi
call fcn.00401700
mov edi, dword [ebp - 0x134]
mov eax, edi
call fcn.00410270
cmp eax, dword [ebp - 0x124]
ja 0x4820a8
mov esi, 0x6c756e69
cmp dword [edi + 0x14], 0
je 0x481cc9
mov eax, 1
lea ebx, [ebp - 0x111]
call fcn.00410220
jmp 0x481ce8
mov eax, dword [edi + 4]
test eax, eax
je 0x481ce6
push eax
push 1
lea eax, [ebp - 0x111]
push 1
push eax
call fcn.0060860a
add esp, 0x10
jmp 0x481ce8
xor eax, eax
cmp eax, 1
jne 0x4820a8
mov cl, byte [ebp - 0x111]
cmp cl, 0x38
jne 0x481ef2
cmp dword [edi + 0x14], 0
je 0x481d13
lea ebx, [ebp - 0x11d]
call fcn.00410220
jmp 0x481d32
mov eax, dword [edi + 4]
test eax, eax
je 0x481d30
push eax
push 1
lea ecx, [ebp - 0x11d]
push 1
push ecx
call fcn.0060860a
add esp, 0x10
jmp 0x481d32
xor eax, eax
cmp eax, 1
jne 0x4820a8
mov cl, byte [ebp - 0x11d]
cmp cl, 0x42
jne 0x481f2c
cmp dword [edi + 0x14], 0
je 0x481d5d
lea ebx, [ebp - 0x11e]
call fcn.00410220
jmp 0x481d7c
mov eax, dword [edi + 4]
test eax, eax
je 0x481d7a
push eax
push 1
lea edx, [ebp - 0x11e]
push 1
push edx
call fcn.0060860a
add esp, 0x10
jmp 0x481d7c
xor eax, eax
cmp eax, 1
jne 0x4820a8
mov cl, byte [ebp - 0x11e]
cmp cl, 0x49
jne 0x481f4f
cmp dword [edi + 0x14], 0
je 0x481da7
lea ebx, [ebp - 0x115]
call fcn.00410220
jmp 0x481dc6
mov eax, dword [edi + 4]
test eax, eax
je 0x481dc4
push eax
push 1
lea eax, [ebp - 0x115]
push 1
push eax
call fcn.0060860a
add esp, 0x10
jmp 0x481dc6
xor eax, eax
cmp eax, 1
jne 0x4820a8
mov cl, byte [ebp - 0x115]
cmp cl, 0x4d
jne 0x481ef2
cmp dword [edi + 0x14], 0
je 0x481df9
mov eax, 4
lea ebx, [ebp - 0x11c]
call fcn.00410220
shr eax, 2
jmp 0x481e18
mov eax, dword [edi + 4]
test eax, eax
je 0x481e16
push eax
push 1
lea ecx, [ebp - 0x11c]
push 4
push ecx
call fcn.0060860a
add esp, 0x10
jmp 0x481e18
xor eax, eax
cmp eax, 1
jne 0x4815fd
mov eax, dword [ebp - 0x11c]
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 dword [edi + 0x14], 0
mov dword [ebp - 0x11c], edx
je 0x481e62
mov eax, 4
lea ebx, [ebp - 0x130]
call fcn.00410220
shr eax, 2
jmp 0x481e81
mov eax, dword [edi + 4]
test eax, eax
je 0x481e7f
push eax
push 1
lea edx, [ebp - 0x130]
push 4
push edx
call fcn.0060860a
add esp, 0x10
jmp 0x481e81
xor eax, eax
cmp eax, 1
jne 0x4815fd
mov eax, dword [ebp - 0x130]
rol eax, 0x10
mov ecx, eax
mov edx, eax
shr ecx, 8
shl edx, 8
xor ecx, edx
shl eax, 8
and ecx, 0xff00ff
xor ecx, eax
mov eax, edi
mov dword [ebp - 0x130], ecx
call fcn.00410270
add eax, dword [ebp - 0x130]
cmp dword [ebp - 0x11c], esi
je 0x481f72
mov edx, eax
mov eax, edi
call fcn.00407090
test eax, eax
jne 0x481602
mov eax, edi
call fcn.00410270
cmp eax, dword [ebp - 0x124]
jbe 0x481cb1
jmp 0x4820a8
cmp dword [edi + 0x14], 0
je 0x481f0f
mov eax, dword [edi + 0x18]
cmp eax, 1
jb 0x4820a8
add eax, 0xffffffff
mov dword [edi + 0x18], eax
jmp 0x4820a8
mov eax, dword [edi + 4]
test eax, eax
je 0x4820a8
push eax
movsx eax, cl
push eax
call fcn.00615754
add esp, 8
jmp 0x4820a8
cmp dword [edi + 0x14], 0
jne 0x481ef8
mov eax, dword [edi + 4]
test eax, eax
je 0x4820a8
movsx ecx, cl
push eax
push ecx
call fcn.00615754
add esp, 8
jmp 0x4820a8
cmp dword [edi + 0x14], 0
jne 0x481ef8
mov eax, dword [edi + 4]
test eax, eax
je 0x4820a8
movsx edx, cl
push eax
push edx
call fcn.00615754
add esp, 8
jmp 0x4820a8
cmp dword [edi + 0x14], 0
je 0x481f8d
mov eax, 4
lea ebx, [ebp - 0x118]
call fcn.00410220
shr eax, 2
jmp 0x481fac
mov eax, dword [edi + 4]
test eax, eax
je 0x481faa
push eax
push 1
lea ecx, [ebp - 0x118]
push 4
push ecx
call fcn.0060860a
add esp, 0x10
jmp 0x481fac
xor eax, eax
cmp eax, 1
jne 0x4815fd
mov eax, dword [ebp - 0x118]
rol eax, 0x10
mov ebx, eax
mov edx, eax
shr ebx, 8
shl edx, 8
xor ebx, edx
shl eax, 8
and ebx, 0xff00ff
xor ebx, eax
lea eax, [ebx + ebx]
mov dword [ebp - 0x12c], eax
add eax, 2
test eax, eax
mov dword [ebp - 0x118], ebx
jle 0x4820a8
call fcn.00616f40
mov esi, esp
test esi, esi
jne 0x482003
lea eax, [esp + 4]
jmp 0x481602
cmp dword [edi + 0x14], 0
je 0x482020
mov eax, dword [ebp - 0x12c]
mov ebx, esi
call fcn.00410220
mov ebx, dword [ebp - 0x118]
shr eax, 1
jmp 0x48203e
mov edi, dword [edi + 4]
test edi, edi
je 0x48203c
push edi
push ebx
push 2
push esi
call fcn.0060860a
mov ebx, dword [ebp - 0x118]
add esp, 0x10
jmp 0x48203e
xor eax, eax
cmp eax, ebx
jne 0x4815fd
xor eax, eax
test ebx, ebx
jbe 0x482069
lea esp, [esp]
mov cx, word [esi + eax*2]
rol cx, 8
mov word [esi + eax*2], cx
mov ebx, dword [ebp - 0x118]
add eax, 1
cmp eax, ebx
jb 0x482050
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x12c]
mov word [esi + ebx*2], 0
mov dword [ebp - 0x12c], 0
call fcn.004596c0
mov eax, dword [ebp - 0x128]
add eax, 0x50
lea esi, [ebp - 0x12c]
call fcn.004017d0
mov edi, esi
call fcn.00401700
mov edi, dword [ebp - 0x134]
mov eax, edi
call fcn.00410270
mov edx, dword [ebp - 0x124]
cmp eax, edx
je 0x4820c8
mov eax, edi
call fcn.00407090
test eax, eax
jne 0x481602
xor eax, eax
jmp 0x481602