Function at 0x5385a0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
xor r15d, r15d
movsxd rbp, dword [r8 + 4]
test dl, 0x40
mov rdi, rcx
mov ebx, edx
mov r13, r8
jne 0x538a83
test bl, 0x80
jne 0x538910
test bl, 0x20
je 0x5388c0
mov eax, ebx
and eax, 0x10
cmp eax, 1
sbb eax, eax
and eax, 0xfffffff8
add eax, 9
movsxd r12, dword [r13]
mov r14, qword [r13 + 8]
lea r10, [r14 + r12]
mov dword [rsp + 0x30], r12d
cmp r14, r10
je 0x5388ab
mov edx, eax
and eax, 7
mov ecx, ebx
mov r12d, eax
lea rax, [rsp + 0x54]
and ecx, 0xf
mov byte [rsp + 0x23], cl
mov ecx, ebx
and edx, 8
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
and ecx, 1
mov rsi, r14
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xd0], r13
mov rdi, r14
mov byte [rsp + 0x22], cl
mov dword [rsp + 0x24], edx
mov byte [rsp + 0x21], 0
xor ebp, ebp
mov qword [rsp + 0x28], rax
mov r15d, edx
mov r14, r10
mov r13d, ecx
mov ebx, r13d
mov eax, 0
shl ebx, 5
cmp rdi, rsi
cmovne ebx, eax
cmp r12d, 1
je 0x538b10
jle 0x5389c0
cmp r12d, 2
je 0x538b22
cmp r12d, 4
jne 0x5388a5
mov r9d, dword [rsi]
add rsi, 4
bswap r9d
mov dword [rsp + 0x54], r9d
cmp r14, rsi
je 0x5389f5
test r15d, r15d
jne 0x538a09
cmp r9d, 0xffff
ja 0x538b40
cmp r9d, 0xff
ja 0x538d60
or bl, byte [rsp + 0x23]
mov eax, ebx
and eax, 4
test r9b, r9b
js 0x5386fc
lea rdx, [0x006c3d00]
movsxd rax, r9d
movzx ecx, byte [rdx + rax]
and ecx, ebx
mov eax, ecx
test al, 0x61
jne 0x538b62
test al, 6
jne 0x538e20
cmp r9d, 0x5c
je 0x539533
mov eax, 1
add ebp, eax
cmp r14, rsi
jne 0x538664
mov r15d, dword [rsp + 0x40]
mov rdi, qword [rsp + 0xc0]
mov r13, qword [rsp + 0xd0]
add r15d, ebp
cmp byte [rsp + 0x21], 0
jne 0x5391d0
test rdi, rdi
je 0x5388ab
movsxd rax, dword [r13]
mov r14, qword [r13 + 8]
mov dword [rsp + 0x38], eax
add rax, r14
cmp r14, rax
mov rsi, rax
je 0x5388ab
mov rbp, r14
lea rax, [rsp + 0x54]
mov r13, rsi
mov dword [rsp + 0x4c], r15d
mov qword [rsp + 0x40], rax
nop word [rax + rax]
movzx esi, byte [rsp + 0x22]
mov eax, 0
shl esi, 5
cmp r14, rbp
cmovne esi, eax
cmp r12d, 1
je 0x539224
jle 0x539071
cmp r12d, 2
je 0x539240
cmp r12d, 4
jne 0x5388a5
mov r9d, dword [r14]
add r14, 4
bswap r9d
mov dword [rsp + 0x54], r9d
cmp r14, r13
je 0x5390a6
mov eax, dword [rsp + 0x24]
test eax, eax
jne 0x5390bf
cmp r9d, 0xffff
ja 0x539260
cmp r9d, 0xff
ja 0x539324
or sil, byte [rsp + 0x23]
mov byte [rsp + 0x58], r9b
mov eax, esi
and eax, 4
test r9b, r9b
js 0x5392e0
lea rbx, [0x006c3d00]
movsxd rax, r9d
movzx ecx, byte [rbx + rax]
and ecx, esi
mov eax, ecx
test al, 0x61
je 0x5392e0
test al, 8
jne 0x538850
lea rcx, [0x006c3c7a]
mov r9, rdi
mov r8d, 1
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp rax, 1
jne 0x5388a5
nop dword [rax + rax]
lea rcx, [rsp + 0x58]
mov r9, rdi
mov r8d, 1
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp rax, 1
jne 0x5388a5
nop
cmp r14, r13
jne 0x538780
cmp byte [rsp + 0x21], 0
mov r15d, dword [rsp + 0x4c]
je 0x5388ab
lea rcx, [0x006c3c78]
mov r9, rdi
mov r8d, 1
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp rax, 1
je 0x5388ab
mov r15d, 0xffffffff
mov eax, r15d
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [rbp - 1]
cmp eax, 0x1d
ja 0x538900
lea rax, [0x006c3cd0]
movsx eax, byte [rax + rbp]
cmp eax, 0xffffffff
mov edx, eax
je 0x538900
test bl, 0x10
je 0x5385ea
or edx, 8
test eax, eax
mov eax, 1
movsx edx, dl
cmovne eax, edx
jmp 0x5385ea
test bh, 1
je 0x5385da
nop dword [rax]
test rdi, rdi
je 0x538d82
lea rcx, [0x006c3c60]
mov r9, rdi
mov r8d, 1
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp rax, 1
jne 0x5388a5
and bh, 2
jne 0x53965f
movsxd rbp, dword [r13]
mov r13, qword [r13 + 8]
lea rbx, [0x006c3cb0]
lea r12, [rsp + 0x60]
mov rsi, rbp
add rbp, r13
cmp rbp, r13
jne 0x53897d
jmp 0x538e04
add r13, 1
cmp rbp, r13
je 0x538e04
movzx eax, byte [r13]
mov r9, rdi
mov r8d, 2
mov rcx, r12
mov edx, eax
and eax, 0xf
shr dl, 4
movzx eax, byte [rbx + rax]
and edx, 0xf
movzx edx, byte [rbx + rdx]
mov byte [rsp + 0x61], al
mov byte [rsp + 0x60], dl
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp rax, 2
jne 0x5388a5
jmp 0x538970
test r12d, r12d
jne 0x5388a5
mov r8, qword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, rsi
call fcn.005572a0
test eax, eax
js 0x5388a5
cdqe
mov r9d, dword [rsp + 0x54]
add rsi, rax
cmp r14, rsi
jne 0x5386b1
test r13b, r13b
mov eax, 0x40
cmovne ebx, eax
test r15d, r15d
je 0x5386ba
lea rcx, [rsp + 0x58]
mov r8d, r9d
mov edx, 6
call fcn.005575a0
test eax, eax
mov r11d, eax
jle 0x538715
or bl, byte [rsp + 0x23]
movzx r9d, byte [rsp + 0x58]
test bl, 0xf
je 0x538e42
test r9b, r9b
js 0x538b90
lea rdx, [0x006c3d00]
movzx eax, r9b
movzx ecx, byte [rdx + rax]
and ecx, ebx
mov eax, ecx
test al, 0x61
je 0x538b95
and eax, 8
movzx ecx, byte [rsp + 0x21]
cmp al, 1
mov edx, eax
sbb eax, eax
not eax
add eax, 2
test dl, dl
mov edx, 1
cmovne ecx, edx
mov byte [rsp + 0x21], cl
jmp 0x538ba9
mov ecx, ebp
call fcn.00541f80
cmp byte [rax], 0
je 0x538df4
mov r8, rax
xor edx, edx
jmp 0x538aa8
test edx, edx
js 0x538df4
add r8, 1
add edx, 1
cmp byte [r8], 0
jne 0x538aa0
and edx, 0x7fffffff
mov r15d, edx
test rdi, rdi
je 0x538b05
mov esi, edx
mov r9, rdi
mov edx, 1
mov r8, rsi
mov rcx, rax
call sub.msvcrt.dll_fwrite
cmp rsi, rax
jne 0x5388a5
lea rcx, [0x006c3c7f]
mov r9, rdi
mov r8d, 1
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp rax, 1
jne 0x5388a5
add r15d, 1
jmp 0x5385c8
movzx r9d, byte [rsi]
add rsi, 1
mov dword [rsp + 0x54], r9d
jmp 0x5386a8
movzx r9d, word [rsi]
add rsi, 2
rol r9w, 8
movzx r9d, r9w
mov dword [rsp + 0x54], r9d
jmp 0x5386a8
mov rcx, qword [rsp + 0x28]
lea r8, str.W_08lX
mov edx, 0xb
call fcn.004ba700
mov eax, 0xa
add ebp, eax
jmp 0x538715
movzx ecx, byte [rsp + 0x21]
and eax, 8
mov edx, 1
cmovne ecx, edx
cmp al, 1
sbb eax, eax
mov byte [rsp + 0x21], cl
not eax
add eax, 2
add ebp, eax
jmp 0x538715
mov eax, ebx
and eax, 4
test al, 6
jne 0x539030
xor eax, eax
cmp r9b, 0x5c
sete al
add eax, 1
add ebp, eax
cmp r11d, 1
je 0x538715
movzx r9d, byte [rsp + 0x59]
test r9b, r9b
js 0x539362
lea rdx, [0x006c3d00]
movzx eax, r9b
movzx ecx, byte [rdx + rax]
and ecx, ebx
mov eax, ecx
test al, 0x61
je 0x539367
and eax, 8
movzx ecx, byte [rsp + 0x21]
cmp al, 1
mov edx, eax
sbb eax, eax
not eax
add eax, 2
test dl, dl
mov edx, 1
cmovne ecx, edx
mov byte [rsp + 0x21], cl
add ebp, eax
cmp r11d, 2
je 0x538715
movzx r9d, byte [rsp + 0x5a]
test r9b, r9b
js 0x539380
lea rdx, [0x006c3d00]
movzx eax, r9b
movzx ecx, byte [rdx + rax]
and ecx, ebx
mov eax, ecx
test al, 0x61
je 0x539385
and eax, 8
movzx ecx, byte [rsp + 0x21]
cmp al, 1
mov edx, eax
sbb eax, eax
not eax
add eax, 2
test dl, dl
mov edx, 1
cmovne ecx, edx
mov byte [rsp + 0x21], cl
add ebp, eax
cmp r11d, 3
je 0x538715
movzx r9d, byte [rsp + 0x5b]
test r9b, r9b
js 0x5393a0
lea rdx, [0x006c3d00]
movzx eax, r9b
movzx ecx, byte [rdx + rax]
and ecx, ebx
mov eax, ecx
test al, 0x61
je 0x5393a5
and eax, 8
movzx ecx, byte [rsp + 0x21]
cmp al, 1
mov edx, eax
sbb eax, eax
not eax
add eax, 2
test dl, dl
mov edx, 1
cmovne ecx, edx
mov byte [rsp + 0x21], cl
add ebp, eax
cmp r11d, 4
je 0x538715
movzx r9d, byte [rsp + 0x5c]
test r9b, r9b
js 0x539400
lea rdx, [0x006c3d00]
movzx eax, r9b
movzx ecx, byte [rdx + rax]
and ecx, ebx
mov eax, ecx
test al, 0x61
je 0x539405
and eax, 8
movzx ecx, byte [rsp + 0x21]
cmp al, 1
mov edx, eax
sbb eax, eax
not eax
add eax, 2
test dl, dl
mov edx, 1
cmovne ecx, edx
mov byte [rsp + 0x21], cl
add ebp, eax
cmp r11d, 5
je 0x538715
movzx r9d, byte [rsp + 0x5d]
test r9b, r9b
js 0x539420
lea rcx, [0x006c3d00]
movzx eax, r9b
and bl, byte [rcx + rax]
test bl, 0x61
je 0x539423
movzx ecx, byte [rsp + 0x21]
and ebx, 8
mov eax, 1
cmovne ecx, eax
cmp bl, 1
sbb eax, eax
mov byte [rsp + 0x21], cl
not eax
add eax, 2
add ebp, eax
jmp 0x538715
mov rcx, qword [rsp + 0x28]
lea r8, str.U_04lX
mov edx, 0xb
call fcn.004ba700
mov eax, 6
add ebp, eax
jmp 0x538715
and bh, 2
je 0x538e00
mov eax, dword [r13 + 4]
lea rbx, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x68], r13
mov rcx, rbx
mov dword [rsp + 0x60], eax
call fcn.004cd7b0
lea rdx, str.a_strex.c
mov r8d, 0x119
mov ecx, eax
mov esi, eax
call fcn.00493db0
test rax, rax
mov rbp, rax
je 0x5388a5
lea rdx, [rsp + 0x58]
mov rcx, rbx
mov qword [rsp + 0x58], rbp
call fcn.004cd7b0
add esi, esi
mov rcx, rbp
call fcn.00494240
test esi, esi
js 0x5388a5
add esi, 1
add r15d, esi
jmp 0x5388ab
xor r15d, r15d
xor edx, edx
jmp 0x538abe
mov esi, dword [r13]
add esi, esi
jns 0x538de9
jmp 0x5388a5
and ebx, 4
and ebx, 6
je 0x53870e
nop dword [rax]
mov rcx, qword [rsp + 0x28]
lea r8, [0x006c3c62]
mov edx, 0xb
call fcn.004ba700
mov eax, 3
add ebp, eax
jmp 0x538715
test r9b, r9b
js 0x53905a
lea rdx, [0x006c3d00]
movzx eax, r9b
movzx ecx, byte [rdx + rax]
and ecx, ebx
mov eax, ecx
test al, 0x61
je 0x53905f
movzx ecx, byte [rsp + 0x21]
and eax, 8
mov edx, 1
cmovne ecx, edx
cmp al, 1
sbb eax, eax
mov byte [rsp + 0x21], cl
not eax
add eax, 2
add ebp, eax
cmp r11d, 1
je 0x538715
movzx r9d, byte [rsp + 0x59]
test r9b, r9b
js 0x53951c
lea rdx, [0x006c3d00]
movzx eax, r9b
movzx ecx, byte [rdx + rax]
and ecx, ebx
mov eax, ecx
test al, 0x61
je 0x539521
movzx ecx, byte [rsp + 0x21]
and eax, 8
mov edx, 1
cmovne ecx, edx
cmp al, 1
sbb eax, eax
mov byte [rsp + 0x21], cl
not eax
add eax, 2
add ebp, eax
cmp r11d, 2
je 0x538715
movzx r9d, byte [rsp + 0x5a]
test r9b, r9b
js 0x539548
lea rdx, [0x006c3d00]
movzx eax, r9b
movzx ecx, byte [rdx + rax]
and ecx, ebx
mov eax, ecx
test al, 0x61
je 0x53954d
movzx ecx, byte [rsp + 0x21]
and eax, 8
mov edx, 1
cmovne ecx, edx
cmp al, 1
sbb eax, eax
mov byte [rsp + 0x21], cl
not eax
add eax, 2
add ebp, eax
cmp r11d, 3
je 0x538715
movzx r9d, byte [rsp + 0x5b]
test r9b, r9b
js 0x53955f
lea rdx, [0x006c3d00]
movzx eax, r9b
movzx ecx, byte [rdx + rax]
and ecx, ebx
mov eax, ecx
test al, 0x61
je 0x539564
movzx ecx, byte [rsp + 0x21]
and eax, 8
mov edx, 1
cmovne ecx, edx
cmp al, 1
sbb eax, eax
mov byte [rsp + 0x21], cl
not eax
add eax, 2
add ebp, eax
cmp r11d, 4
je 0x538715
movzx r9d, byte [rsp + 0x5c]
test r9b, r9b
js 0x539576
lea rdx, [0x006c3d00]
movzx eax, r9b
movzx ecx, byte [rdx + rax]
and ecx, ebx
mov eax, ecx
test al, 0x61
je 0x53957b
movzx ecx, byte [rsp + 0x21]
and eax, 8
mov edx, 1
cmovne ecx, edx
cmp al, 1
sbb eax, eax
mov byte [rsp + 0x21], cl
not eax
add eax, 2
add ebp, eax
cmp r11d, 5
je 0x538715
movzx r9d, byte [rsp + 0x5d]
test r9b, r9b
js 0x538e10
lea rcx, [0x006c3d00]
movzx eax, r9b
and bl, byte [rcx + rax]
test bl, 0x61
je 0x538e13
and ebx, 8
movzx ecx, byte [rsp + 0x21]
mov edx, 1
cmp bl, 1
sbb eax, eax
not eax
add eax, 2
test bl, bl
cmovne ecx, edx
add ebp, eax
mov byte [rsp + 0x21], cl
jmp 0x538715
mov rcx, qword [rsp + 0x28]
lea r8, [0x006c3c62]
mov edx, 0xb
mov dword [rsp + 0x48], r11d
call fcn.004ba700
mov eax, 3
mov r11d, dword [rsp + 0x48]
jmp 0x538ba9
mov eax, ebx
and eax, 4
test al, 6
jne 0x53958d
mov eax, 1
jmp 0x538e83
test r12d, r12d
jne 0x5388a5
mov r8, qword [rsp + 0x40]
mov edx, dword [rsp + 0x38]
mov rcx, r14
call fcn.005572a0
test eax, eax
js 0x5388a5
cdqe
mov r9d, dword [rsp + 0x54]
add r14, rax
cmp r14, r13
jne 0x5387cf
cmp byte [rsp + 0x22], 0
mov eax, 0x40
cmovne esi, eax
mov eax, dword [rsp + 0x24]
test eax, eax
je 0x5387db
lea rbx, [rsp + 0x58]
mov r8d, r9d
mov edx, 6
mov rcx, rbx
call fcn.005575a0
test eax, eax
jle 0x538870
or sil, byte [rsp + 0x23]
sub eax, 1
lea r15, [rbx + rax + 1]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x53]
mov ecx, esi
and ecx, 0xf
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x48], cl
jmp 0x53917e
lea rdx, [0x006c3d00]
movzx eax, r9b
movzx ecx, byte [rdx + rax]
and ecx, esi
mov eax, ecx
test al, 0x61
je 0x539195
test al, 8
jne 0x5391a7
lea rcx, [0x006c3c7a]
mov r9, rdi
mov r8d, 1
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp rax, 1
jne 0x5388a5
mov rcx, qword [rsp + 0x28]
mov r9, rdi
mov r8d, 1
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp rax, 1
jne 0x5388a5
add rbx, 1
cmp rbx, r15
je 0x538870
movzx r9d, byte [rbx]
mov eax, esi
and eax, 4
test r9b, r9b
mov byte [rsp + 0x53], r9b
jns 0x539110
test al, 6
jne 0x5392a0
cmp r9b, 0x5c
je 0x539440
mov rcx, qword [rsp + 0x28]
mov r9, rdi
mov r8d, 1
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp rax, 1
je 0x539171
jmp 0x5388a5
add r15d, 2
test rdi, rdi
je 0x5388ab
lea rcx, [0x006c3c78]
mov r9, rdi
mov r8d, 1
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp rax, 1
jne 0x5388a5
movsxd rax, dword [r13]
mov r14, qword [r13 + 8]
mov rbp, r14
mov dword [rsp + 0x38], eax
add rax, r14
cmp r14, rax
mov rsi, rax
jne 0x538768
jmp 0x538885
movzx r9d, byte [r14]
add r14, 1
mov dword [rsp + 0x54], r9d
jmp 0x5387c6
movzx r9d, word [r14]
add r14, 2
rol r9w, 8
movzx r9d, r9w
mov dword [rsp + 0x54], r9d
jmp 0x5387c6
lea rbx, [rsp + 0x60]
lea r8, str.W_08lX
mov edx, 0xb
mov rcx, rbx
call fcn.004ba700
mov r9, rdi
mov r8d, 0xa
mov edx, 1
mov rcx, rbx
call sub.msvcrt.dll_fwrite
cmp rax, 0xa
jne 0x5388a5
jmp 0x538870
mov rcx, qword [rsp + 0x30]
lea r8, [0x006c3c62]
mov edx, 0xb
call fcn.004ba700
mov rcx, qword [rsp + 0x30]
mov r9, rdi
mov r8d, 3
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp rax, 3
jne 0x5388a5
jmp 0x539171
test al, 6
jne 0x5393c0
cmp r9d, 0x5c
jne 0x538850
and esi, 0xf
je 0x538850
lea rcx, [0x006c3c7c]
mov r9, rdi
mov r8d, 2
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp rax, 2
jne 0x5388a5
jmp 0x538870
lea rbx, [rsp + 0x60]
lea r8, str.U_04lX
mov edx, 0xb
mov rcx, rbx
call fcn.004ba700
mov r9, rdi
mov r8d, 6
mov edx, 1
mov rcx, rbx
call sub.msvcrt.dll_fwrite
cmp rax, 6
jne 0x5388a5
jmp 0x538870
mov eax, ebx
and eax, 4
test al, 6
jne 0x539474
xor eax, eax
cmp r9b, 0x5c
sete al
add eax, 1
jmp 0x538c00
mov eax, ebx
and eax, 4
test al, 6
jne 0x53949e
xor eax, eax
cmp r9b, 0x5c
sete al
add eax, 1
jmp 0x538c57
mov eax, ebx
and eax, 4
test al, 6
jne 0x5394c8
xor eax, eax
cmp r9b, 0x5c
sete al
add eax, 1
jmp 0x538cae
lea rbx, [rsp + 0x60]
lea r8, [0x006c3c62]
mov edx, 0xb
mov rcx, rbx
call fcn.004ba700
mov r9, rdi
mov r8d, 3
mov edx, 1
mov rcx, rbx
call sub.msvcrt.dll_fwrite
cmp rax, 3
jne 0x5388a5
jmp 0x538870
mov eax, ebx
and eax, 4
test al, 6
jne 0x5394f2
xor eax, eax
cmp r9b, 0x5c
sete al
add eax, 1
jmp 0x538d05
and ebx, 4
and ebx, 6
jne 0x538e20
xor eax, eax
cmp r9b, 0x5c
sete al
add eax, 1
add ebp, eax
jmp 0x538715
cmp byte [rsp + 0x48], 0
je 0x5391a7
lea rcx, [0x006c3c7c]
mov r9, rdi
mov r8d, 2
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp rax, 2
jne 0x5388a5
jmp 0x539171
mov rcx, qword [rsp + 0x28]
lea r8, [0x006c3c62]
mov edx, 0xb
mov dword [rsp + 0x48], r11d
call fcn.004ba700
mov eax, 3
mov r11d, dword [rsp + 0x48]
jmp 0x538c00
mov rcx, qword [rsp + 0x28]
lea r8, [0x006c3c62]
mov edx, 0xb
mov dword [rsp + 0x48], r11d
call fcn.004ba700
mov eax, 3
mov r11d, dword [rsp + 0x48]
jmp 0x538c57
mov rcx, qword [rsp + 0x28]
lea r8, [0x006c3c62]
mov edx, 0xb
mov dword [rsp + 0x48], r11d
call fcn.004ba700
mov eax, 3
mov r11d, dword [rsp + 0x48]
jmp 0x538cae
mov rcx, qword [rsp + 0x28]
lea r8, [0x006c3c62]
mov edx, 0xb
mov dword [rsp + 0x48], r11d
call fcn.004ba700
mov eax, 3
mov r11d, dword [rsp + 0x48]
jmp 0x538d05
mov eax, ebx
and eax, 4
test al, 6
jne 0x5395b7
mov eax, 1
jmp 0x538ed6
and ebx, 0xf
je 0x53870e
mov eax, 2
add ebp, eax
jmp 0x538715
mov eax, ebx
and eax, 4
test al, 6
jne 0x5395e1
mov eax, 1
jmp 0x538f29
mov eax, ebx
and eax, 4
test al, 6
jne 0x53960b
mov eax, 1
jmp 0x538f7c
mov eax, ebx
and eax, 4
test al, 6
jne 0x539635
mov eax, 1
jmp 0x538fcf
mov rcx, qword [rsp + 0x28]
lea r8, [0x006c3c62]
mov edx, 0xb
mov dword [rsp + 0x48], r11d
call fcn.004ba700
mov eax, 3
mov r11d, dword [rsp + 0x48]
jmp 0x538e83
mov rcx, qword [rsp + 0x28]
lea r8, [0x006c3c62]
mov edx, 0xb
mov dword [rsp + 0x48], r11d
call fcn.004ba700
mov eax, 3
mov r11d, dword [rsp + 0x48]
jmp 0x538ed6
mov rcx, qword [rsp + 0x28]
lea r8, [0x006c3c62]
mov edx, 0xb
mov dword [rsp + 0x48], r11d
call fcn.004ba700
mov eax, 3
mov r11d, dword [rsp + 0x48]
jmp 0x538f29
mov rcx, qword [rsp + 0x28]
lea r8, [0x006c3c62]
mov edx, 0xb
mov dword [rsp + 0x48], r11d
call fcn.004ba700
mov eax, 3
mov r11d, dword [rsp + 0x48]
jmp 0x538f7c
mov rcx, qword [rsp + 0x28]
lea r8, [0x006c3c62]
mov edx, 0xb
mov dword [rsp + 0x48], r11d
call fcn.004ba700
mov eax, 3
mov r11d, dword [rsp + 0x48]
jmp 0x538fcf
mov eax, dword [r13 + 4]
lea rbx, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x68], r13
mov rcx, rbx
mov dword [rsp + 0x60], eax
call fcn.004cd7b0
lea rdx, str.a_strex.c
mov r8d, 0x119
mov ecx, eax
mov esi, eax
call fcn.00493db0
test rax, rax
mov rbp, rax
je 0x5388a5
lea rdx, [rsp + 0x58]
movsxd r12, esi
mov rcx, rbx
add r12, rbp
mov qword [rsp + 0x58], rbp
mov r14, rbp
call fcn.004cd7b0
cmp r12, rbp
lea rbx, [0x006c3cb0]
lea r13, [rsp + 0x54]
je 0x538dd7
nop dword [rax]
movzx eax, byte [r14]
mov r9, rdi
mov r8d, 2
mov rcx, r13
mov edx, eax
and eax, 0xf
shr dl, 4
movzx eax, byte [rbx + rax]
and edx, 0xf
movzx edx, byte [rbx + rdx]
mov byte [rsp + 0x55], al
mov byte [rsp + 0x54], dl
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp rax, 2
je 0x539720
mov rcx, rbp
call fcn.00494240
jmp 0x5388a5
add r14, 1
cmp r12, r14
jne 0x5396d0
jmp 0x538dd7