Function at 0x489fe0
Capabilities:
Check for software breakpoints
Clear file content
Inspect section memory permissions
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 1
push esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x12c]
xor esi, esi
test eax, 0x8000000
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
je 0x48a031
cmp dword [eax + 0x7c], esi
jne 0x48a031
cmp dword [eax + 0x2c], esi
jne 0x48a031
cmp dword [eax + 0x54], esi
jne 0x48a031
mov dword [eax + 0x54], 3
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x48], edx
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x150]
push ecx
lea eax, [ebp - 0x4c]
push edx
push eax
push ebx
call fcn.0048c3e0
add esp, 0x10
cmp eax, esi
jne 0x48c1ca
lea edi, [ebp - 0x150]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebx + 0x50]
mov word [ebx + 0x11a], cx
push eax
movsx ecx, cx
inc ecx
push esi
push ecx
call fcn.00481ba0
add esp, 0xc
cmp eax, esi
jne 0x48c1ca
lea edi, [ebp - 0x150]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebx + 0x50]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x90]
mov ecx, dword [ebx + 0x94]
or eax, ecx
jne 0x48a0e8
xor edx, edx
mov dword [ebx + 0x90], 1
mov dword [ebx + 0x94], edx
jmp 0x48a0ea
xor edx, edx
mov ecx, dword [ebp + 8]
mov edi, 2
cmp dword [ecx + 0x44], edx
je 0x48a12c
mov eax, dword [ebp - 4]
mov esi, dword [ebx + 0x128]
or al, 0x80
or esi, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x128], esi
mov esi, dword [ebx + 0x12c]
or eax, 0x80000000
or esi, 0x400000
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x12c], esi
jmp 0x48a13f
mov eax, dword [ebp - 4]
or al, 0x80
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
or eax, 0xc0000000
mov dword [ebp - 0x14], eax
mov ecx, dword [ecx + 0x68]
cmp ecx, 3
ja case.default.0x48a150
mov esi, 0x40
jmp dword [ecx*4 + 0x48c1d4]
test byte [ebx + 0x128], 2
je 0x48a16c
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or eax, 0xc0000000
or cl, 0x80
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, 0x8000000
je case.0x48a150.0
jmp 0x48a1e9
mov ecx, dword [ebx + 0x128]
and eax, 0x3fffffff
or ecx, edi
mov dword [ebx + 0x128], ecx
mov ecx, dword [ebp - 4]
or cl, 0x80
or eax, 0x80000000
mov dword [ebp - 4], ecx
jmp 0x48a1e6
test byte [ebx + 0x128], 2
je 0x48a1c5
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x12c]
and eax, 0x3fffffff
or ecx, esi
mov dword [ebx + 0x12c], ecx
mov ecx, dword [ebp - 4]
or cl, 0x80
or eax, 0x40000000
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x88]
cmp ecx, 3
ja case.default.0x48a1fe
jmp dword [ecx*4 + 0x48c1e4]
test byte [ebx + 0x128], 2
je 0x48a21a
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
or eax, 0xc0000000
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x12c]
or esi, 0x80
test eax, 0x8000000
mov dword [ebp - 4], esi
je case.0x48a1fe.0
jmp 0x48a29f
mov ecx, dword [ebx + 0x128]
and eax, 0x3fffffff
or ecx, edi
mov edi, dword [ebp - 4]
or edi, 0x80
mov dword [ebx + 0x128], ecx
mov dword [ebp - 4], edi
or eax, 0x80000000
jmp 0x48a29c
test byte [ebx + 0x128], 2
je 0x48a278
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x12c]
mov edi, dword [ebp - 4]
or ecx, esi
or edi, 0x80
and eax, 0x3fffffff
mov dword [ebx + 0x12c], ecx
mov dword [ebp - 4], edi
or eax, 0x40000000
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp eax, 4
ja case.default.0x48a2b0
jmp dword [eax*4 + 0x48c1f4]
mov eax, dword [ebx + 0x128]
or ah, 8
jmp 0x48a2f1
mov eax, dword [ebx + 0x128]
or ah, 0x10
jmp 0x48a2f1
mov eax, dword [ebx + 0x128]
or ah, 0x20
jmp 0x48a2f1
mov eax, dword [ebx + 0x128]
test al, 2
je 0x48a2ee
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
or ah, 0xc
mov dword [ebx + 0x128], eax
mov eax, dword [ecx + 0x54]
cmp eax, 5
ja case.default.0x48a303
jmp dword [eax*4 + 0x48c208]
test dword [ebx + 0x12c], 0x8000000
je case.0x48a303.4
lea edx, [ebp - 0x150]
push 0x4bf0e4
push edx
call fcn.0049f130
add esp, 8
test eax, eax
jne case.0x48a303.4
mov eax, dword [ebx + 0x128]
or al, 0x20
mov dword [ebx + 0x128], eax
mov eax, dword [ebx + 0x128]
test al, 2
je 0x48a352
test dword [ebx + 0x12c], 0x8000000
je 0x48a362
test dword [ebx + 0x12c], 0x400000
je 0x48a41c
or al, 8
mov dword [ebx + 0x128], eax
mov eax, dword [ebp - 8]
or al, 3
jmp 0x48a421
mov ecx, dword [ebx + 0x128]
mov eax, dword [ebp - 8]
or ecx, 8
or al, 3
mov dword [ebx + 0x128], ecx
jmp 0x48a421
mov eax, dword [ebx + 0x128]
test al, 2
jne 0x48a160
test ah, 4
je 0x48a3b0
test dword [ebx + 0x12c], 0x8000000
je 0x48a160
mov eax, dword [ebp - 8]
or al, 1
jmp 0x48a421
mov eax, dword [ebx + 0x128]
test al, 2
jne 0x48a160
test ah, 4
je 0x48a3da
test dword [ebx + 0x12c], 0x8000000
je 0x48a160
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
or esi, 2
or edx, 0x4000002
or al, 0x10
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
mov dword [ebx + 0x128], eax
jmp 0x48a424
mov eax, dword [ebx + 0x128]
test al, 2
jne 0x48a160
test ah, 4
je 0x48a41c
test dword [ebx + 0x12c], 0x8000000
je 0x48a160
mov eax, dword [ebp - 8]
or al, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
cmp eax, 6
ja case.default.0x48a61b
jmp dword [eax*4 + 0x48c220]
test byte [ebx + 0x128], 0x10
je case.0x48a433.0
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebx + 0x128], 0x10
je case.0x48a433.2
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x128]
test al, 2
je 0x48a47a
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
or al, 0x20
mov dword [ebx + 0x128], eax
mov ecx, dword [edx + 0x28]
cmp ecx, 5
jne 0x48a48e
or al, 0x40
jmp 0x48a495
cmp ecx, 6
jne case.0x48a433.0
or al, 0x80
mov dword [ebx + 0x128], eax
mov eax, dword [edx + 0x34]
cmp eax, 4
ja case.default.0x48a4b1
mov esi, 0x200
mov ecx, 0x20000000
jmp dword [eax*4 + 0x48c23c]
mov eax, dword [ebx + 0x128]
test ah, 0x30
jne 0x48a4fd
or ah, 1
mov dword [ebx + 0x128], eax
jmp 0x48a552
mov eax, dword [ebx + 0x128]
test al, 0x10
je 0x48a48a
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x128]
test al, 0x10
je 0x48a493
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
test dword [ebx + 0x130], 0x2000
jne 0x48a537
or eax, esi
mov dword [ebx + 0x128], eax
jmp 0x48a552
mov eax, dword [ebx + 0x128]
or ah, 1
mov dword [ebx + 0x128], eax
jmp 0x48a552
mov eax, dword [ebx + 0x130]
test ah, 0x20
jne 0x48a537
or dword [ebx + 0x128], esi
jmp 0x48a552
mov eax, dword [ebx + 0x12c]
or eax, ecx
jmp 0x48a54c
mov eax, dword [ebx + 0x12c]
or eax, 0x40000000
mov dword [ebx + 0x12c], eax
mov al, byte [edx + 0x4c]
mov byte [ebx + 0x11c], al
mov eax, dword [edx + 0x4c]
cmp eax, 7
ja case.default.0x48a61b
jmp dword [eax*4 + 0x48c250]
mov eax, dword [ebx + 0x128]
test ah, 0x31
je case.0x48a567.0
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x11c], 4
mov cl, byte [edx + 0x18]
mov byte [ebx + 0x11e], cl
mov eax, dword [edx + 0x18]
test eax, eax
je 0x48a5c3
jle 0x48a5a3
cmp eax, 3
jle 0x48a60f
mov eax, dword [ebx + 0x12c]
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x2c2
add eax, 0xc0000030
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x12c]
test ecx, 0x8000000
je 0x48a5ea
mov eax, dword [ebx + 0x128]
test ah, 0x10
je 0x48a5ea
test ah, 1
je 0x48a5ea
mov byte [ebx + 0x11e], 2
jmp 0x48a60f
mov al, byte [ebx + 0x11c]
cmp al, 1
je 0x48a608
cmp al, 4
je 0x48a608
test dword [ebx + 0x128], esi
jne 0x48a608
test ecx, 0x60000000
je 0x48a60f
mov byte [ebx + 0x11e], 3
mov eax, dword [edx + 0x40]
cmp eax, 3
ja case.default.0x48a61b
jmp dword [eax*4 + 0x48c270]
mov ecx, dword [ebx + 0x128]
test ch, 0x20
jne 0x48a69b
mov byte [ebx + 0x11d], 1
jmp 0x48a6a2
mov ecx, dword [ebx + 0x128]
test ch, 0x10
je 0x48a65b
mov al, byte [ebx + 0x11c]
cmp al, 1
je 0x48a65b
test al, al
je 0x48a65b
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
test ch, 0x20
je 0x48a62d
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x128]
test ch, 0x20
je 0x48a683
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x11d], 2
jmp 0x48a6a2
mov ecx, dword [ebx + 0x128]
test ch, 0x14
jne 0x48a160
mov byte [ebx + 0x11d], 3
mov al, byte [ebx + 0x11d]
cmp al, 2
je 0x48a6b1
test ch, 0x10
je 0x48a6b8
or dword [ebp - 4], 0x10000000
mov edi, dword [edx + 0x4c]
test edi, edi
jne 0x48a70a
cmp al, 2
je 0x48a703
cmp al, 3
je 0x48a703
test ch, 0x30
jne 0x48a703
test dword [ebx + 0x12c], 0x60000000
jne 0x48a6fa
test esi, ecx
je 0x48a6e5
mov byte [ebx + 0x11c], 4
jmp 0x48a70a
cmp byte [ebx + 0x11e], 3
setne dl
add edx, 5
mov byte [ebx + 0x11c], dl
jmp 0x48a70a
mov byte [ebx + 0x11c], 5
jmp 0x48a70a
mov byte [ebx + 0x11c], 1
cmp al, 2
je 0x48a717
cmp al, 3
je 0x48a717
test ch, 0x30
je 0x48a72c
cmp byte [ebx + 0x11c], 1
je 0x48a72c
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x12c]
mov edx, esi
and edx, 0x20000000
je 0x48a756
test ch, 0xc
je 0x48a756
cmp byte [ebx + 0x11c], 5
je 0x48a756
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebx + 0x11c]
cmp al, 4
jne 0x48a775
cmp byte [ebx + 0x11e], 3
je 0x48a775
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x10]
or edi, 1
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x50], 0
jne 0x48a78f
test esi, 0x8000000
je 0x48a7b0
or ecx, 4
mov dword [ebx + 0x128], ecx
mov ecx, dword [ebx + 0x130]
and ecx, 0xfffffffe
mov dword [ebx + 0x130], ecx
mov ecx, dword [ebp - 0x10]
or ecx, 2
mov dword [ebp - 0x10], ecx
mov ecx, dword [edi + 0xc]
sub ecx, 0
je 0x48a7eb
dec ecx
je 0x48a809
dec ecx
je 0x48a7da
mov eax, esi
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x20d
add eax, 0xc0000030
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x128]
or ch, 0x40
mov dword [ebx + 0x128], ecx
jmp 0x48a809
mov ecx, dword [ebx + 0x128]
mov edi, ecx
and ch, 0xbf
not edi
shr edi, 8
and edi, 0x4000
or edi, ecx
mov dword [ebx + 0x128], edi
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x48]
test edi, edi
jne 0x48a8ed
cmp al, 1
je 0x48a8d1
mov ecx, dword [ebx + 0x128]
test ch, 0x10
jne 0x48a8d1
test edx, edx
jne 0x48a8af
test esi, 0x40000000
jne 0x48a8af
test esi, 0x8000000
je 0x48a866
test ch, 1
je 0x48a866
mov eax, 0x400
or ch, 0x80
mov dword [ebx + 0xb4], eax
mov dword [ebx + 0xb8], eax
mov dword [ebx + 0x128], ecx
jmp 0x48a99f
test ch, 2
je 0x48a88d
or ch, 0x80
mov dword [ebx + 0xb4], 0x800
mov dword [ebx + 0xb8], 0x1fe
mov dword [ebx + 0x128], ecx
jmp 0x48a99f
or ch, 0x80
mov dword [ebx + 0xb4], 0x85
mov dword [ebx + 0xb8], 0x84
mov dword [ebx + 0x128], ecx
jmp 0x48a99f
or ch, 0x80
mov dword [ebx + 0xb4], 0x400
mov dword [ebx + 0xb8], 0x10000
mov dword [ebx + 0x128], ecx
jmp 0x48a99f
mov eax, esi
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x21c
add eax, 0xc0000025
mov esp, ebp
pop ebp
ret
test esi, 0x8000000
je 0x48a90b
cmp edi, 1
jl 0x48a8ff
cmp edi, 0xfffffffa
jbe 0x48a90b
pop edi
pop esi
mov eax, 0xc0000245
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jle 0x48c125
mov ecx, dword [ebx + 0x128]
mov dword [ebx + 0xb8], edi
test ch, 2
je 0x48a938
test ecx, case.0x485aa7.5
jne 0x48a938
mov edx, dword [ebp + 8]
cmp dword [edx + 0x78], 0
jne 0x48a938
shl edi, 2
movsx edx, al
dec edx
cmp edx, 6
ja case.default.0x48a941
jmp dword [edx*4 + 0x48c280]
add edi, 4
jmp case.0x48a941.1
add edi, 8
jmp case.0x48a941.1
test esi, 0x40000000
je case.0x48a941.1
or ch, 0x80
mov edi, 0x400
mov dword [ebx + 0xb8], 0x10000
mov dword [ebx + 0x128], ecx
jmp case.0x48a941.1
cmp byte [ebx + 0x11e], 3
jne case.0x48a941.1
inc edi
jmp case.0x48a941.1
push 0x5d7
push 0x4bf0ec
push 2
push 0xc0000008
call fcn.00482080
add esp, 0x10
mov dword [ebx + 0xb4], edi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
test eax, eax
je 0x48a9b5
mov dword [ebx + 0x44], eax
mov al, byte [edx + 8]
mov byte [ebx + 0x11f], al
mov ecx, dword [edx + 0x3c]
mov dword [ebx + 0x98], ecx
mov eax, dword [edx + 0x6c]
test eax, eax
je 0x48a9f0
mov ecx, dword [ebx + 0x128]
test ch, 1
jne 0x48a9f0
mov eax, dword [ebx + 0x12c]
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x2c0
add eax, 0xc000002e
mov esp, ebp
pop ebp
ret
cmp eax, 3
ja case.default.0x48a9f9
jmp dword [eax*4 + 0x48c29c]
mov byte [ebx + 0x121], 0
jmp 0x48aa19
mov byte [ebx + 0x121], 0x27
jmp 0x48aa19
mov byte [ebx + 0x121], 0x22
mov eax, dword [edx + 0x70]
test eax, eax
je 0x48aa4b
mov ecx, dword [ebx + 0x128]
test ch, 1
jne 0x48aa4b
mov eax, dword [ebx + 0x12c]
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x2c2
add eax, 0xc000002e
mov esp, ebp
pop ebp
ret
sub eax, 0
je 0x48aa86
dec eax
je 0x48aa76
dec eax
je 0x48aa86
mov eax, dword [ebx + 0x12c]
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x2c1
add eax, 0xc0000030
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x12c]
and al, 0x7f
mov dword [ebx + 0x12c], eax
jmp 0x48aaa0
mov eax, dword [ebx + 0x12c]
mov ecx, eax
and al, 0x7f
shr ecx, 1
and ecx, 0x80
or ecx, eax
mov dword [ebx + 0x12c], ecx
mov eax, dword [edx + 0x74]
test eax, eax
je 0x48aae5
jle 0x48aac5
cmp eax, 3
jg 0x48aac5
mov eax, dword [ebx + 0x128]
test ah, 0x30
je 0x48aae5
pop edi
pop esi
mov eax, 0xc000002e
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x12c]
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x2bc
add eax, 0xc0000030
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x8c]
cmp eax, 5
ja case.default.0x48aaf9
mov ecx, 0xfffffffb
jmp dword [eax*4 + 0x48c2ac]
mov eax, dword [edx + 0x50]
test eax, eax
jne 0x48ab17
test dword [ebx + 0x12c], 0x8000000
je 0x48abb4
mov ecx, dword [ebx + 0x128]
mov eax, dword [ebx + 0x130]
or ecx, 4
or al, 1
mov dword [ebx + 0x128], ecx
jmp 0x48abcc
mov ecx, dword [ebx + 0x130]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebx + 0x128]
and ecx, 0xfffffff1
or al, 2
or edi, 4
or ecx, 1
mov dword [ebp - 0x10], eax
mov dword [ebx + 0x128], edi
mov dword [ebx + 0x130], ecx
jmp 0x48abd2
mov eax, dword [ebp - 0x10]
mov edi, dword [ebx + 0x128]
and al, 0xfe
and edi, ecx
or al, 2
mov dword [ebx + 0x128], edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x130]
and al, 0xf2
or al, 2
jmp 0x48abcc
mov edi, dword [ebx + 0x128]
mov eax, dword [ebp - 0x10]
and edi, ecx
mov ecx, dword [ebx + 0x130]
and ecx, 0xfffffff4
and al, 0xfc
or ecx, 4
mov dword [ebp - 0x10], eax
mov dword [ebx + 0x128], edi
mov dword [ebx + 0x130], ecx
jmp 0x48abd2
mov eax, dword [ebp - 0x10]
and al, 0xfd
mov dword [ebp - 0x10], eax
mov edi, dword [ebx + 0x128]
mov eax, dword [ebx + 0x130]
and edi, ecx
and al, 0xf8
mov dword [ebx + 0x128], edi
or al, 8
mov dword [ebx + 0x130], eax
mov eax, dword [ebx + 0x128]
test ah, 1
je 0x48ac1d
test ah, 0xc
jne 0x48ac0e
test ah, 0x10
je 0x48abf6
mov dword [ebx + 0x100], 2
jmp 0x48acb4
test ah, 0x20
je 0x48acb4
mov dword [ebx + 0x100], 8
jmp 0x48acb4
mov dword [ebx + 0x100], 3
jmp 0x48acb4
test ah, 2
jne 0x48ac6b
mov ecx, dword [ebx + 0x12c]
test ecx, 0x20000000
jne 0x48ac6b
test ecx, 0x40000000
je 0x48acb4
test ah, 0xc
jne 0x48ac5f
test ah, 0x10
je 0x48ac4e
mov dword [ebx + 0x100], 4
jmp 0x48acb4
test ah, 0x20
je 0x48acb4
mov dword [ebx + 0x100], 0xa
jmp 0x48acb4
mov dword [ebx + 0x100], 5
jmp 0x48acb4
test ah, 0xc
jne 0x48ac92
test ah, 0x10
je 0x48ac81
mov dword [ebx + 0x100], 6
jmp 0x48acb4
test ah, 0x20
je 0x48acb4
mov dword [ebx + 0x100], 9
jmp 0x48acb4
test dword [ebx + 0x12c], 0x20000000
je 0x48acaa
mov dword [ebx + 0x100], 7
jmp 0x48acb4
mov dword [ebx + 0x100], 0xb
mov eax, dword [edx + 0x80]
test eax, eax
mov eax, dword [0x3f5a180]
je 0x48acd3
test eax, eax
jne 0x48acd3
pop edi
pop esi
mov eax, 0xc0000232
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 0x90]
test ecx, ecx
je 0x48acf8
test eax, eax
jne 0x48aced
pop edi
pop esi
mov eax, 0xc0000234
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [edx + 0x94]
mov dword [ebp - 0x18], esi
jmp 0x48acfb
mov esi, dword [ebp - 0x18]
test eax, eax
jne 0x48ad51
lea ecx, [ebp - 0x150]
push 0x4bf110
push ecx
call fcn.0049f130
add esp, 8
test eax, eax
jne 0x48ad51
mov edx, dword [0x4bf118]
lea edi, [ebp - 0x150]
or ecx, 0xffffffff
mov dword [ebp - 0x150], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebx + 0x50]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x18]
mov word [ebx + 0x11a], 3
mov ecx, dword [ebp + 8]
mov edi, 0xfffeffff
mov eax, dword [ecx + 0x98]
sub eax, 0
je 0x48ad76
dec eax
je 0x48adae
dec eax
je 0x48ad81
pop edi
pop esi
mov eax, 0xc0000030
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x130]
test ah, 0x80
je 0x48adb4
mov eax, dword [ebx + 0x128]
test ah, 0x10
jne 0x48adae
lea edx, [ebp - 0x150]
push edx
push ebx
call fcn.00472700
add esp, 8
cmp eax, 0xffffffff
jne 0x48adae
mov eax, dword [ebx + 0x130]
or eax, 0x10000
jmp 0x48adb6
mov eax, dword [ebx + 0x130]
and eax, edi
push str.FORT_BUFFERED
mov dword [ebx + 0x130], eax
call fcn.004884f0
add esp, 4
test eax, eax
je 0x48adfc
mov eax, dword [ebx + 0x128]
test ah, 0x10
jne 0x48adee
cmp dword [ebx + 0x100], 1
je 0x48adee
mov eax, dword [ebx + 0x130]
or eax, 0x10000
jmp 0x48adf6
mov eax, dword [ebx + 0x130]
and eax, edi
mov dword [ebx + 0x130], eax
lea eax, [ebp - 0x150]
push eax
push ebx
call fcn.00472700
mov ecx, eax
add esp, 8
cmp ecx, 0xffffffff
mov dword [ebp - 0x30], ecx
je 0x48ae78
mov eax, dword [ebx + 0x100]
sub eax, 3
je 0x48ae4d
sub eax, 2
je 0x48ae57
mov eax, dword [ebx + 0x12c]
test eax, 0x8000000
je 0x48ae78
and eax, 0x10000000
pop edi
neg eax
sbb eax, eax
pop esi
and eax, 0x1f6
pop ebx
add eax, 0xc0000033
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x100], 1
test dword [ebx + 0x12c], 0x8000000
je 0x48ae78
mov eax, dword [ebx + 0x128]
mov dword [ebp - 8], 3
or al, 8
mov dword [ebx + 0x128], eax
mov eax, dword [0x3f5a180]
test eax, eax
jne 0x48ae93
cmp ecx, 0xfffffffa
jne 0x48aed0
mov ecx, 1
mov dword [ebp - 0x30], ecx
jmp 0x48afa8
cmp ecx, 0xfffffffa
je 0x48aed0
cmp ecx, 1
je 0x48aead
test esi, esi
je 0x48aead
pop edi
pop esi
mov eax, 0xc0000234
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 0xfffffffa
je 0x48aed0
cmp ecx, 1
je 0x48aed0
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x80]
test edx, edx
je 0x48aed3
pop edi
pop esi
mov eax, 0xc0000232
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
cmp ecx, 0xfffffffc
jne 0x48afa4
cmp word [ebx + 0x11a], 4
jge 0x48af11
mov ecx, dword [ebx + 0x50]
lea edi, [ebx + 0x50]
push ecx
call fcn.00481c10
add esp, 4
test eax, eax
jne 0x48c1ca
push edi
push eax
push 5
call fcn.00481ba0
add esp, 0xc
test eax, eax
jne 0x48c1ca
mov al, byte [0x4bf130]
mov edx, dword [0x4bf12c]
mov byte [ebp - 0x14c], al
lea edi, [ebp - 0x150]
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp - 0x150], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebx + 0x50]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp + 8]
mov word [ebx + 0x11a], 4
mov eax, dword [0x3f5a180]
test eax, eax
je 0x48b0c6
cmp ecx, 0xfffffffa
jne 0x48b0c6
mov edx, dword [ebx + 0x130]
mov dword [ebp - 0x28], 0
or edx, 0x40
mov dword [ebx + 0x130], edx
mov ecx, dword [edi + 0x80]
test ecx, ecx
mov eax, edx
je 0x48afe3
mov ecx, dword [edi + 0x84]
test ecx, ecx
jne 0x48afe3
and al, 0x7f
jmp 0x48afe5
test ecx, ecx
jl 0x48af5e
cmp dword [ebx + 0x100], 1
jne 0x48b0c6
cmp ecx, 1
je 0x48afc7
cmp ecx, 2
je 0x48afc7
test ecx, ecx
jne 0x48b0c6
mov ecx, dword [ebx + 0x130]
and eax, 1
shl eax, 6
and ecx, 0xffffffbf
or eax, ecx
mov dword [ebx + 0x130], eax
jmp 0x48b0c6
or al, 0x80
test esi, esi
mov dword [ebx + 0x130], eax
jne 0x48aff4
mov esi, 0x100
lea edx, [ebp - 0x2c]
lea eax, [esi + 1]
push edx
push 0
push eax
call fcn.00481ba0
add esp, 0xc
test eax, eax
jne 0x48c1ca
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x48b032
mov ecx, dword [ebx + 0xbc]
mov edx, dword [ebp - 0x2c]
push ecx
push str.Unit__i
push edx
call fcn.0049f05c
add esp, 0xc
jmp 0x48b04d
mov eax, dword [edi + 0x90]
mov ecx, dword [ebp - 0x2c]
push esi
push eax
push ecx
call fcn.0049ed90
mov edx, dword [ebp - 0x2c]
add esp, 0xc
mov byte [edx + esi], 0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004aa240
add esp, 4
cmp eax, 0xffffffff
mov dword [ebx + 0xa8], eax
jne 0x48b084
mov eax, dword [ebx + 0x12c]
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x24f
add eax, 0xc0000009
mov esp, ebp
pop ebp
ret
test byte [ebx + 0x130], 0x80
je 0x48b0b2
push eax
call fcn.004aa240
mov ecx, dword [ebx + 0xa8]
push ecx
call fcn.004aa240
add esp, 8
test eax, eax
jne 0x48b0b2
pop edi
pop esi
mov eax, 0xc000028e
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00481c10
add esp, 4
test eax, eax
jne 0x48c1ca
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
test eax, eax
je 0x48b166
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x48b143
mov ecx, dword [ebx + 0xbc]
lea edi, [ebp - 0x150]
mov dword [ebp - 0x34], ecx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
mov eax, dword [ebx + 0x128]
mov dword [ebp - 0x18], 0
not ecx
dec ecx
or eax, 0x20000
mov dword [ebx + 0x128], eax
mov eax, dword [edx + 0x64]
push ecx
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x18]
push ecx
push edx
lea ecx, [ebp - 4]
lea edx, [ebp - 8]
push ecx
push edx
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x10]
push ecx
push edx
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x150]
push ecx
push edx
call eax
add esp, 0x24
jmp 0x48b160
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
push 0
push eax
mov eax, dword [ebp - 0x14]
push ecx
push 0
push edx
lea ecx, [ebp - 0x150]
push eax
push ecx
call esi
mov dword [ebx + 0xa8], eax
mov eax, dword [ebx + 0xa8]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x48b263
mov eax, dword [ebx + 0x128]
test eax, 0x400000
jne 0x48b263
test al, 2
jne 0x48b263
test byte [ebx + 0x12c], 0x40
jne 0x48b263
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x48b263
call edi
cmp eax, 5
je 0x48b1c8
cmp eax, 0x13
je 0x48b1c8
test dword [ebx + 0x12c], 0x8000000
je 0x48b263
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push 0
and eax, 0x3fffffff
push edx
mov edx, dword [ebp - 0x10]
push ecx
or eax, 0x80000000
push 0
push edx
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0x150]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebx + 0xa8], eax
jne 0x48b243
test dword [ebx + 0x12c], 0x8000000
je 0x48b243
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
push 0
and eax, 0x3fffffff
push ecx
mov ecx, dword [ebp - 0x10]
push edx
or eax, 0x40000000
push 0
push ecx
lea edx, [ebp - 0x150]
push eax
push edx
mov dword [ebp - 0x14], eax
call esi
mov dword [ebx + 0xa8], eax
mov eax, dword [ebx + 0x12c]
or al, 0x40
jmp 0x48b25d
mov ecx, dword [ebx + 0x128]
mov eax, dword [ebx + 0x12c]
or ecx, 2
or eax, 0x400000
mov dword [ebx + 0x128], ecx
mov dword [ebx + 0x12c], eax
mov ecx, dword [ebx + 0xa8]
cmp ecx, 0xffffffff
jne 0x48b30a
call edi
lea esi, [eax - 2]
cmp esi, 0xcc
ja case.0x48b28b.8
xor ecx, ecx
mov cl, byte [esi + 0x48c2e0]
jmp dword [ecx*4 + 0x48c2c4]
mov eax, dword [ebx + 0x12c]
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x23d
add eax, 0xc000001d
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xc000002b
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x12c]
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x24f
add eax, 0xc000000a
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xc000002a
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x12c]
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x23d
add eax, 0xc000001e
mov esp, ebp
pop ebp
ret
mov eax, dword [0x3f5a180]
test eax, eax
je 0x48b330
mov eax, dword [ebp - 0x30]
cmp eax, 1
je 0x48b329
test eax, eax
je 0x48b329
cmp eax, 2
je 0x48b329
cmp eax, 0xfffffffa
jne 0x48b330
mov eax, 2
jmp 0x48b337
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov cl, byte [ebx + 0x11e]
test cl, cl
jne 0x48b40e
cmp byte [ebx + 0x11c], 1
jne 0x48b37a
test dword [ebx + 0x12c], 0x8000000
je 0x48b36e
mov ecx, dword [ebx + 0x128]
test ch, 0x10
je 0x48b36e
test ch, 1
jne 0x48b407
mov byte [ebx + 0x11e], 3
jmp 0x48b40e
mov ecx, dword [ebx + 0x130]
test ecx, 0x600000
je 0x48b3b8
mov edx, dword [ebx + 0xbc]
cmp edx, 6
je 0x48b39d
cmp edx, 0xffffffff
je 0x48b39d
cmp edx, 0xfffffffe
jne 0x48b3b8
shr ecx, 0x15
and ecx, 3
dec ecx
je 0x48b3dd
dec ecx
je 0x48b407
dec ecx
je 0x48b36e
pop edi
pop esi
mov eax, 0xc0000030
pop ebx
mov esp, ebp
pop ebp
ret
test dword [ebx + 0x12c], 0x8000000
je 0x48b3e6
cmp dword [ebx + 0x100], 1
je 0x48b3dd
mov ecx, dword [ebx + 0x128]
test ch, 1
je 0x48b407
cmp eax, 2
jne 0x48b407
mov byte [ebx + 0x11e], 1
jmp 0x48b40e
mov ecx, dword [ebx + 0x128]
test ch, 1
je 0x48b407
cmp eax, 2
jne 0x48b407
test ecx, 0x400000
je 0x48b407
mov byte [ebx + 0x11e], 1
jmp 0x48b40e
mov byte [ebx + 0x11e], 2
mov cl, byte [ebx + 0x11e]
cmp cl, 3
je 0x48b428
cmp byte [ebx + 0x11c], 1
je 0x48b428
inc dword [ebx + 0xb4]
cmp cl, 1
jne 0x48b43d
cmp byte [ebx + 0x11c], 1
je 0x48b43d
add dword [ebx + 0xb4], 5
mov ecx, dword [ebx + 0x128]
test ecx, 0x400000
je 0x48b45f
test ch, 0x10
je 0x48b45f
cmp byte [ebx + 0x11d], 2
jne 0x48b45f
inc dword [ebx + 0xb4]
test dword [ebx + 0x12c], 0x8000000
je 0x48b47c
test ch, 0x10
je 0x48b47c
test ch, 1
je 0x48b47c
add dword [ebx + 0xb4], 2
cmp eax, 1
jne 0x48b489
or ecx, 0x800000
jmp 0x48b48f
and ecx, 0xff7fffff
mov eax, ecx
mov dword [ebx + 0x128], ecx
test ah, 1
mov esi, 0xfff7ffff
je 0x48b563
push ebx
call fcn.00497100
add esp, 4
test eax, eax
jne 0x48c1ca
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x48b563
xor ecx, ecx
mov cl, byte [eax + 0x1e]
test ecx, ecx
je 0x48b563
mov edi, dword [eax + 0xc]
test byte [edi + 0x12c], 4
je 0x48b50b
cmp byte [edi + 0x11e], 1
jne 0x48b50b
mov eax, dword [edi + 0x28]
mov cl, byte [eax + 5]
cmp cl, 0x20
jne 0x48b4f4
mov byte [eax + 5], 0x24
jmp 0x48b4fd
cmp cl, 0x2b
jne 0x48b4fd
mov byte [eax + 5], 0
mov eax, dword [edi + 0x12c]
and al, 0xfb
mov dword [edi + 0x12c], eax
push edi
call fcn.00488a00
mov ecx, dword [ebx + 0x7c]
add esp, 4
test ecx, ecx
je 0x48b51f
mov byte [ecx + 0x1e], 0
test eax, eax
je 0x48b537
push edi
push eax
push eax
push 1
call fcn.004820b0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x90]
mov eax, dword [edi + 0x12c]
add edx, 1
mov dword [edi + 0x90], edx
mov ecx, dword [edi + 0x94]
adc ecx, 0
and eax, esi
mov dword [edi + 0x94], ecx
mov dword [edi + 0x12c], eax
mov eax, dword [ebx + 0x128]
test ah, 0x10
je 0x48b581
test eax, 0x800000
jne 0x48b581
pop edi
pop esi
mov eax, 0xc0000033
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x28]
test eax, eax
je case.default.0x48b5e7
mov edx, dword [ebp + 8]
cmp dword [edx + 0x54], 5
jne 0x48b5d8
mov eax, dword [ebx + 0xa8]
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x48b5b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xac], eax
mov edi, 0xc0000026
mov ecx, dword [ebx + 0x128]
and ecx, 0x7fffffff
test edi, edi
mov dword [ebx + 0x128], ecx
je 0x48b5d8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x74]
cmp eax, 3
ja case.default.0x48b5e7
jmp dword [eax*4 + 0x48c3b0]
or dword [ebx + 0x12c], 0x80000
jmp case.default.0x48b5e7
mov ecx, dword [ebx + 0x128]
mov eax, dword [ebx + 0x12c]
and ch, 0xfb
and eax, esi
mov dword [ebx + 0x90], 1
mov dword [ebx + 0x128], ecx
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x12c], eax
jmp case.default.0x48b5e7
mov eax, dword [ecx + 0x54]
mov edi, 5
cmp eax, edi
jne 0x48b666
mov eax, dword [ebx + 0x12c]
mov dword [ebx + 0x90], 0x80000000
and eax, esi
mov dword [ebx + 0x94], 0xffffffff
mov dword [ebx + 0x12c], eax
jmp case.default.0x48b5e7
test dword [ebx + 0x128], 0x800000
je case.default.0x48b5e7
mov ecx, dword [ebx + 0xa8]
mov esi, 2
push esi
push 0
push 0
push ecx
call fcn.00480400
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x48b6c5
mov edx, dword [ebx + 0xa8]
push edx
call fcn.004803b0
add esp, 4
or eax, edx
je case.default.0x48b5e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [ebx + 0xac], eax
pop esi
mov eax, 0xc0000078
js 0x48b6be
add al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x12c]
mov ecx, dword [ebx + 0x128]
mov eax, dword [ebx + 0x100]
and edx, 0xfff7ffff
and ch, 0xfb
mov dword [ebx + 0x90], 0x80000000
cmp eax, edi
mov dword [ebx + 0x94], 0xffffffff
mov dword [ebx + 0x12c], edx
mov dword [ebx + 0x128], ecx
je case.default.0x48b5e7
mov al, byte [ebx + 0x11c]
movsx ecx, al
dec ecx
cmp ecx, 6
ja case.default.0x48b71b
jmp dword [ecx*4 + 0x48c3c0]
mov eax, dword [ebx + 0xa8]
push eax
call fcn.004803b0
mov ecx, dword [ebx + 0xa8]
push 1
push 0xffffffffffffffff
push 0xfffffffffffffff7
push ecx
mov edi, eax
mov esi, edx
call fcn.00480400
mov ecx, eax
add esp, 0x14
and ecx, edx
cmp ecx, 0xffffffff
je 0x48bddc
sub edi, eax
sbb esi, edx
cmp edi, 9
jne 0x48bddc
test esi, esi
jne 0x48bddc
test byte [ebx + 0x12c], 0x40
je 0x48b7ff
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x64]
test eax, eax
jne 0x48b7ff
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push esi
push eax
push ecx
push esi
push 3
lea edx, [ebp - 0x150]
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x48b7bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xac], eax
pop edi
pop esi
mov eax, 0xc000001e
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push 0xffffffffffffffff
push 0xfffffffffffffff7
push edi
call fcn.00480400
add esp, 0x10
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x24]
push 0
push eax
push 9
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebx + 0xa8]
push 2
push 0
push 0
push edx
call fcn.00480400
add esp, 0x10
jmp 0x48b81a
mov edx, dword [ebx + 0xa8]
lea eax, [ebp + 0xc]
push 0
push eax
lea ecx, [ebp - 0x24]
push 9
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x48b7a5
cmp dword [ebp + 0xc], 9
je 0x48b836
mov eax, dword [ebx + 0xa8]
push 2
push 0
push 0
push eax
jmp 0x48bde9
test byte [ebx + 0x12c], 2
je 0x48b873
mov eax, dword [ebp - 0x1f]
mov ecx, dword [ebp - 0x1e]
mov edx, dword [ebp - 0x1d]
and eax, 0xff
shl eax, 8
and ecx, 0xff
and edx, 0xff
or eax, ecx
mov ecx, dword [ebp - 0x1c]
shl eax, 8
or eax, edx
and ecx, 0xff
shl eax, 8
or eax, ecx
jmp 0x48b8a5
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1d]
mov ecx, dword [ebp - 0x1e]
and eax, 0xff
shl eax, 8
and edx, 0xff
and ecx, 0xff
or eax, edx
mov edx, dword [ebp - 0x1f]
shl eax, 8
or eax, ecx
and edx, 0xff
shl eax, 8
or eax, edx
cmp eax, 1
jne case.default.0x48b5e7
cmp byte [ebp - 0x20], 0x1a
jne case.default.0x48b5e7
push 1
push 0xffffffffffffffff
push 0xfffffffffffffff7
jmp 0x48bdc1
cmp al, 7
mov dword [ebp - 0xc], 3
jne 0x48b8d7
cmp byte [ebx + 0x11e], 3
je 0x48b8f0
cmp al, 5
jne 0x48b8f3
mov al, byte [ebx + 0x11e]
cmp al, 3
jne 0x48b8ec
mov dword [ebp - 0xc], 1
cmp al, 2
jne 0x48b8f3
mov dword [ebp - 0xc], esi
mov edx, dword [ebx + 0xa8]
push edx
call fcn.004803b0
mov edi, eax
mov eax, dword [ebp - 0xc]
neg eax
mov esi, edx
push 1
cdq
push edx
mov dword [ebp - 0x38], eax
push eax
mov eax, dword [ebx + 0xa8]
push eax
mov dword [ebp - 0x34], edx
call fcn.00480400
mov ecx, eax
add esp, 0x14
and ecx, edx
cmp ecx, 0xffffffff
je 0x48bddc
mov ecx, dword [ebp - 0xc]
sub edi, eax
sbb esi, edx
xor eax, eax
cmp edi, ecx
jne 0x48bddc
cmp esi, eax
jne 0x48bddc
test byte [ebx + 0x12c], 0x40
je 0x48ba1d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x64]
test eax, eax
jne 0x48ba1d
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push 0
push eax
push ecx
push 0
push 3
lea edx, [ebp - 0x150]
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x48b9d5
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x20
mov dword [ebx + 0xac], eax
jne 0x48b7b1
mov eax, dword [ebx + 0xa8]
push 2
push 0
push 0
push eax
call fcn.00480400
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x48bdfc
call esi
pop edi
mov dword [ebx + 0xac], eax
pop esi
mov eax, 0xc0000078
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
push 2
push ecx
push edx
push esi
call fcn.00480400
mov ecx, dword [ebp - 0xc]
add esp, 0x10
lea eax, [ebp + 0xc]
lea edx, [ebp - 0x24]
push 0
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0xa8]
push 2
push 0
push 0
push eax
call fcn.00480400
add esp, 0x10
jmp 0x48ba3a
mov edx, dword [ebp - 0xc]
lea ecx, [ebp + 0xc]
push 0
push ecx
mov ecx, dword [ebx + 0xa8]
lea eax, [ebp - 0x24]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test edi, edi
je 0x48b7a5
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
cmp edx, eax
je 0x48ba5e
mov eax, dword [ebx + 0xa8]
push 2
push 0
push 0
push eax
jmp 0x48bde9
cmp byte [ebp - 0x24], 0x1a
jne case.default.0x48b5e7
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
push 1
push ecx
push edx
jmp 0x48bdc1
mov edx, dword [ebx + 0xa8]
push edx
call fcn.004803b0
mov edi, eax
mov eax, dword [ebx + 0xa8]
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffc
push eax
mov esi, edx
call fcn.00480400
mov ecx, eax
add esp, 0x14
and ecx, edx
cmp ecx, 0xffffffff
je 0x48b824
sub edi, eax
sbb esi, edx
cmp edi, 4
jne 0x48b824
test esi, esi
jne 0x48b824
test byte [ebx + 0x12c], 0x40
je 0x48bb3b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x64]
test eax, eax
jne 0x48bb3b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push esi
push eax
push ecx
push esi
push 3
lea edx, [ebp - 0x150]
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x48b7a5
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffc
push edi
call fcn.00480400
add esp, 0x10
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x24]
push esi
push eax
push 4
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebx + 0xa8]
push 2
push 0
push 0
push edx
call fcn.00480400
add esp, 0x10
jmp 0x48bb56
mov edx, dword [ebx + 0xa8]
lea eax, [ebp + 0xc]
push 0
push eax
lea ecx, [ebp - 0x24]
push 4
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x48b7a5
cmp dword [ebp + 0xc], 4
je 0x48bb76
mov eax, dword [ebx + 0xa8]
push 2
push 0
push 0
push eax
jmp 0x48bde9
xor ecx, ecx
mov ch, byte [ebp - 0x23]
mov cl, byte [ebp - 0x24]
cmp cx, 1
jne case.default.0x48b5e7
cmp byte [ebp - 0x22], 0x1a
jne case.default.0x48b5e7
mov edx, dword [ebx + 0xa8]
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffc
push edx
jmp 0x48bdc8
mov ecx, dword [ebx + 0xa8]
mov dword [ebp - 0xc], 1
push ecx
call fcn.004803b0
mov esi, edx
mov edx, dword [ebx + 0xb4]
mov edi, eax
mov ecx, dword [ebx + 0xa8]
xor eax, eax
push 1
neg edx
adc eax, eax
neg eax
push eax
push edx
push ecx
call fcn.00480400
mov ecx, eax
add esp, 0x14
and ecx, edx
cmp ecx, 0xffffffff
je 0x48bddc
mov ecx, dword [ebx + 0xb4]
sub edi, eax
sbb esi, edx
xor eax, eax
cmp edi, ecx
jne 0x48bddc
cmp esi, eax
jne 0x48bddc
lea edx, [ebp - 0x18]
push edx
push eax
push ecx
call fcn.00481ba0
add esp, 0xc
test eax, eax
jne 0x48c1ca
test byte [ebx + 0x12c], 0x40
je 0x48bcb0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x48bcb0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
push 0
push ecx
push edx
push 0
push 3
lea eax, [ebp - 0x150]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x48b7a5
mov ecx, dword [ebx + 0xb4]
xor edx, edx
neg ecx
adc edx, edx
push 2
neg edx
push edx
push ecx
push esi
call fcn.00480400
mov ecx, dword [ebx + 0xb4]
mov edx, dword [ebp - 0x18]
add esp, 0x10
lea eax, [ebp + 0xc]
push 0
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0xa8]
push 2
push 0
push 0
push eax
call fcn.00480400
add esp, 0x10
jmp 0x48bcd0
mov edx, dword [ebx + 0xb4]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + 0xc]
push 0
push ecx
mov ecx, dword [ebx + 0xa8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test edi, edi
je 0x48b7a5
mov edx, dword [ebx + 0xb4]
mov eax, dword [ebp + 0xc]
cmp eax, edx
je 0x48bd57
mov edx, dword [ebx + 0xa8]
push 2
push 0
push 0
push edx
call fcn.00480400
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x48b6ad
mov eax, dword [ebx + 0x12c]
mov edi, dword [ebx + 0x128]
and eax, 0xfff7ffff
and edi, 0xfffffbff
mov dword [ebx + 0x12c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x90], 0x80000000
push eax
mov dword [ebx + 0x94], 0xffffffff
mov dword [ebx + 0x128], edi
call fcn.00481c10
add esp, 4
test eax, eax
je case.default.0x48b5e7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x128]
test ah, 2
jne 0x48bd72
test dword [ebx + 0x12c], 0x60000000
jne 0x48bd72
mov cl, 0x20
jmp 0x48bd74
xor cl, cl
mov edi, dword [ebp - 0x18]
cmp byte [edi], 0x1a
je 0x48bd80
xor esi, esi
jmp 0x48bd96
lea eax, [edi + 1]
lea esi, [edx + edi]
cmp eax, esi
jae 0x48bd93
cmp byte [eax], cl
jne 0x48bd7c
inc eax
cmp eax, esi
jb 0x48bd8a
mov esi, dword [ebp - 0xc]
push edi
call fcn.00481c10
add esp, 4
test eax, eax
jne 0x48c1ca
test esi, esi
je case.default.0x48b5e7
mov ecx, dword [ebx + 0xb4]
xor edx, edx
neg ecx
adc edx, edx
push 1
neg edx
push edx
push ecx
mov eax, dword [ebx + 0xa8]
push eax
call fcn.00480400
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne case.default.0x48b5e7
jmp 0x48b7a5
mov ecx, dword [ebx + 0xa8]
push 2
push 0
push 0
push ecx
call fcn.00480400
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x48b6ad
mov ecx, dword [ebx + 0x12c]
mov eax, dword [ebx + 0x128]
and ecx, 0xfff7ffff
and ah, 0xfb
mov dword [ebx + 0x90], 0x80000000
mov dword [ebx + 0x94], 0xffffffff
mov dword [ebx + 0x12c], ecx
mov dword [ebx + 0x128], eax
jmp case.default.0x48b5e7
push 0xc71
push 0x4bf13c
push esi
push 0xc0000008
call fcn.00482080
add esp, 0x10
mov eax, dword [ebx + 0x128]
test ah, 4
je 0x48becb
test eax, 0x800000
je 0x48becb
mov edx, dword [ebx + 0xa8]
push 2
push 0
push 0
push edx
call fcn.00480400
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x48b6ad
cmp dword [ebx + 0x100], 7
jne 0x48bea6
mov eax, dword [ebx + 0xa8]
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
call fcn.00480400
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x48b6ad
mov eax, dword [ebx + 0x12c]
mov dword [ebx + 0x90], 0x80000000
and eax, 0xfff7ffff
mov dword [ebx + 0x94], 0xffffffff
mov dword [ebx + 0x12c], eax
mov eax, dword [ebx + 0x128]
test ah, 4
jne 0x48befe
test eax, 0x800000
je 0x48befe
mov edx, dword [ebx + 0x12c]
mov ecx, 0x8000000
test ecx, edx
je 0x48bef1
test ah, 0x10
jne 0x48bf03
or eax, 0x80000000
mov dword [ebx + 0x128], eax
jmp 0x48bf03
mov ecx, 0x8000000
mov eax, dword [ebx + 0x128]
test ah, 0x80
jne 0x48bf1e
mov dx, word [ebx + 0xb4]
mov word [ebx + 0x118], dx
jmp 0x48bf71
mov al, byte [ebx + 0x11e]
cmp al, 1
mov eax, dword [ebx + 0x12c]
jne 0x48bf59
test ecx, eax
je 0x48bf3d
mov word [ebx + 0x118], 0x50
jmp 0x48bf46
mov word [ebx + 0x118], 0x51
cmp byte [ebx + 0x11c], 1
je 0x48bf71
add word [ebx + 0x118], 4
jmp 0x48bf71
test ecx, eax
je 0x48bf68
mov word [ebx + 0x118], 0x4f
jmp 0x48bf71
mov word [ebx + 0x118], 0x50
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x48bf82
mov dword [esi + 0x14], 1
test dword [ebx + 0x12c], ecx
je 0x48bf99
mov edx, dword [esi + 0x10]
mov eax, 0x7ffffe00
cmp edx, eax
jle 0x48bf99
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x48bfb8
mov eax, dword [ebx + 0x12c]
and eax, ecx
neg eax
sbb eax, eax
and eax, 0xffffe400
add eax, 0x2000
jmp 0x48bfcc
add eax, 0x1ff
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
shl eax, 9
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x14]
imul eax, dword [esi + 0x10]
mov ecx, dword [ebx + 0xb4]
cmp ecx, eax
jbe 0x48bfe2
mov eax, ecx
mov dword [ebx + 0xb0], eax
mov eax, dword [ebx + 0x128]
mov ecx, dword [esi + 0x10]
test ah, 1
mov dword [ebx + 0x104], ecx
je 0x48c02f
lea edx, [ebp + 8]
push edx
push 0
push 0x54
call fcn.00481ba0
add esp, 0xc
test eax, eax
je 0x48c024
push ebx
push eax
push eax
push 1
call fcn.004820b0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov dword [eax], ebx
mov eax, dword [ebx + 0x128]
test ah, 2
jne 0x48c046
test dword [ebx + 0x12c], 0x60000000
je 0x48c058
push esi
push ebx
call fcn.00472150
add esp, 8
test eax, eax
jne 0x48c1ca
mov eax, dword [ebx + 0xb0]
lea esi, [ebx + 0x28]
push esi
push 0
push eax
call fcn.00481ba0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x48c07a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, dword [ebx + 0xb4]
mov dword [ebx + 0x2c], eax
add eax, ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x108], ecx
test eax, eax
je 0x48c0c4
cmp dword [ebx + 0x100], 7
jne 0x48c0c4
mov edx, dword [ebx + 0xa8]
push edx
call fcn.004803b0
add esp, 4
or eax, edx
jne 0x48c0c4
mov eax, dword [ebx + 0x130]
or al, 0x20
mov dword [ebx + 0x130], eax
mov ecx, dword [ebx + 0x128]
mov eax, 1
or ecx, eax
mov dword [ebx + 0x128], ecx
mov dword [0x3f567b0], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x12c]
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x20f
add eax, 0xc0000030
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x12c]
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x2bf
add eax, 0xc0000030
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xc0000025
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x12c]
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x20e
add eax, 0xc0000030
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x12c]
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x20a
add eax, 0xc0000030
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x12c]
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x20c
add eax, 0xc0000030
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x12c]
pop edi
and eax, 0x10000000
pop esi
neg eax
sbb eax, eax
pop ebx
and eax, 0x20b
add eax, 0xc0000030
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x12c]
and eax, 0x10000000
neg eax
sbb eax, eax
and eax, 0x2bd
add eax, 0xc0000030
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add byte [eax], al
add byte [eax], al
add byte [eax], al