Function at 0x4f0a60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea eax, [ebp - 0x10]
push 2
mov dword [ebp - 8], edi
mov edi, dword [ebp + 8]
push edi
push eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
push ebx
mov esi, dword [ebp + 0x14]
call fcn.00506290
add esp, 0x10
mov edx, eax
test edx, edx
je 0x4f0aef
test byte [ebp + 0x10], 1
je 0x4f0ade
movzx ecx, byte [ebp + 0x13]
test ecx, 0x80
je 0x4f0ace
lea esi, [ebp + 0x1f]
and esi, 0xfffffffc
lea ecx, [esi + 4]
test byte [ecx - 4], 0x10
je 0x4f0ace
add esi, 7
and esi, 0xfffffffc
mov ecx, dword [esi]
add esi, 7
and esi, 0xfffffffc
cmp byte [ecx], 0x38
mov esi, dword [esi]
jne 0x4f0ace
cmp byte [ecx + 2], 0x4e
je 0x4f0f95
movzx eax, dx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push str.unknown
push ebx
push 2
push edx
call fcn.004db180
add esp, 0x10
mov eax, dword [ebp - 0x10]
movzx edx, byte [ebp + 0x10]
mov ebx, edx
and ebx, 1
and edx, 2
movzx ecx, byte [eax + 0x16c]
and ecx, 0xfffffffe
or ecx, ebx
xor ebx, ebx
mov byte [eax + 0x16c], cl
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x16c]
and eax, 0xfffffffd
or eax, edx
mov byte [ecx + 0x16c], al
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x84], ebx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xf4], ebx
mov ebx, dword [ebp - 0x10]
movzx eax, byte [ebp + 0x13]
test eax, 0x80
mov edx, dword [ebx + 0xb8]
mov ecx, dword [ebx + 0xbc]
mov dword [ebx + 0xb0], edx
mov dword [ebx + 0xb4], ecx
je 0x4f0bcd
lea eax, [ebp + 0x1f]
and eax, 0xfffffffc
lea edx, [eax + 4]
mov ebx, dword [edx - 4]
test bl, 0x20
je 0x4f0b7a
mov edx, dword [ebp - 0x10]
or byte [edx + 0x173], 0x40
test bl, 0x10
je 0x4f0bcf
add eax, 7
and eax, 0xfffffffc
mov edx, dword [eax]
add eax, 7
and eax, 0xfffffffc
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
movsx eax, byte [edx]
cmp eax, 0x38
je 0x4f18b7
cmp eax, 0xb
je 0x4f169f
cmp eax, 0x38
je 0x4f1074
cmp eax, 1
je 0x4f0bcf
push 0x316
push str.for_rseq_lis.c
push 2
push 8
call fcn.004db180
add esp, 0x10
jmp 0x4f0bcf
xor ebx, ebx
mov eax, dword [ebp - 0x10]
test byte [eax + 0x169], 0x20
je 0x4f1d2d
movzx edx, byte [eax + 0x16b]
test dl, 0x10
je 0x4f0c61
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4f18f2
test byte [edx + 0x44], 2
je 0x4f0c37
mov dword [edx + 0x38], 0x102
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x4f0c25
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x102
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push 0x1f
movzx edx, byte [eax + 0x16c]
push 0x102
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
test byte [eax + 0x16a], 0x40
jne 0x4f0ce0
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4f1911
test byte [edx + 0x44], 2
je 0x4f0cb6
mov dword [edx + 0x38], 0x101
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x4f0ca4
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x101
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push 0x1f
movzx edx, byte [eax + 0x16c]
push 0x101
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
test dl, 8
je 0x4f0d64
test byte [eax + 0x168], 4
jne 0x4f0d64
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4f1930
test byte [edx + 0x44], 2
je 0x4f0d3a
mov dword [edx + 0x38], 0x103
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x4f0d28
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x103
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push 0x1f
movzx edx, byte [eax + 0x16c]
push 0x103
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x5c]
mov ecx, 0x28
mov dword [ebx + 0x28], 0
xor edx, edx
mov dword [ebx + ecx - 4], edx
mov dword [ebx + ecx - 8], edx
mov dword [ebx + ecx - 0xc], edx
mov dword [ebx + ecx - 0x10], edx
mov dword [ebx + ecx - 0x14], edx
sub ecx, 0x14
jne 0x4f0d73
mov dword [ebx], eax
mov eax, dword [ebp - 0x10]
or byte [eax + 0x172], 0x10
mov ecx, dword [ebp - 0x10]
test byte [ecx + 0x16b], 4
je 0x4f0e30
test byte [ecx + 0x16d], 4
jne 0x4f1b2c
mov eax, dword [ecx + 0xc4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0xb0]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0xb4]
mov dword [ebp - 0x18], eax
movzx eax, byte [ecx + 0x16c]
and eax, 8
mov edx, dword [ecx + 0xc0]
cmp eax, 8
mov eax, dword [ebp - 0x28]
je 0x4f194f
mov dword [ebp - 0x1c], ebx
sub eax, edx
mov ebx, dword [ecx + 0x38]
add ebx, dword [ecx + 0xd0]
add ebx, eax
mov dword [ecx + 0x3c], ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x4f0e22
mov edx, dword [eax + 0x3c]
sub ecx, edx
add ecx, dword [eax + 0x38]
mov dword [eax + 0x90], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x3c]
mov dword [eax + 0x50], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x7c]
jmp 0x4f0e33
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x4f0e5c
movzx eax, byte [eax + 0x1f]
test eax, eax
je 0x4f0e5c
mov eax, dword [ecx + 0x3c]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x4f0efd
mov byte [eax + 0x1f], 0
jmp 0x4f0efd
xor eax, eax
push eax
push eax
push ecx
call fcn.005151b0
add esp, 0xc
test eax, eax
je 0x4f0ed4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4f1cf9
test byte [edx + 0x44], 2
je 0x4f0eaf
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4f0ea2
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
add dword [eax + 0x98], 1
adc dword [eax + 0x9c], 0
mov edx, dword [ebp - 0x10]
and byte [edx + 0x16f], 0xfb
mov ecx, dword [ebp - 0x10]
and byte [ecx + 0x16f], 0x7f
or byte [ebx + 0x2a], 0x10
add ebx, 4
push ebx
push 0
push 0x802
call fcn.00505140
add esp, 0xc
test eax, eax
je 0x4f0f7b
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4f1d13
test byte [edx + 0x44], 2
je 0x4f0f56
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4f0f49
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x18]
push esi
push edi
call fcn.004f1f60
add esp, 0xc
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x30]
push ecx
push ebx
call fcn.00505c70
mov edx, dword [ebp - 0x2c]
add esp, 8
test eax, eax
jne 0x4f0ace
mov edi, dword [ebp - 0x30]
xor ebx, ebx
mov dword [edi + 0x84], ebx
mov ecx, dword [ebp - 0x30]
movzx edi, byte [ebp + 0x10]
and edi, 1
mov dword [ecx + 0xf4], ebx
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + 0x16c]
and ecx, 0xfffffffe
or ecx, edi
mov byte [eax + 0x16c], cl
mov edi, dword [ebp - 0x30]
mov ecx, dword [esi]
mov dword [edi + 0xf4], ecx
mov ecx, dword [ebp - 0x30]
mov esi, dword [esi + 4]
mov dword [ecx + 0x84], esi
mov esi, dword [ebp - 0x30]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4f105a
test byte [ecx + 0x44], 2
je 0x4f1035
mov dword [ecx + 0x38], edx
mov ecx, dword [ebp - 0x30]
mov esi, dword [ecx + 0x18]
mov dword [esi + 0x3c], edx
mov edi, dword [ebp - 0x30]
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x4f1026
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x64], ebx
mov eax, edx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push edx
movzx ecx, byte [esi + 0x16c]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push esi
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push esi
push edx
push edx
push 0
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edx + 2]
cmp eax, 6
je 0x4f158b
cmp eax, 0x52
je 0x4f14a4
cmp eax, 0x3b
je 0x4f1395
cmp eax, 0x3c
je 0x4f1263
cmp eax, 0x51
je 0x4f117c
cmp eax, 0x53
jne 0x4f0bb5
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
push 0x53
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x2c], edx
call fcn.004f77b0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x4f10ff
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x163]
mov byte [ecx + 0x164], al
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 0x20
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov byte [ecx + 0x163], al
movsx eax, byte [edx + 4]
jmp 0x4f0bb0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4f1162
test byte [edx + 0x44], 2
je 0x4f113d
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4f1130
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
push 0x51
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x2c], edx
call fcn.004f77b0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x4f11dd
mov ecx, dword [ebp - 0x10]
add edx, 4
movzx eax, byte [ecx + 0x15f]
mov byte [ecx + 0x160], al
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 0x10
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov byte [ecx + 0x15f], al
mov eax, dword [ebp - 0x28]
add eax, 8
mov dword [ebp - 0x28], eax
movsx eax, byte [edx]
cmp eax, 0x38
je 0x4f1240
jmp 0x4f0bb0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4f1249
test byte [edx + 0x44], 2
je 0x4f121b
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4f120e
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edx + 2]
jmp 0x4f10a5
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
push 0x3c
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x2c], edx
call fcn.004f77b0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x4f130f
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
movzx edx, byte [ecx + 0x16e]
mov eax, edx
shr edx, 1
and eax, 0xfffffffb
and edx, 1
shl edx, 2
or eax, edx
mov byte [ecx + 0x16e], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
or byte [eax + 0x173], 8
mov eax, dword [ebp - 0x30]
cmp eax, 2
jne 0x4f12e9
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
movzx edx, byte [ebp + 0x12]
shr edx, 2
and edx, 1
movzx eax, byte [ecx + 0x16e]
add edx, edx
and eax, 0xfffffffd
or eax, edx
mov byte [ecx + 0x16e], al
mov edx, dword [ebp - 0x2c]
jmp 0x4f12f6
cmp eax, 1
mov eax, dword [ebp - 0x10]
and byte [eax + 0x16e], 0xfd
add edx, 4
mov eax, dword [ebp - 0x28]
add eax, 8
mov dword [ebp - 0x28], eax
movsx eax, byte [edx]
cmp eax, 0x38
je 0x4f1372
jmp 0x4f0bb0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4f137b
test byte [edx + 0x44], 2
je 0x4f134d
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4f1340
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edx + 2]
jmp 0x4f109c
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
push 0x3b
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x2c], edx
call fcn.004f77b0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x4f141e
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x159]
mov byte [ecx + 0x15a], al
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 4
mov eax, dword [ebp - 0x30]
cmp eax, 2
je 0x4f13fb
cmp eax, 1
jne 0x4f13ea
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x159], 0x27
jmp 0x4f1405
cmp eax, 3
jne 0x4f13fb
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x159], 0x22
jmp 0x4f1405
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x159], 0
add edx, 4
mov eax, dword [ebp - 0x28]
add eax, 8
mov dword [ebp - 0x28], eax
movsx eax, byte [edx]
cmp eax, 0x38
je 0x4f1481
jmp 0x4f0bb0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4f148a
test byte [edx + 0x44], 2
je 0x4f145c
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4f144f
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edx + 2]
jmp 0x4f1093
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
push 0x52
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x2c], edx
call fcn.004f77b0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x4f1505
mov ecx, dword [ebp - 0x10]
add edx, 4
movzx eax, byte [ecx + 0x161]
mov byte [ecx + 0x162], al
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 2
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov byte [ecx + 0x161], al
mov eax, dword [ebp - 0x28]
add eax, 8
mov dword [ebp - 0x28], eax
movsx eax, byte [edx]
cmp eax, 0x38
je 0x4f1568
jmp 0x4f0bb0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4f1571
test byte [edx + 0x44], 2
je 0x4f1543
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4f1536
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edx + 2]
jmp 0x4f108a
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
push 6
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x2c], edx
call fcn.004f77b0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x4f1619
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
movzx edx, byte [ecx + 0x16b]
mov eax, edx
shr edx, 5
and eax, 0xffffffbf
and edx, 1
shl edx, 6
or eax, edx
mov byte [ecx + 0x16b], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
or byte [eax + 0x173], 1
mov eax, dword [ebp - 0x30]
cmp eax, 1
je 0x4f15f6
cmp eax, 2
jne 0x4f15f6
mov eax, dword [ebp - 0x10]
or byte [eax + 0x16b], 0x20
jmp 0x4f1600
mov eax, dword [ebp - 0x10]
and byte [eax + 0x16b], 0xdf
add edx, 4
mov eax, dword [ebp - 0x28]
add eax, 8
mov dword [ebp - 0x28], eax
movsx eax, byte [edx]
cmp eax, 0x38
je 0x4f167c
jmp 0x4f0bb0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4f1685
test byte [edx + 0x44], 2
je 0x4f1657
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4f164a
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edx + 2]
jmp 0x4f1081
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
cmp byte [edx + 2], 0x4f
jne 0x4f0bb5
mov eax, dword [ebp - 0x10]
test byte [eax + 0x16b], 4
jne 0x4f17a8
test byte [eax + 0x169], 0x20
jne 0x4f1735
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4f17ee
test byte [edx + 0x44], 2
je 0x4f170b
mov eax, 0x6d
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4f16f9
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x6d
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, 0x6d
push edx
movzx ecx, byte [eax + 0x16c]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push eax
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4f180d
test byte [edx + 0x44], 2
je 0x4f1781
mov dword [edx + 0x38], 0x6e
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x4f176f
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x6e
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push 0x1f
movzx edx, byte [eax + 0x16c]
push 0x6e
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ebx
mov ecx, dword [edx]
add ecx, 0xffffffff
mov ebx, dword [edx + 4]
adc ebx, 0xffffffff
add edx, 8
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ebx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
xor edx, edx
mov ebx, dword [ebp - 0x30]
mov ecx, dword [eax + 0xb4]
sub ecx, edx
mov edx, dword [ebp - 0x2c]
jl 0x4f1829
add edx, 4
movsx eax, byte [edx]
jmp 0x4f0ba7
push eax
mov edx, 0x6d
push edx
push edx
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
push 0x1f
push 0x6e
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4f1898
test byte [edx + 0x44], 2
je 0x4f186e
mov eax, 0x6f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4f185c
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x6f
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, 0x6f
push edx
movzx ecx, byte [eax + 0x16c]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push eax
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
mov edx, 0x6f
push edx
push edx
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
cmp byte [edx + 2], 0x4e
jne 0x4f1074
mov eax, dword [ebp - 0x28]
add edx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebx + 0xf4], ecx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
add eax, 8
mov dword [ebp - 0x28], eax
mov dword [ebx + 0x84], ecx
movsx eax, byte [edx]
mov ebx, dword [ebp - 0x30]
jmp 0x4f0b9e
push eax
push 0x1f
push 0x102
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
push 0x1f
push 0x101
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
push 0x1f
push 0x103
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x28], eax
sub eax, edx
mov eax, dword [ebp - 0x18]
sbb eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
jl 0x4f198f
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ecx + 0xc8]
add ebx, edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ecx + 0xcc]
adc ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
sub eax, ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
sbb ebx, ecx
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x1c]
jl 0x4f0dee
mov edx, dword [ecx + 0xe4]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x28]
push 0
push ecx
push eax
mov dword [ebp - 0x2c], eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x4f1b07
mov ecx, dword [ebp - 0x28]
mov edx, 0xffffffff
sub eax, edx
sub ecx, edx
or eax, ecx
je 0x4f1a67
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xb0]
mov ecx, dword [eax + 0xb4]
mov dword [eax + 0xb8], edx
mov dword [eax + 0xbc], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xb0]
mov ecx, dword [eax + 0xb4]
mov dword [eax + 0xc0], edx
mov dword [eax + 0xc4], ecx
xor eax, eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xd0], eax
mov dword [edx + 0xd4], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc8], eax
mov dword [ecx + 0xcc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc8]
mov dword [ecx + 0xf0], edx
mov edx, dword [ebp - 0x10]
and byte [edx + 0x16d], 0xfd
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x90], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x50], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x4f0e5c
mov byte [eax + 0x1f], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x7c]
jmp 0x4f0e33
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xe8], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4f1ae8
test byte [eax + 0x44], 2
je 0x4f1abe
mov edx, 0x27
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4f1aac
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x27
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, 0x27
push eax
movzx edx, byte [ecx + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push ecx
mov eax, 0x27
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4f1b21
mov eax, 0xffffffff
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
jmp 0x4f1a67
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
jmp 0x4f19bb
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x28], eax
sub edx, eax
mov eax, dword [ecx + 0x13c]
test eax, eax
mov dword [ebp - 0x2c], edx
jne 0x4f1b49
mov eax, 0x20000
cmp edx, eax
ja 0x4f1b7e
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ecx + 0xe4]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x24]
test eax, eax
mov eax, 0xffffffff
je 0x4f1b79
mov eax, 1
mov dword [ebp - 0x28], eax
jmp 0x4f1bfc
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], ebx
mov ebx, ecx
mov esi, edx
mov edi, dword [ebp - 0x28]
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push edi
push dword [ebx + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4f1bbf
mov esi, dword [ebp - 0x18]
mov ecx, ebx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x28], 0xffffffff
jmp 0x4f1bfc
mov eax, dword [ebx + 0x13c]
test eax, eax
mov edx, dword [ebp - 0x20]
jne 0x4f1bd1
mov eax, 0x20000
sub esi, edx
add edi, edx
cmp esi, eax
jae 0x4f1be2
mov dword [ebp - 0x24], esi
test esi, esi
jne 0x4f1be6
jmp 0x4f1bea
test esi, esi
je 0x4f1bea
test edx, edx
ja 0x4f1b91
mov esi, dword [ebp - 0x18]
mov ecx, ebx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x28], 1
mov edx, dword [ecx + 0x38]
xor eax, eax
mov dword [ecx + 0x40], edx
mov dword [ecx + 0xa8], eax
mov dword [ecx + 0xac], eax
add edx, dword [ecx + 0xf8]
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x44], edx
cdq
add eax, dword [ecx + 0xc0]
mov dword [ecx + 0xc0], eax
adc edx, dword [ecx + 0xc4]
and byte [ecx + 0x16d], 0xfb
mov dword [ecx + 0xc4], edx
mov dword [ecx + 0xb8], eax
mov dword [ecx + 0xbc], edx
cmp dword [ebp - 0x28], 0xffffffff
je 0x4f1c56
mov ecx, dword [ebp - 0x10]
jmp 0x4f0db7
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0xe8], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4f1cda
test byte [eax + 0x44], 2
je 0x4f1cb0
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4f1c9e
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x26
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, 0x26
push eax
movzx edx, byte [ecx + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push ecx
mov eax, 0x26
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x14], edi
movzx edx, byte [eax + 0x168]
movzx edi, byte [ebp + 0x10]
and edx, 0xfffffffe
shr edi, 7
or edx, edi
mov byte [eax + 0x168], dl
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
movzx esi, byte [ebp + 0x12]
shr esi, 2
and esi, 1
movzx eax, byte [edi + 0x168]
add esi, esi
and eax, 0xfffffffd
or eax, esi
mov byte [edi + 0x168], al
movzx edi, byte [ebp + 0x13]
mov esi, edi
shr esi, 3
and esi, 1
mov edx, dword [ebp - 0x10]
movzx ecx, byte [edx + 0x168]
lea eax, [esi*4]
and ecx, 0xfffffffb
or ecx, eax
mov byte [edx + 0x168], cl
mov ecx, edi
mov edx, dword [ebp - 0x10]
shr ecx, 2
and ecx, 1
movzx eax, byte [edx + 0x168]
shl ecx, 3
and eax, 0xfffffff7
or eax, ecx
mov byte [edx + 0x168], al
mov eax, edi
mov ecx, dword [ebp - 0x10]
shr eax, 6
and eax, 1
movzx edx, byte [ecx + 0x168]
shl eax, 4
and edx, 0xffffffef
or edx, eax
mov byte [ecx + 0x168], dl
mov edx, esi
mov ecx, dword [ebp - 0x10]
shl edx, 5
shl esi, 3
movzx eax, byte [ecx + 0x168]
and eax, 0xffffffdf
or eax, edx
mov byte [ecx + 0x168], al
mov eax, edi
mov edx, dword [ebp - 0x10]
shr eax, 4
and eax, 1
movzx ecx, byte [edx + 0x171]
shl eax, 2
and ecx, 0xfffffffb
or ecx, eax
mov byte [edx + 0x171], cl
mov eax, dword [ebp - 0x10]
shr edi, 5
and edi, 1
movzx edx, byte [eax + 0x171]
and edx, 0xfffffff7
or edx, esi
mov esi, edi
mov byte [eax + 0x171], dl
mov edx, dword [ebp - 0x10]
shl esi, 6
shl edi, 7
movzx eax, byte [edx + 0x168]
and eax, 0xffffffbf
or eax, esi
mov byte [edx + 0x168], al
mov edx, ebx
mov esi, dword [ebp - 0x10]
shr edx, 1
and edx, 1
movzx ecx, byte [esi + 0x168]
and ecx, 0x7f
or ecx, edi
mov edi, ebx
mov byte [esi + 0x168], cl
and edi, 1
mov esi, dword [ebp - 0x10]
shl edx, 5
shr ebx, 2
movzx eax, byte [esi + 0x169]
and ebx, 3
and eax, 0xfffffffe
add ebx, ebx
or eax, edi
mov byte [esi + 0x169], al
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
movzx eax, byte [edi + 0x171]
and eax, 0xffffffdf
or eax, edx
mov byte [edi + 0x171], al
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x169]
and ecx, 0xfffffff9
or ecx, ebx
mov ebx, 1
push ebx
push ebx
mov byte [eax + 0x169], cl
push ebx
push dword [ebp - 0x10]
call fcn.004f9160
add esp, 0x10
test eax, eax
je 0x4f1f35
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4f1f3d
test byte [edx + 0x44], 2
je 0x4f1f10
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4f1f03
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
jmp 0x4f0bdf
push ecx
push eax
push eax
push 2
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret