joyce8/EMBER2024-capa huggingface dataset:
Function at 0x521340
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x5a4e78
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
mov ebp, dword [sym.imp.kernel32.dll_UnmapViewOfFile]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x24], ebx
je 0x521382
push eax
call ebp
mov dword [esi + 8], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
je 0x521395
push eax
call edi
mov dword [esi + 4], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x5213a0
push eax
call edi
mov dword [esi], ebx
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5c7f48
call fcn.00496da0
lea ecx, [esp + 0x38]
call fcn.00497740
cmp eax, ebx
jne 0x5213ee
push 0xffffffffffffffff
push 2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
call fcn.00497b10
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.00497360
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.00497320
lea ecx, [esp + 0x2c]
call fcn.00496ed0
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00500070
add esp, 8
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 2
call fcn.00497360
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.00497320
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
lea ecx, [esp + 0x44]
call fcn.00496ed0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00496da0
call fcn.004fff40
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x521488
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x521466
push eax
call ebp
mov dword [esi + 8], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x521473
push eax
call edi
mov dword [esi + 4], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x52147e
push eax
call edi
mov dword [esi], ebx
mov dword [esp + 0x24], 0xffffffff
jmp 0x5214d5
push ebx
push ebx
push ebx
push 0x8000002
push ebx
push eax
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
or edi, 0xffffffff
cmp eax, edi
mov dword [esi + 4], eax
je 0x5214ca
cmp eax, ebx
je 0x5214ca
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 8], eax
je 0x5214ca
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], edi
call fcn.00497320
mov al, 1
jmp 0x5214e0
mov ecx, esi
call fcn.005212f0
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x2c]
call fcn.00497320
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x5217b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a4f3e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
xor ebx, ebx
mov dword [edi], vtable.TFileMapHandler.0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
lea ecx, [edi + 0xc]
mov dword [esp + 0x2c], ebx
call fcn.00496d90
push 0xc
mov byte [esp + 0x30], 1
call fcn.0055d3fe
add esp, 4
cmp eax, ebx
je 0x521816
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov esi, eax
jmp 0x521818
xor esi, esi
mov byte [esp + 0x14], bl
mov eax, dword [esp + 0x14]
push eax
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], esi
call fcn.00521720
push esi
lea ecx, [esp + 0x24]
push esi
push ecx
call fcn.004b1c50
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov dword [edi + 4], edx
cmp ebp, dword [edi + 8]
mov byte [esp + 0x2c], 2
je 0x521889
cmp ebp, ebx
je 0x52185b
add dword [ebp + 4], 1
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x521886
add dword [esi + 4], 0xffffffff
cmp dword [esi + 4], ebx
jne 0x521886
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
add dword [esi + 8], 0xffffffff
cmp dword [esi + 8], ebx
jne 0x521886
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov dword [edi + 8], ebp
cmp ebp, ebx
mov byte [esp + 0x2c], 1
je 0x5218b2
add dword [ebp + 4], 0xffffffff
jne 0x5218b2
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, ebp
call edx
add dword [ebp + 8], 0xffffffff
jne 0x5218b2
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x5225d0
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x5225f5
mov eax, dword [esi + 0x180]
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov edx, dword [esi + 0x180]
cmp byte [edx + 8], 0
je 0x522620
mov eax, dword [esi]
mov dword [eax + 0x14], 0x30
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
mov eax, dword [esi + 0x180]
add esp, 4
cmp byte [eax + 8], 0
jne 0x522601
xor ecx, ecx
cmp byte [esi + 0x41], cl
mov al, 1
setne cl
add ecx, 0xcd
mov dword [esi + 0x14], ecx
ret
Function at 0x5226e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x52270f
push esi
call fcn.00544000
add esp, 4
cmp byte [esi + 0x40], 0
je 0x522708
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x52278a
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x52277a
mov eax, dword [esi + 8]
test eax, eax
je 0x522734
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x522776
cmp eax, 2
je 0x52277a
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x522725
cmp eax, 3
je 0x52275c
cmp eax, 1
jne 0x522725
add dword [ecx + 4], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x522725
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x522725
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.005225d0
pop esi
ret
cmp eax, 0xcc
je 0x5227ac
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.005225d0
pop esi
ret
Function at 0x536f20
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x536f3c
pop edi
mov eax, 1
pop esi
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x53704c
push ebp
lea ebx, [ebx]
cmp ebx, 0x15b0
mov eax, ebx
jb 0x536f5f
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x53700b
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x536f80
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x536f80
test eax, eax
je 0x53701f
nop
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x537010
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x536f50
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret
Function at 0x556a2f
Capabilities:
Get file size

Disassembly:
push ebp
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
cmp edi, esi
mov ebp, ecx
jne 0x556a48
mov eax, 0x80070057
jmp 0x556bad
cmp dword [ebp + 0x104], 0xffffffff
je 0x556a58
mov ecx, ebp
call fcn.00556579
mov edx, ebp
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x556a5e
push ebx
push esi
push 0x10000080
push 4
push esi
push esi
push 0xc0000000
push edi
mov dword [ebp + 0x114], esi
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0x104], eax
je 0x556afb
push esi
push eax
call dword [sym.imp.kernel32.dll_GetFileSize]
cmp eax, 0x28
sbb ebx, ebx
neg ebx
mov dword [ebp + 0x110], eax
je 0x556aae
mov eax, 0x1000
jmp 0x556ab8
add eax, 0xfff
and eax, 0xfffff000
push esi
push eax
push esi
push 4
push esi
push dword [ebp + 0x104]
mov dword [ebp + 0x110], eax
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [ebp + 0x108], eax
je 0x556afb
push dword [ebp + 0x110]
push esi
push esi
push 0xf001f
push eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov edx, eax
cmp edx, esi
mov dword [ebp + 0x10c], edx
jne 0x556b2b
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
call esi
test eax, eax
jg 0x556b0d
call esi
mov esi, eax
jmp 0x556b1d
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
mov ecx, ebp
call fcn.00556579
mov eax, esi
jmp 0x556bac
cmp ebx, esi
jne 0x556b7b
push 2
pop ecx
mov edi, str.D3DX_r_n
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x556b5a
cmp dword [edx + 8], eax
jne 0x556b5a
cmp dword [edx + 0x14], 0x10
jne 0x556b5a
mov eax, dword [edx + 0x18]
cmp eax, 0x28
jb 0x556b5a
cmp eax, dword [ebp + 0x110]
jbe 0x556b75
mov ecx, dword [ebp + 0x110]
mov esi, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
xor ebx, ebx
mov ecx, esi
inc ebx
and ecx, 3
rep stosb byte es:[edi], al
test ebx, ebx
je 0x556baa
xor esi, esi
mov eax, dword [str.D3DX_r_n]
mov dword [edx], eax
mov eax, dword [0x5d6340]
mov dword [edx + 4], eax
mov dword [edx + 8], esi
mov dword [edx + 0xc], esi
mov dword [edx + 0x10], esi
mov dword [edx + 0x14], 0x10
mov dword [edx + 0x18], 0x28
mov dword [edx + 0x1c], esi
mov dword [edx + 0x20], esi
mov dword [edx + 0x24], esi
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x55d2d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x60aecc]
jne 0x55d2df
repz ret
jmp fcn.0056570c
Function at 0x5606d5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x560702
call fcn.00561fb5
mov dword [eax], esi
call fcn.00561fa2
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0055d752
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x5606de
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x560731
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.00561fc8
pop ecx
call fcn.00561fa2
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x560758
test al, 1
je 0x560758
test byte [esp + 0xc], 2
je 0x560758
call fcn.00561fb5
mov dword [eax], 5
call fcn.00561fa2
mov dword [eax], 0xd
jmp 0x560728
xor eax, eax
pop esi
ret
Function at 0x57173a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0056515c
xor ebx, ebx
cmp dword [0x615588], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x57180f
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x57177a
xor eax, eax
jmp 0x5718d3
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x5df760
push edi
call esi
cmp eax, ebx
je 0x571773
push eax
call fcn.005650f9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x615588], eax
call esi
push eax
call fcn.005650f9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x61558c], eax
call esi
push eax
call fcn.005650f9
mov dword [0x615590], eax
lea eax, [ebp - 8]
push eax
call fcn.00560d56
test eax, eax
pop ecx
pop ecx
je 0x5717dd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0055d656
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x57180f
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.005650f9
cmp eax, ebx
pop ecx
mov dword [0x615598], eax
je 0x57180f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005650f9
pop ecx
mov dword [0x615594], eax
mov eax, dword [0x615594]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x571888
cmp dword [0x615598], esi
je 0x571888
push eax
call fcn.00565165
pop ecx
call eax
cmp eax, ebx
je 0x571855
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x615598]
call fcn.00565165
pop ecx
call eax
test eax, eax
je 0x571855
test byte [ebp - 0x18], 1
jne 0x571888
lea eax, [ebp - 0xc]
push eax
call fcn.00560d8d
test eax, eax
pop ecx
je 0x571870
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0055d656
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x57187f
or dword [ebp + 0x10], 0x200000
jmp 0x5718b9
or dword [ebp + 0x10], 0x40000
jmp 0x5718b9
mov eax, dword [0x61558c]
cmp eax, esi
je 0x5718b9
push eax
call fcn.00565165
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x5718b9
mov eax, dword [0x615590]
cmp eax, esi
je 0x5718b9
push dword [ebp - 4]
push eax
call fcn.00565165
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x615588]
call fcn.00565165
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x579d20
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x579dc1
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov esi, dword [ecx + 4]
xor eax, eax
cmp esi, edx
push edi
jle 0x579d6f
mov edi, dword [ecx]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
mov ebp, dword [ebx*4 + 0x60c700]
shl eax, 8
xor eax, ebp
inc edx
cmp edx, esi
jl 0x579d51
xor edx, edx
mov esi, dword [ecx + 0xc]
cmp esi, edx
jle 0x579d9c
mov edi, dword [ecx + 8]
lea esp, [esp]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
mov ebp, dword [ebx*4 + 0x60c700]
shl eax, 8
xor eax, ebp
inc edx
cmp edx, esi
jl 0x579d80
mov edx, dword [ecx]
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
pop edi
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
pop esi
shr eax, 0x18
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x421f1f
Capabilities:
Encode data using xor

Disassembly:
in al, 0x41
or ah, bh
xchg dword [eax - 0x39846203], esp
sti
xchg ecx, eax
outsb dx, byte gs:[esi]
cmp eax, 0x370d19b1
sal dword [0x49a73ca6], 0x5d
dec ecx
pop ebp
cmp byte [edi - 0x28], ch
push es
xchg ecx, eax
pushal
mov word [ebp + 0x41], es
xor ah, bl
mov ah, 0xe9
xor edi, esp
cmc
outsd dx, dword [esi]
mov esi, dword [ebp*4 + 0x1c717676]
jmp 0x71bcc49d
add dl, byte [ebx]
jno 0x421ed7
into
sub eax, 0x65d09067
sal dword [0xb1dd53cd], 0xc9
leave
xchg ecx, eax
cmp ecx, edx
sub dword [ecx - 0x723a02e7], esi
mov dh, 0x31
imul esp, dword [ecx + 0x420e2191], 0x4a
xor dword [ebx - 0x5f], ebp
xchg ecx, eax
and dword [esi], ecx
inc edx
dec edx
inc edx
lcall 0x1d71, 0x457195b7
ja 0x421f2a
inc ebp
sub eax, dword [eax - 0x7154fd2e]
mov fs, word [ebx + ebx*4 + 0x7a8c28f1]
movsd dword es:[edi], dword [esi]
add ah, byte [ecx - 0x51a625a1]
invalid
Function at 0x4b044f
Capabilities:
Encode data using xor

Disassembly:
stosd dword es:[edi], eax
aad 0xb8
ret
xchg esp, eax
sbb eax, 0x10c408de
mov dl, 0x29
jne 0x4b0381
retf
jbe 0x4b039d
push cs
mov ecx, 0xbb399af2
dec esi
or byte [edx + 0x4c], bh
inc edi
in al, 0x52
cmp edi, dword [ebp - 0x616b01b0]
arpl di, di
adc eax, 0x89ee988b
cmp eax, esp
popfd
jae 0x4b0454
dec esi
invalid
jp 0x4b04c7
aas
inc ebp
adc dword [esi + ebp], ebx
sbb al, 0x2e
arpl word [eax - 0x27], sp
mov dword [0x5ce162cf], eax
dec edi
jns 0x4b0452
leave
js 0x4b03f1
cmp eax, 0x25fa55ac
xchg ebp, eax
xor byte [eax + ebx*8 + 0x3e07b0fd], dh
inc esp
adc eax, 0x1b3560eb
aam 0x2a
dec edi
cmp byte [ebp - 0x1c], bl
xor al, 0x4e
xchg ebx, eax
movsd dword es:[edi], dword [esi]
mov dword [0x9e2887d1], eax
mov dword [eax + edi*2 + 0x911cf4c], eax
mov ebx, 0xa61f40da
in eax, dx
bound esi, qword [ebp + 0xf]
inc eax
pushal
lds esi, [edx + 0x54]
outsb dx, byte [esi]
aam 0x9c
in eax, 0xe0
out 0xa1, al
ljmp 0x65c6
mov ebp, 0x34e8dc24
sbb ebx, ebx
cmpsd dword [esi], dword es:[edi]
aam 0xb9
aas
mov byte [edx + 0x17452ee8], bl
cmp byte [edx], cl
ljmp 0x9054

Function at 0x4e263f
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x4e268b
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x4e2670
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x4e2680
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4e269b
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x4e26da
test ebx, ebx
je 0x4e26af
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x4e26a4
cmp ecx, 0xfff1
jb 0x4e26bd
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x4e27c5
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x4e26ff
Function at 0x54146f
Capabilities:
Encode data using xor

Disassembly:
adc byte [ebx + 0x43fe482d], dh
or eax, 0x19508db6
mov bh, 0x2d
sbb eax, 0x93d42771
xor eax, 0x3df93d2d
pushfd
xchg dl, ah
pushal
push ebx
mov al, byte [0x5d759236]
xchg dword [edi + 0x402f0071], ebp
inc eax
and bl, bl
sub eax, 0xb6c2729
std
std
jmp 0xfa64cd63
xchg esi, eax
loope 0x5413f2
xor byte [edi - 0x25], bh
push edx
and esi, 0x21
adc eax, 0x6c81825f
sbb byte [eax], bh
and ch, byte [esi]
pop edi
jnp 0x541422
pop esi
in eax, 7
std
ror byte [ebx - 0x26c7b566], cl
sub dl, cl
sbb al, 0xd9
ja 0x5414e7
push edi
mov byte [0x7ee29ac4], al
jbe 0x541465
jne 0x541418
push ebp
or al, 0x64
mov ecx, 0x2c4810f2
test eax, 0xf7417682
cmp dword [edi], esi
jbe 0x5414e2
idiv dword [ecx]
aaa
or al, 0xdd
salc
xor dword [eax + edi*4 - 0x29baf7bd], eax
lodsd eax, dword [esi]
fldenv [ebx]
ja 0x54149f
dec esi
ret
add bl, 0xee
int3
pop es
pushfd
mov bh, 0xbd
outsb dx, byte [esi]
xchg dword [edi + 0x43909bfe], edx
ljmp 0x4b
Function at 0x58e16f
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x8804a8a7
mov word [ebp + 0x158b2c4d], gs
mov byte [ebp + ebp*4 + 0x158b2c4d], cl
dec esi
insb byte es:[edi], dx
sbb al, 0xe9
cdq
and al, 0xa9
mov ecx, 0xf816cc96
out 0xa, al
mov esp, dr4
lcall 0x3002, 0x2c268982
push edi
xor dl, byte [eax]
dec ebp
push 0xffffffffffffff86
fimul word [ecx + 0x29]
sbb eax, dword [esi + 0x6d]
js 0x58e173
invalid
Function at 0x5e203f
Capabilities:
Encode data using xor

Disassembly:
sub byte [ecx - 0x63], dl
push 0x15ba7b0a
invalid
test eax, 0xd2ed2001
les esp, [ebx]
jle 0x5e20ba
mov ebp, 0x2f52ca4a
add ecx, edi
or al, 0x6d
lock sub byte [ecx + 0x7f], 0x7b
push ecx
mov eax, dword ds:[0x21ad7acc]
sub dh, byte [edi + ecx*8]
push es
mov edx, 0x1690d725
jne 0x5e202c
pop eax
call [edx + ecx*8 + 0x4f68eb2a]
inc ebx
dec edx
xchg dword [ecx - 0x5882e5de], eax
push 0x27
out 0x16, eax
inc esp
jmp 0x5e20d4
daa
fadd qword [esi + esi - 0x78]
ret 0x20ea
inc edx
add eax, 0xfe3cea09
and eax, 0xaec2162
retf 0xe0c4
Function at 0x625eef
Capabilities:
Encode data using xor

Disassembly:
lcall 0xee1e, 0x400ffe72
cmp byte [edx + 0x47], ch
push esi
invalid

Function at 0x65777d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f3d8
cmp edx, dword [eax]
je 0x65779f
add eax, 8
inc ecx
cmp eax, 0x65f468
jl 0x657790
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f3d8]
jne 0x6578cd
mov eax, dword [0xa64d48]
cmp eax, 1
je 0x6578a7
test eax, eax
jne 0x6577d0
cmp dword [0x65f304], 1
je 0x6578a7
cmp edx, 0xfc
je 0x6578cd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x657807
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00658160
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.006585f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x65784a
lea eax, [ebp - 0x1a4]
push eax
call fcn.006585f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65c94c
push edi
call fcn.0065a4c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00658160
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00658170
lea eax, [ebp - 0xa0]
push 0x65c92c
push eax
call fcn.00658170
push dword [esi + 0x65f3dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00658170
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065a434
add esp, 0x2c
pop edi
jmp 0x6578cd
lea eax, [ebp + 8]
lea esi, [esi + 0x65f3dc]
push 0
push eax
push dword [esi]
call fcn.006585f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret