joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x171e55c0
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xb5c3c64
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x6d942fa2
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6e229014]
mov dword [ebp - 0xc], eax
jmp 0x6d942fec
jmp 0x6d943028
jmp 0x6d943064
jmp 0x6d9430a0
jmp 0x6d9430dc
jmp 0x6d943118
jmp 0x6d943154
jmp 0x6d943190
jmp 0x6d9431cc
jmp 0x6d943208
jmp 0x6d943244
jmp 0x6d943280
jmp 0x6d9432bc
jmp 0x6d9432f8
cmp dword [ebp - 0xc], 0
je 0x6d944074
mov eax, dword [0x6e229014]
mov dword [0x6e22900c], eax
jmp 0x6d943348
jmp 0x6d943384
jmp 0x6d9433c0
jmp 0x6d9433fc
jmp 0x6d943438
jmp 0x6d943474
jmp 0x6d9434b0
jmp 0x6d9434ec
jmp 0x6d943528
jmp 0x6d943564
jmp 0x6d9435a0
jmp 0x6d9435dc
jmp 0x6d943618
jmp 0x6d943654
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [0x6e229008], eax
jmp 0x6d9436a0
jmp 0x6d9436dc
jmp 0x6d943718
jmp 0x6d943754
jmp 0x6d943790
jmp 0x6d9437cc
jmp 0x6d943808
jmp 0x6d943844
jmp 0x6d943880
jmp 0x6d9438bc
jmp 0x6d9438f8
jmp 0x6d943934
jmp 0x6d943970
jmp 0x6d9439ac
mov eax, dword [0x6e229008]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x10], eax
jmp 0x6d9439f3
jmp 0x6d943a2f
jmp 0x6d943a6b
jmp 0x6d943aa7
jmp 0x6d943ae3
jmp 0x6d943b1f
jmp 0x6d943b5b
jmp 0x6d943b97
jmp 0x6d943bd3
jmp 0x6d943c0f
jmp 0x6d943c4b
jmp 0x6d943c87
jmp 0x6d943cc3
jmp 0x6d943cff
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x3000
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [0x6e229004], eax
jmp 0x6d943d68
jmp 0x6d943da4
jmp 0x6d943de0
jmp 0x6d943e1c
jmp 0x6d943e58
jmp 0x6d943e94
jmp 0x6d943ed0
jmp 0x6d943f0c
jmp 0x6d943f48
jmp 0x6d943f84
jmp 0x6d943fc0
jmp 0x6d943ffc
jmp 0x6d944038
jmp 0x6d944074
nop
leave
ret
Function at 0x6d94474b
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6e229008]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x6e229008]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x6d9447a7
jmp 0x6d9447e3
jmp 0x6d94481f
jmp 0x6d94485b
jmp 0x6d944897
jmp 0x6d9448d3
jmp 0x6d94490f
jmp 0x6d94494b
jmp 0x6d944987
jmp 0x6d9449c3
jmp 0x6d9449ff
jmp 0x6d944a3b
jmp 0x6d944a77
jmp 0x6d944ab3
mov dword [ebp - 0x14], 0
jmp 0x6d944af6
jmp 0x6d944b32
jmp 0x6d944b6e
jmp 0x6d944baa
jmp 0x6d944be6
jmp 0x6d944c22
jmp 0x6d944c5e
jmp 0x6d944c9a
jmp 0x6d944cd6
jmp 0x6d944d12
jmp 0x6d944d4e
jmp 0x6d944d8a
jmp 0x6d944dc6
jmp 0x6d944e02
mov dword [ebp - 0x18], 0
jmp 0x6d944e45
jmp 0x6d944e81
jmp 0x6d944ebd
jmp 0x6d944ef9
jmp 0x6d944f35
jmp 0x6d944f71
jmp 0x6d944fad
jmp 0x6d944fe9
jmp 0x6d945025
jmp 0x6d945061
jmp 0x6d94509d
jmp 0x6d9450d9
jmp 0x6d945115
jmp 0x6d945151
mov dword [ebp - 0x10], 0
jmp 0x6d945194
jmp 0x6d9451d0
jmp 0x6d94520c
jmp 0x6d945248
jmp 0x6d945284
jmp 0x6d9452c0
jmp 0x6d9452fc
jmp 0x6d945338
jmp 0x6d945374
jmp 0x6d9453b0
jmp 0x6d9453ec
jmp 0x6d945428
jmp 0x6d945464
jmp 0x6d9454a0
mov dword [ebp - 0x10], 0
jmp 0x6d94655a
jmp 0x6d9454e8
jmp 0x6d945524
jmp 0x6d945560
jmp 0x6d94559c
jmp 0x6d9455d8
jmp 0x6d945614
jmp 0x6d945650
jmp 0x6d94568c
jmp 0x6d9456c8
jmp 0x6d945704
jmp 0x6d945740
jmp 0x6d94577c
jmp 0x6d9457b8
jmp 0x6d9457f4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x6e229004]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x6d945841
jmp 0x6d94587d
jmp 0x6d9458b9
jmp 0x6d9458f5
jmp 0x6d945931
jmp 0x6d94596d
jmp 0x6d9459a9
jmp 0x6d9459e5
jmp 0x6d945a21
jmp 0x6d945a5d
jmp 0x6d945a99
jmp 0x6d945ad5
jmp 0x6d945b11
jmp 0x6d945b4d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [0x6e22900c]
add eax, edx
mov dword [ebp - 0x18], eax
jmp 0x6d945b9a
jmp 0x6d945bd6
jmp 0x6d945c12
jmp 0x6d945c4e
jmp 0x6d945c8a
jmp 0x6d945cc6
jmp 0x6d945d02
jmp 0x6d945d3e
jmp 0x6d945d7a
jmp 0x6d945db6
jmp 0x6d945df2
jmp 0x6d945e2e
jmp 0x6d945e6a
jmp 0x6d945ea6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x6d945efe
jmp 0x6d945f3a
jmp 0x6d945f76
jmp 0x6d945fb2
jmp 0x6d945fee
jmp 0x6d94602a
jmp 0x6d946066
jmp 0x6d9460a2
jmp 0x6d9460de
jmp 0x6d94611a
jmp 0x6d946156
jmp 0x6d946192
jmp 0x6d9461ce
jmp 0x6d94620a
add dword [ebp - 0xc], 0x28
jmp 0x6d94624a
jmp 0x6d946286
jmp 0x6d9462c2
jmp 0x6d9462fe
jmp 0x6d94633a
jmp 0x6d946376
jmp 0x6d9463b2
jmp 0x6d9463ee
jmp 0x6d94642a
jmp 0x6d946466
jmp 0x6d9464a2
jmp 0x6d9464de
jmp 0x6d94651a
jmp 0x6d946556
add dword [ebp - 0x10], 1
mov eax, dword [0x6e229008]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x6d9454ac
nop
leave
ret
Function at 0x6d950010
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], 0x6e228040
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.6d950070

Function at 0x6d950070
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x6e229378]
test esi, esi
jle 0x6d95015d
mov edi, dword [0x6e22937c]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x6d9500a4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x6d950156
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x6d950090
mov dword [esp], eax
mov esi, eax
call fcn.6d950810
test eax, eax
mov edi, eax
je 0x6d95019a
mov esi, dword [0x6e22937c]
lea ebx, [ebx + ebx*2]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call fcn.6d950920
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x6e22937c]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6d95017a
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x6d95014f
sub eax, 0x40
and eax, 0xffffffbf
je 0x6d95014f
mov eax, dword [esp + 0x20]
add ebx, dword [0x6e22937c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x6d950164
add dword [0x6e229378], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor ebx, ebx
jmp 0x6d9500ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.6d950010
mov eax, dword [0x6e22937c]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.6d950010
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call fcn.6d950010
lea esi, [esi]
Function at 0x6d950480
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6e229388
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6e229380]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x6d9504d5
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6d9504ce
test esi, esi
je 0x6d9504ce
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6d9504b0
mov dword [esp], 0x6e229388
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x41f1a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x41f1c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41f1c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41f1b8
mov eax, 1
add ebx, ebx
jne 0x41f1db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41f1d0
jne 0x41f1ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f1d0
xor ecx, ecx
sub eax, 3
jb 0x41f200
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41f272
mov ebp, eax
add ebx, ebx
jne 0x41f20b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41f218
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41f23c
inc ecx
add ebx, ebx
jne 0x41f228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41f21d
jne 0x41f239
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f21d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41f25c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41f24d
jmp 0x41f1be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41f25c
add edi, ecx
jmp 0x41f1be
pop esi
mov edi, esi
mov ecx, 0x202
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41f27a
cmp byte [edi], 6
jne 0x41f27a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41f27f
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41f2f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ffc4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20000]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41f2ac
mov ecx, edi
jns 0x41f2db
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x20004]
or eax, eax
je 0x41f2f1
mov dword [ebx], eax
add ebx, 4
jmp 0x41f2c9
call dword [esi + 0x20008]
popal
jmp 0x40290c
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x52fc420b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x1d11090f
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x1d93620
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6f8000]
push edi
jmp 0x1d9363a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1d93641
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1d93630
mov eax, 1
add ebx, ebx
jne 0x1d93653
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1d93664
jne 0x1d93683
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1d93683
dec eax
add ebx, ebx
jne 0x1d93670
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1d93648
add ebx, ebx
jne 0x1d9367f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1d936d5
xor ecx, ecx
sub eax, 3
jb 0x1d9369b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1d9370a
sar eax, 1
mov ebp, eax
jmp 0x1d936a6
add ebx, ebx
jne 0x1d936a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1d93674
inc ecx
add ebx, ebx
jne 0x1d936b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1d93674
add ebx, ebx
jne 0x1d936c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1d936b6
jne 0x1d936d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1d936b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1d936f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1d936e6
jmp 0x1d93636
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1d936f4
add edi, ecx
jmp 0x1d93636
pop esi
mov edi, esi
mov ecx, 0x44c04f
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1d9372f
cmp byte [edi], 0x82
jne 0x1d93714
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1d93712
lea edi, [esi + 0x9e2000]
mov eax, dword [edi]
or eax, eax
je 0x1d93780
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa1d194]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa1d1d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1d93735
mov ecx, edi
jns 0x1d93764
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa1d1d4]
or eax, eax
je 0x1d9377a
mov dword [ebx], eax
add ebx, 4
jmp 0x1d93752
call dword [esi + 0xa1d1e4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1d937b1
cmp al, 0xef
ja 0x1d937a4
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1d93786
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1d93793
mov ebp, dword [esi + 0xa1d1d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1d937e5
sub esp, 0xffffff80
jmp 0x177c3e7
Function at 0x415aeb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041595c

Function at 0x415ee5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00408ca0
mov eax, dword [0x4a9fc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00413aee
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x415f27
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x416083
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041e990
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4ac560]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00416c84
mov ecx, dword [esi*4 + 0x4ac560]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41607c
cmp eax, dword [edi + ecx + 0x24]
jne 0x41607c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41607c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00416c84
add esp, 0x14
test edx, edx
jl 0x41607c
jg 0x415ff2
test eax, eax
jb 0x41607c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41607c
jl 0x41600c
cmp dword [ebp - 0x1008], eax
ja 0x41607c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41602a
test ebx, ebx
je 0x416063
cmp ecx, edi
jae 0x416063
mov al, byte [ecx]
cmp al, 0xd
jne 0x416044
lea eax, [edi - 1]
cmp ecx, eax
jae 0x416050
cmp byte [ecx + 1], 0xa
jne 0x416050
inc ecx
jmp 0x416050
movzx eax, al
movsx eax, byte [eax + 0x4aa290]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41602a
cmp edx, ebx
jne 0x41602a
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x416081
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004080c7
leave
ret
Function at 0x416122
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4ac560]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x416162
cmp byte [ebx], 0xa
jne 0x416162
or byte [eax + edi + 0x28], 4
jmp 0x416167
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x416265
mov al, byte [edx]
cmp al, 0x1a
je 0x416247
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x416196
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4161bb
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4161c5
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x416178
jmp 0x416265
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x416242
cmp dword [ebp - 0xc], 0
je 0x416242
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4ac560]
test byte [eax + edi + 0x28], 0x48
je 0x41621c
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x416207
mov byte [esi], dl
jmp 0x416218
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4ac560]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x416265
cmp byte [ebp - 1], 0xa
jne 0x41622b
cmp esi, ebx
jne 0x41622b
mov byte [esi], 0xa
jmp 0x416264
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00416ca2
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x416265
mov byte [esi], 0xd
jmp 0x416264
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4ac560]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x416261
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x416265
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41626e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4ac560]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4162b1
cmp word [esi], dx
jne 0x4162b1
or byte [edi + eax + 0x28], 4
jmp 0x4162b6
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x416409
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4163e9
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4162f8
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41632e
cmp eax, edx
jae 0x41633a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4162d0
jmp 0x416409
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4163e5
cmp dword [ebp - 0x14], 0
je 0x4163e5
mov eax, dword [ebx*4 + 0x4ac560]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4163bd
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x416386
mov word [esi], cx
jmp 0x4163b9
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4ac560]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4ac560]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4ac560]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x416409
pop ebx
cmp word [ebp - 4], bx
jne 0x4163ce
cmp esi, dword [ebp + 0xc]
jne 0x4163ce
mov word [esi], bx
jmp 0x416406
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00416ca2
add esp, 0x10
cmp word [ebp - 4], bx
je 0x416409
push 0xd
jmp 0x416402
mov ecx, dword [ebx*4 + 0x4ac560]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x416400
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x416409
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret