joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5084d50c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x5084d523
add esp, 0xfffffff0
call fcn.508033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.50818f18
mov eax, dword [0x50851f7c]
cmp word [eax + 2], 0
jne 0x5084d54b
mov eax, dword [0x50851f7c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.5084ebe4
mov eax, dword [0x50852024]
cmp word [eax + 2], 0
jne 0x5084d565
mov eax, dword [0x50852024]
mov dword [eax + 4], ebx
mov dword [eax], fcn.5084eddc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x50811210]
call fcn.508030a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x50811210]
call fcn.508030a8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x5081b0ec]
call fcn.50820d34
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x5084d6ec
mov eax, dword [0x50851ea4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.50821104
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5084f37c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x50851ea4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.5080bdb4
test eax, eax
je 0x5084d65a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.5080816c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.5080bddc
test eax, eax
je 0x5084d66e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.50804080
mov eax, dword [0x50851da8]
cmp byte [eax], 0
jne 0x5084d6a2
mov eax, ebx
call fcn.5084d814
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.5084f558
mov eax, ebx
call fcn.5084ff1c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5084d6e2
call fcn.5080343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5084da94
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x50853bb0]
cmp dword [eax + 0x30], 0
je 0x5084db3e
cmp dword [ebx + 0x94], 0
jne 0x5084db38
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5084da24
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x5084db38
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x5084dafe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5084db38
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.50813578
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5084db0d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5084e6a0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x5084e6d5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.50803f00
jmp 0x5084e6e2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.50803e64
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x5084f734
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x5084f775
mov eax, esi
call fcn.50835efc
test al, al
je 0x5084f775
mov eax, dword [ebx + 0x84]
call fcn.50835bf8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5084f775
push 0
mov eax, dword [ebx + 0x84]
call fcn.50835bf8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x401170
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
mov ebp, dword [esp + 0x214]
push esi
lea eax, [esp + 8]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREMicrosoft.NETFrameworkpolicy
push 0x80000002
mov dword [esp + 0x20], 0x100
call dword [0x402008]
test eax, eax
jne 0x401259
push edi
mov edi, dword [0x402004]
push eax
push eax
push eax
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [esp + 0x28]
push eax
call edi
cmp eax, 0x103
je 0x401234
mov edi, edi
push 1
lea ecx, [esp + 0x18]
push 0x4021a0
push ecx
call dword [0x4020c0]
add esp, 0xc
test eax, eax
jne 0x40120a
push 4
lea edx, [esp + 0x1a]
push edx
push ebp
call dword [0x4020bc]
add esp, 0xc
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0x100
call edi
cmp eax, 0x103
jne 0x4011e0
mov eax, dword [esp + 0xc]
push eax
call dword [section..rdata]
pop edi
pop esi
mov al, 1
pop ebp
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00401272
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebp
xor ecx, esp
xor al, al
call fcn.00401272
add esp, 0x20c
ret
Function at 0x51b02c
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x51b049
pushal
clc
jmp 0x51b06e
call 0x51b07d
stc
mov eax, dword [0xbb0c8d9b]
xchg ebp, eax
push es
lodsb al, byte [esi]
sti
pop esi
jmp 0x51b0a8
add esi, 0xffffff8d
jmp 0x51b0b7
cmp dword [esi], 0
clc
jae 0x51b0de
add al, 0xc4
jo 0x51b118
sar eax, cl
sub eax, 0x69897255
cmovb esp, dword [edi + 0x29]
invalid
je 0x51b276
jae 0x51b10d
sahf
mov esi, 0xbda72d5f
pop esp
mov dl, dl
scasd eax, dword es:[edi]
push 0xfffffffffffffff9
cli
sbb eax, ecx
bound esi, qword [ebp - 0x3ab59bba]
add al, 0xa7
dec ecx
scasd eax, dword es:[edi]
into
out dx, eax
mov esi, 0xc1ba15a9
mov ecx, 0x1c59dfd6
outsd dx, dword [esi]
push ss
mov edi, esi
jmp 0x51b138
sal esp, cl
aas
or byte [ebp + 0x3d3a6813], ah
cld
fist dword [esi + 0x565fb34a]
insb byte es:[edi], dx
xor ax, 0x9a43
inc esi
mov al, byte [0xa495c127]
test byte [ebp - 0x7c79f300], ch
mov byte [ebx + ebp*8], 0x17
xor byte [ebx - 0x2638dc9], dh
mov ecx, 0x2a1aa4a1
aam 0xb9
or edi, edi
xchg edi, eax
ljmp 0x8b19
add esi, 4
jmp 0x51b154
mov edx, dword [esi]
jmp 0x51b17e
add edx, esi
clc
jae 0x51b189
mov bl, dh
mov edx, 0x8b9a53bf
inc esi
add al, 0xeb
or ch, cl
ret 0x41c5
mov eax, dword [esi + 4]
jmp 0x51b198
sub dword [edx], 0x57aff430
jmp 0x51b1c6
add edx, 4
jmp 0x51b1d2
sub eax, 1
clc
jae 0x51b1f1
lodsd eax, dword [esi]
xchg ebx, eax
cmc
add bh, dh
mov ebp, 0xa741d89d
mov edi, 0xa4eb1e0b
mov es, word [ebx - 0x48]
retf 0x3cb6
jne 0x51b18c
jae 0x51b210
pushfd
cli
lodsd eax, dword [esi]
pop edi
pop esp
fucomi st(4)
inc ebx
push cs
ljmp 0x6ad1
add esi, 8
jmp 0x51b233
sub dword [edi], 1
jmp 0x51b245
jne 0x51b13b
clc
jae 0x51b24f
mov dword [ebx - 0x5de18c22], ecx
sbb al, 0x9b
retf
mov ebx, esi
jae 0x51b271
mov byte [0xe5cb9b1c], al
xchg byte [0x55c22dd4], al
sbb byte [ebx], cl
insd dword es:[edi], dx
lds esi, [edx - 0x3570db45]
push esi
ljmp 0xa133
call fcn.0051b2c2
jmp 0x51b297
popal
stc
jb 0x51b2bd
dec esi
jg 0x51b2ff
dec ecx
sbb eax, 0x8f94d36b
pop eax
sbb dword [ecx + 2], 0xfffffff9
invalid
jmp loc.0048e6e4
push 0xf880e2f4
mov dl, 0x2a
mov ebx, 0x29dab83c
cmc
sub eax, 0xb2f6bb8f
sbb bh, byte [ebx - 0x7d4b92]
inc ebp
xor eax, dword [edi + 0x38]
lds ebx, [edi - 0x1d030d25]
and byte [ebx + 0x4bcbb0f3], dh
pop edx
cmp esp, dword [edx - 0x4d]
mov dh, 0xb2
dec esi
int1
hlt
Function at 0x6e6c1370
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6e6c13cb
cmp byte [esi + ebx - 1], 0xa
je 0x6e6c139f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6e6c70a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x72ac16
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x4017f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401438
push 1
xor ebx, ebx
pop esi
mov edx, 0x403b5c
mov ecx, 0x415124
mov dword [ebp - 0x20], ebx
mov dword [0x4150f8], ebx
mov dword [0x4150fc], esi
mov dword [0x415100], ebx
mov dword [0x415104], esi
mov dword [0x415108], ebx
mov dword [0x41510c], esi
mov dword [0x415110], esi
mov dword [0x415114], ebx
mov dword [0x415118], ebx
mov dword [0x41511c], ebx
mov dword [0x415120], esi
call fcn.0071d318
push 0x404290
push 0x41512c
push 8
mov dword [0x415128], esi
call fcn.0071d396
mov edi, 0x4042a8
mov dword [0x41513c], esi
push edi
push dword [0x415150]
push 6
call fcn.0071d396
mov eax, dword [0x415150]
push edi
add eax, 0xc
push eax
push 6
call fcn.0071d396
mov eax, dword [0x415150]
push edi
add eax, 0x18
push eax
push 6
call fcn.0071d396
mov eax, dword [0x415150]
push edi
add eax, 0x24
push eax
push 6
call fcn.0071d396
mov eax, dword [0x415150]
push edi
add eax, 0x30
push eax
push 6
call fcn.0071d396
mov edx, 0x403b5c
mov ecx, 0x415170
mov word [0x41515c], bx
mov dword [0x415160], 0xffff
mov word [0x415164], bx
mov dword [0x415168], ebx
mov dword [0x41516c], ebx
call fcn.0071d318
push 0x4042bc
push 0x415178
push 0xb
mov dword [0x415174], esi
call fcn.0071d396
mov dword [0x415190], esi
mov dword [0x415194], esi
mov dword [0x415198], esi
mov dword [0x41519c], 0x80000001
mov dword [0x4151a0], 0x80000009
mov dword [0x4151a4], esi
push 0x40f3ae
jmp 0x72ad91
ret
Function at 0x40db20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4778cb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x4934c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov ecx, dword [0x47c288]
mov dword [esi + 0xc], ecx
mov edx, dword [0x47c28c]
mov dword [esi + 0x10], edx
mov ecx, dword [0x47c290]
mov dword [esi + 0x14], ecx
mov edx, dword [0x47c294]
mov dword [esi + 0x18], edx
mov dword [esi + 8], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov dword [esi + 0x30], edi
cmp edi, ebx
je 0x40dbf4
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
push esi
push edi
call ecx
cmp eax, ebx
mov eax, dword [esi + 0x30]
jl 0x40dbe5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x30]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp + 8]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
cmp eax, ebx
jl 0x40dbf4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [esi + 4]
push eax
mov eax, dword [edx + 0x20]
push ecx
call eax
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x40dbf4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp + 8], ebx
jmp 0x40dbf4
cmp eax, ebx
je 0x40dbf4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x30], ebx
push 8
call fcn.0045631d
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x40dc25
mov dword [ebx], 0x47e398
mov dword [ebx + 4], edi
test edi, edi
je 0x40dc27
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
jmp 0x40dc27
xor ebx, ebx
mov dword [esi + 0x28], ebx
lea eax, [esi + 0x34]
mov ecx, 0x96
mov dword [eax], 0
add eax, 0x10
dec ecx
jne 0x40dc32
mov eax, dword [0x4961f8]
mov dword [esi + 0x994], eax
inc eax
mov dword [0x4961f8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42e5d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov eax, 0x47d940
push esi
sub eax, 0xbc
push edi
mov dword [esp + 0x14], 0xbc
mov dword [esp + 0x1c], eax
jmp 0x42e5f8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx]
mov eax, esi
mov dword [esp + 0x10], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e608
sub eax, edx
mov edi, eax
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0x18], edi
mov edx, edi
cmp edi, ecx
jb 0x42e648
movzx eax, byte [esi + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
mov esi, dword [esp + 0x10]
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x42e625
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x42e6b6
lea ecx, [ecx]
cmp dword [eax + 0xc], edi
jne 0x42e6b0
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x42e684
nop
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x42e6a8
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x42e670
test ecx, ecx
je 0x42e6f6
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x42e6a8
cmp ecx, 1
jbe 0x42e6f6
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x42e6a8
cmp ecx, 2
jbe 0x42e6f6
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x42e6f6
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x42e660
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, ebx
call fcn.0042fc50
add esp, 8
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov esi, dword [edx + 0x10]
mov dword [ecx + esi], eax
mov edx, dword [edx + 0x10]
mov eax, dword [ecx + edx]
or byte [eax + 5], 0x20
add ecx, 4
mov dword [esp + 0x14], ecx
cmp ecx, 0x100
jl 0x42e5f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov cl, byte [eax + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx edx, cl
and edx, 3
not ebx
test bl, dl
je 0x42e6c5
xor cl, 3
mov byte [eax + 5], cl
jmp 0x42e6c5
Function at 0x444e00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4934c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x41c], ecx
lea ecx, [ebp - 0x40c]
push edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], 0
mov edi, 0x400
jmp 0x444e56
mov eax, dword [ebp - 0x410]
lea edx, [ebp - 0x40c]
sub ecx, edx
mov dword [ebp - 0x424], ecx
je 0x444ec0
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x444e78
call fcn.0042a160
mov eax, dword [ebp - 0x424]
mov ebx, dword [esi + 8]
push eax
lea ecx, [ebp - 0x40c]
push ecx
push esi
call fcn.0042fd20
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
inc dword [ebp - 0x414]
lea eax, [ebp - 0x418]
add esp, 0xc
lea edx, [ebp - 0x40c]
push eax
mov dword [ebp - 0x418], edx
call fcn.0041eca0
add esp, 4
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x444ec9
mov edi, ebx
mov ecx, dword [ebp - 0x41c]
push ecx
push edi
lea edx, [ebp - 0x40c]
push 1
push edx
call fcn.0045d232
mov ecx, dword [ebp - 0x418]
add ecx, eax
add esp, 0x10
sub ebx, eax
mov dword [ebp - 0x418], ecx
mov dword [ebp + 0xc], ebx
je 0x444eff
cmp eax, edi
je 0x444e50
lea eax, [ebp - 0x40c]
sub ecx, eax
mov edi, ecx
je 0x444f59
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x444f23
call fcn.0042a160
mov ebx, dword [esi + 8]
push edi
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.0042fd20
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x40c]
add esp, 0xc
inc dword [ebp - 0x414]
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x414]
mov esi, dword [ebp - 0x410]
call fcn.0041beb0
mov dword [ebp - 0x414], 1
test ebx, ebx
je 0x444fd6
mov edi, dword [ebp - 0x420]
mov esi, dword [edi + 8]
mov eax, dword [esi - 8]
sub esi, 0x10
add eax, 0xfffffffd
cmp eax, 4
ja 0x444fc3
jmp dword [eax*4 + 0x4443ec]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004560c3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004560c3
mov esp, ebp
pop ebp
ret
Function at 0x447a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
mov esi, dword [eax*4 + 0x47d040]
mov eax, esi
mov dword [esp + 0xc], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447a28
sub eax, edx
mov edi, eax
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0x14], edi
mov edx, edi
cmp edi, ecx
jb 0x447a68
movzx eax, byte [esi + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
mov esi, dword [esp + 0xc]
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x447a45
mov dword [esp + 0x14], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x447ae2
lea ecx, [ecx]
cmp dword [eax + 0xc], edi
jne 0x447adc
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x447aa4
nop
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x447ad4
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x447a90
test ecx, ecx
je 0x447b53
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x447ad4
cmp ecx, 1
jbe 0x447b53
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x447ad4
cmp ecx, 2
jbe 0x447b53
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x447b53
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x447a80
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, ebx
call fcn.0042fc50
add esp, 8
mov ecx, dword [esp + 0x10]
or byte [eax + 5], 0x20
lea edx, [ecx + 1]
inc ecx
mov byte [eax + 6], dl
mov dword [esp + 0x10], ecx
cmp ecx, 0x1f
jl 0x447a14
mov ecx, dword [0x47d118]
test ecx, ecx
je 0x447b4c
mov esi, 0x47d118
mov bl, 0x2d
mov edi, edi
mov eax, ecx
add esi, 4
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x447b28
sub eax, edi
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
call fcn.0042fd20
or byte [eax + 5], 0x20
mov byte [eax + 6], bl
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
jne 0x447b20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov cl, byte [eax + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx edx, cl
and edx, 3
not ebx
test bl, dl
je 0x447af1
xor cl, 3
mov byte [eax + 5], cl
jmp 0x447af1
Function at 0x449210
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebx]
push edi
push esi
push eax
mov eax, ebx
call fcn.00448830
mov eax, dword [esi]
mov ecx, dword [ebx + 0x34]
add eax, 0x10
call fcn.0041cdd0
mov esi, eax
push 0x480ce8
push esi
call fcn.00456e25
mov edi, eax
add esp, 0x10
mov dword [ebp - 8], edi
test edi, edi
jne 0x4492a5
mov ecx, dword [ebx + 0x34]
push esi
push 0x480cec
push ecx
call fcn.004304d0
mov esi, dword [ebx + 0x34]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
lea ecx, [eax - 0x10]
add esp, 0xc
cmp ecx, eax
jae 0x44928f
lea edx, [ecx - 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [edx + 0x18]
mov dword [edx + 8], eax
add ecx, 0x10
add edx, 0x10
cmp ecx, dword [esi + 8]
jb 0x449274
mov ecx, dword [ebp - 4]
add dword [esi + 8], 0xfffffff0
push 0x131
push ecx
push ebx
call fcn.00447db0
add esp, 0xc
mov eax, dword [ebx + 0x34]
add dword [eax + 8], 0xfffffff0
mov edx, dword [ebx + 0x3c]
mov dword [edx + 4], 0
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [ebx + 0x34]
push 0x400
push ecx
push edx
push eax
call fcn.0044ac40
mov ecx, dword [ebx + 0x3c]
mov dword [ecx], eax
mov edx, dword [ebx + 0x3c]
mov dword [edx + 8], 0x400
mov esi, dword [ebx + 0x3c]
mov eax, dword [esi]
add eax, dword [esi + 4]
push edi
push 0x400
push 1
push eax
call fcn.0045d232
add esp, 0x20
test eax, eax
je 0x44937a
mov edi, edi
add dword [esi + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
add ecx, 0x400
cmp ecx, eax
jbe 0x449360
lea edi, [eax + eax]
cmp edi, 0x7ffffffe
jb 0x44932e
push 0
push 0x480b7c
push ebx
call fcn.00447db0
add esp, 0xc
lea ecx, [edi + 1]
cmp ecx, 0xfffffffd
ja 0x44934c
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov ecx, dword [ebx + 0x34]
push edi
push edx
push eax
push ecx
call fcn.0044ac40
add esp, 0x10
jmp 0x449358
mov edx, dword [ebx + 0x34]
push edx
call fcn.0044ac20
add esp, 4
mov dword [esi + 8], edi
mov edi, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [esi]
add eax, dword [esi + 4]
push edi
push 0x400
push 1
push eax
call fcn.0045d232
add esp, 0x10
test eax, eax
jne 0x449300
push edi
call fcn.00457123
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
add esp, 4
call fcn.00447eb0
mov ecx, dword [ebp + 8]
pop edi
pop esi
mov dword [ecx], eax
mov eax, 0x131
pop ebx
mov esp, ebp
pop ebp
ret