joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b475
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x431a50]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41b4bb
cmp word [ebx], dx
jne 0x41b4bb
or byte [eax + edi + 0x28], 4
jmp 0x41b4c0
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x41b623
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x41b603
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x41b501
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41b537
cmp eax, edx
jae 0x41b545
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x41b4dc
jmp 0x41b623
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b5fe
cmp dword [ebp - 0x18], 0
je 0x41b5fe
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x431a50]
test byte [eax + edi + 0x28], 0x48
je 0x41b5d4
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x41b598
mov word [esi], cx
jmp 0x41b5cf
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x431a50]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x431a50]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x431a50]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x41b623
pop eax
cmp word [ebp - 4], ax
jne 0x41b5e4
cmp esi, ebx
jne 0x41b5e4
mov word [esi], ax
jmp 0x41b620
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004138e8
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x41b623
push 0xd
pop eax
jmp 0x41b5df
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x431a50]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x41b61d
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x41b623
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41e015
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0041df91
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x41e184
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x41e184
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x41e139
jg 0x41e071
test eax, eax
je 0x41e12f
push 1
push 0x1000
call fcn.0040c88f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41e094
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x41e126
push 0x8000
push ebx
call fcn.0040e8bf
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x41e0bd
jg 0x41e0b8
cmp ecx, 0x1000
jb 0x41e0bd
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00411cfb
add esp, 0x10
cmp eax, 0xffffffff
je 0x41e102
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x41e0b8
jl 0x41e0e9
test ecx, ecx
jne 0x41e0aa
push dword [ebp - 0xc]
push ebx
call fcn.0040e8bf
push esi
call fcn.0040d3e5
add esp, 0xc
xor ebx, ebx
jmp 0x41e192
cmp byte [edi + 0x24], 0
je 0x41e119
cmp dword [edi + 0x20], 5
jne 0x41e119
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x41e124
mov ebx, dword [edi + 0x18]
jmp 0x41e126
xor ebx, ebx
push esi
call fcn.0040d3e5
pop ecx
jmp 0x41e192
test ecx, ecx
jg 0x41e0fb
jl 0x41e139
test eax, eax
jae 0x41e0fb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004138e8
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x41e159
cmp byte [edi + 0x1c], 0
je 0x41e0fb
jmp 0x41e18a
push ebx
call fcn.004189b4
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x41e0fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x41e192
cmp byte [edi + 0x1c], 0
je 0x41e18f
mov ebx, dword [edi + 0x18]
jmp 0x41e192
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004138e8
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2a30dd20
Capabilities:
Terminate thread

Disassembly:
push 0xc
mov eax, 0x2a353dc6
call fcn.2a302657
mov ebx, ecx
xor ecx, ecx
cmp dword [ebx], 0xb
mov edi, ecx
mov dword [ebp - 0x14], edi
jne 0x2a30de11
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
or dword [ebx + 0x1a0], 0xffffffff
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
lea esi, [eax + 0x12c]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, esi
jae 0x2a30ddca
mov edi, esi
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebx + 0x2d8]
mov esi, dword [ebx]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
cmp esi, 0xb
jne 0x2a30ddc7
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, edi
jb 0x2a30dd8e
mov edi, dword [ebp - 0x14]
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp dword [ebx], 0xb
jne 0x2a30ddf1
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_TerminateThread]
xor edi, edi
inc edi
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ecx, ecx
mov dword [ebx + 0x2d8], ecx
cmp dword [ebx + 0x18], 0
lea esi, [ebx + 0x1a0]
mov dword [esi], ecx
je 0x2a30de46
test di, di
jne 0x2a30de43
push esi
push dword [ebx + 0x18]
call fcn.2a32394c
xor ecx, ecx
cmp dword [esi], ecx
jne 0x2a30de46
push esi
push dword [ebx + 0x14]
mov dword [ebx + 0x18], ecx
call fcn.2a32394c
xor ecx, ecx
jmp 0x2a30de46
mov dword [ebx + 0x18], ecx
cmp word [ebx + 0x144], cx
je 0x2a30decd
push ecx
push ecx
lea ecx, [ebp - 0x18]
call fcn.2a32394c
mov edi, dword [0x2a36bb18]
xor eax, eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebx + 0x40]
push eax
mov eax, dword [0x2a36bb0c]
push str.Cstring
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x2a35835c]
call esi
mov esi, dword [edi + 0xd0]
pop ecx
movzx eax, ax
mov ecx, esi
push eax
push 0
call dword [0x2a35835c]
call esi
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0
push eax
call fcn.2a32394c
cmp dword [ebp - 0x14], 0
je 0x2a30debf
lea ecx, [ebp - 0x18]
call fcn.2a32394c
test al, al
je 0x2a30debf
lea ecx, [ebp - 0x18]
call fcn.2a33ed32
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.2a32394c
xor ecx, ecx
cmp dword [ebx + 0x34], 0
je 0x2a30def1
mov eax, dword [0x2a36b7ac]
push dword [ebx + 0x34]
mov esi, dword [eax + 0x284]
mov ecx, esi
call dword [0x2a35835c]
call esi
pop ecx
xor ecx, ecx
mov dword [ebx + 0x34], ecx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x2a30df25
push eax
mov eax, dword [0x2a36bb38]
cmp word [ebx + 0x196], cx
je 0x2a30df0f
mov esi, dword [eax + 0x124]
jmp 0x2a30df15
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x2a35835c]
call esi
xor eax, eax
pop ecx
mov dword [ebx + 0x20], eax
mov dword [ebx], 2
call fcn.2a302bc2
ret
Function at 0x2a32394c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x2a32395b
pop dword [ebp - 0x48]
mov eax, 0xb1668a48
sub eax, 0x873450ed
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x5679b8b6
sub dword [ebp - 0x58], 0x827736b
mov dword [ebp - 0x54], 0x2a8c28b1
sub dword [ebp - 0x54], 0xf858dc6c
mov dword [ebp - 0x50], 0x97d0ba80
add dword [ebp - 0x50], 0xb47b89ae
mov dword [ebp - 0x4c], 0x680a028b
sub dword [ebp - 0x4c], 0x680a028b
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x4bafb303
sub dword [ebp - 0x58], 0xd73d49ad
mov dword [ebp - 0x54], 0xea48682a
add dword [ebp - 0x54], 0x5723f94b
mov dword [ebp - 0x50], 0xc6efcecd
sub dword [ebp - 0x50], 0x63806261
mov dword [ebp - 0x4c], 0x8436c223
add dword [ebp - 0x4c], 0x7bc93ddd
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x82164178
sub eax, 0x57e0c0ec
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x4bd64
push 0
call eax
mov ecx, 0x5d46471a
add ecx, 0xa2ba0659
mov esi, eax
mov edi, 0x502c1996
add edi, 0xda0bdc6a
add edi, dword [ebp - 0x48]
mov edx, 0x4e64edee
sub edx, 0x3dbdf38a
mov ebx, dword [edi]
sub dword [ebp - 0x28], edi
xor ebx, edx
add dword [ebp - 0x44], esi
mov dword [esi], ebx
sub dword [ebp - 4], ebx
add esi, 0x6e4e17ff
add esi, 0x91b1e805
add edi, 4
loop 0x2a323a78
add eax, 0x2bf2209b
sub eax, 0x2bf0f7fc
xor ebx, ebx
add ebx, eax
add eax, 0x30775321
sub eax, 0x3077531c
mov ecx, 0xac3cd06c
add ecx, 0x7df32f94
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x2a32caab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x2a35572a
call fcn.2a304215
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x2a32cccc
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
call fcn.2a32394c
add esp, 0x10
test eax, eax
js 0x2a32ccc6
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x2a32cb4f
push edi
call fcn.2a32df9a
pop ecx
test al, al
je 0x2a32cb4f
mov eax, edi
call fcn.2a352aa0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x2a32cb61
push edi
lea ecx, [ebp - 0x424]
call fcn.2a32394c
mov esi, dword [ebp - 0x424]
push 3
push edi
push dword [ebp - 0x41c]
push eax
call fcn.2a32394c
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x2a32ccc6
push 0x60
push ebx
push eax
call fcn.2a32e256
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x2a32cbb9
push 2
push ebx
push dword [ebp - 0x41c]
call fcn.2a32e256
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x2a32cbb9
call fcn.2a32b317
mov ebx, eax
jmp 0x2a32cc95
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x2a32cbe0
call fcn.2a32b317
jmp 0x2a32cc88
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x2a32cbd6
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x2a32cc13
mov ebx, 0x8007000e
jmp 0x2a32cc8a
push ecx
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.2a32394c
jmp 0x2a32cc39
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x2a32cc0c
mov eax, dword [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
push eax
push dword [ebp - 0x418]
call fcn.2a32394c
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.2a32394c
mov ebx, eax
test edi, edi
je 0x2a32cc95
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a32ccae
lea ecx, [ebp - 0x418]
call fcn.2a32b98d
or dword [ebp - 4], 0xffffffff
jmp 0x2a32ccbe
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x2a32ccb4
mov eax, ebx
jmp 0x2a32ccfa
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x2a32cce1
lea ecx, [ebp - 0x418]
call fcn.2a32b98d
or dword [ebp - 4], 0xffffffff
jmp 0x2a32ccf1
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x2a32cce7
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.2a30424f
ret 0x10
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x459030]
jne 0x401116
repz ret
jmp fcn.00401b61

Function at 0x409235
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404c95
and dword [ebp - 4], 0
cmp dword [0x45b794], 0
mov ebx, eax
jne 0x4092e6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409397
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409397
push eax
call fcn.00404c23
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45b794], eax
call esi
push eax
call fcn.00404c23
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45b798], eax
call esi
push eax
call fcn.00404c23
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45b79c], eax
call esi
push eax
call fcn.00404c23
pop ecx
mov dword [0x45b7a4], eax
test eax, eax
je 0x4092e6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404c23
pop ecx
mov dword [0x45b7a0], eax
mov eax, dword [0x45b7a0]
cmp eax, ebx
je 0x40933e
cmp dword [0x45b7a4], ebx
je 0x40933e
push eax
call fcn.00404c9e
push dword [0x45b7a4]
mov esi, eax
call fcn.00404c9e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40933e
test edi, edi
je 0x40933e
call esi
test eax, eax
je 0x409335
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409335
test byte [ebp - 0xc], 1
jne 0x40933e
or dword [ebp + 0x10], 0x200000
jmp 0x409377
mov eax, dword [0x45b798]
cmp eax, ebx
je 0x409377
push eax
call fcn.00404c9e
pop ecx
test eax, eax
je 0x409377
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409377
mov eax, dword [0x45b79c]
cmp eax, ebx
je 0x409377
push eax
call fcn.00404c9e
pop ecx
test eax, eax
je 0x409377
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45b794]
call fcn.00404c9e
pop ecx
test eax, eax
je 0x409397
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409399
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b0a0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x459030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2c3901c]
push ebx
mov ebx, dword [0x2c38e68]
push esi
mov esi, dword [0x459f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40b0e1
push str.pecoloniwifuforewuxito
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [0x2c3901c]
mov dword [0x45b8f4], esi
cmp eax, 0x114e
jne 0x40b10b
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
lea eax, [esp + 0x14]
push eax
push str.famufinisiban
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov eax, dword [0x2c3901c]
cmp eax, 0x2f
jne 0x40b12d
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
call fcn.0040aff0
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x103ca130
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x103ca31d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x238000]
push edi
or ebp, 0xffffffff
jmp 0x103ca15a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x103ca161
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103ca150
mov eax, 1
add ebx, ebx
jne 0x103ca173
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x103ca184
jne 0x103ca1a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103ca1a3
dec eax
add ebx, ebx
jne 0x103ca190
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x103ca168
add ebx, ebx
jne 0x103ca19f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x103ca1f5
xor ecx, ecx
sub eax, 3
jb 0x103ca1bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x103ca22a
sar eax, 1
mov ebp, eax
jmp 0x103ca1c6
add ebx, ebx
jne 0x103ca1c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103ca194
inc ecx
add ebx, ebx
jne 0x103ca1d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103ca194
add ebx, ebx
jne 0x103ca1e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x103ca1d6
jne 0x103ca1f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x103ca1d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x103ca214
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x103ca206
jmp 0x103ca156
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x103ca214
add edi, ecx
jmp 0x103ca156
pop esi
mov edi, esi
mov ecx, 0xdc9c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x103ca232
cmp byte [edi], 0x22
jne 0x103ca232
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 al, bl
loop 0x103ca237
lea edi, [esi + 0x3bb000]
mov eax, dword [edi]
or eax, eax
je 0x103ca2af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3ce800]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3ce954]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x103ca264
mov ecx, edi
jns 0x103ca293
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 + 0x3ce958]
or eax, eax
je 0x103ca2a9
mov dword [ebx], eax
add ebx, 4
jmp 0x103ca281
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x103ca2e0
cmp al, 0xef
ja 0x103ca2d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x103ca2b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x103ca2c2
mov ebp, dword [esi + 0x3ce95c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x103ca314
sub esp, 0xffffff80
jmp 0x1014b6fe
Function at 0x1002dc20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1002dc2f
pop dword [ebp - 0x24]
mov eax, 0x1002dc2f
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xbebb41dd
sub dword [ebp - 0x34], 0x7068fc92
mov dword [ebp - 0x30], 0x9a0e1485
add dword [ebp - 0x30], 0x982537c0
mov dword [ebp - 0x2c], 0xa3a8c51a
add dword [ebp - 0x2c], 0xa8a37f14
mov dword [ebp - 0x28], 0x919761e8
sub dword [ebp - 0x28], 0x919761e8
lea eax, [ebp - 0x34]
push eax
mov eax, 0xed3d449e
add eax, 0x22c72c2a
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x67e892bb
add dword [ebp - 0x34], 0xc89d69b
mov dword [ebp - 0x30], 0xcf110066
add dword [ebp - 0x30], 0x725b610f
mov dword [ebp - 0x2c], 0x369079c2
add dword [ebp - 0x2c], 0x2cdef2aa
mov dword [ebp - 0x28], 0x207f3c84
add dword [ebp - 0x28], 0xdf80c37c
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x5e11c408
add eax, 0xb1f2acdc
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x41f26
push 0
call eax
mov ecx, 0x39437d20
add ecx, 0xc6bcc8f3
mov ebx, eax
mov edi, 0x65f48d63
add edi, 0xaa11a29d
add edi, dword [ebp - 0x24]
mov edx, 0x9dc180b2
sub edx, 0x9da83c85
sub dword [ebp - 0x14], esi
mov esi, dword [edi]
xor dword [ebp - 0x10], ecx
add esi, edx
mov dword [ebp - 0x1c], 0x63e2f2f5
mov dword [ebx], esi
mov dword [ebp - 0x1c], 0xe382ca88
add ebx, 0x2cf17d3c
sub ebx, 0x2cf17d38
add edi, 4
loop 0x1002dd4c
add eax, 0xc80f75a6
sub eax, 0xc80e6a87
mov ebx, eax
add eax, 0x5d75bd89
add eax, 0xa28a427c
mov ecx, 0x10000000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40560d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40561c
pop dword [ebp - 0x3c]
mov eax, 0x40561c
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xec9659c5
sub dword [ebp - 0x4c], 0x9e44147a
mov dword [ebp - 0x48], 0xcaef4ae1
add dword [ebp - 0x48], 0x67440164
mov dword [ebp - 0x44], 0xf5b92d06
add dword [ebp - 0x44], 0x56931728
mov dword [ebp - 0x40], 0x8e0e1ab1
sub dword [ebp - 0x40], 0x8e0e1ab1
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xb0f7867f
sub eax, 0xb0b6b62b
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xb7c822b9
add dword [ebp - 0x4c], 0xbcaa469d
mov dword [ebp - 0x48], 0xa46616b4
add dword [ebp - 0x48], 0x9d064ac1
mov dword [ebp - 0x44], 0xe9ea6010
add dword [ebp - 0x44], 0x79850c5c
mov dword [ebp - 0x40], 0x698bbb0
add dword [ebp - 0x40], 0xf9674450
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xdfbaff71
sub eax, 0xdf7a2f25
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a787
push 0
call eax
mov ecx, 0x2377a0db
sub ecx, 0x2377550d
xor ebx, ebx
add ebx, eax
mov edx, 0xcc42abe1
sub edx, 0xcc00fbe1
add edx, dword [ebp - 0x3c]
mov edi, 0xf968c5f2
add edi, 0x52659dc8
xor dword [ebp - 0x1c], 0x6c799231
mov esi, dword [edx]
xor dword [ebp - 0x18], 0xec7ce931
add esi, edi
xor dword [ebp - 0x1c], 0x99357a91
mov dword [ebx], esi
mov dword [ebp - 0x38], 0x83523dfa
add ebx, 0xfb9539d7
sub ebx, 0xfb9539d3
add edx, 0x936202dd
sub edx, 0x936202d9
loop 0x40573b
add eax, 0x1220b
mov ebx, eax
add eax, 5
mov ecx, 0x9e412964
sub ecx, 0x9e012964
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret