joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414770
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00408ad0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41483b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41483b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4147ee
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4147f9
or bh, 8
and edi, 0x8000000
je 0x414814
mov eax, dword [0x42b17c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41483b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414c10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x414c3b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x414c5f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x414c7a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x418ead
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x418eef
call fcn.0041bba4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x418eef
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x418ee6
xor eax, eax
jmp 0x418ef7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00418efd
pop edi
pop esi
pop ebx
ret 4

Function at 0x41c404
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41c432
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41c450
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041c36a
jmp 0x41c450
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41c450
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041c36a
test edi, edi
mov eax, edi
jne 0x41c43a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10269a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbd1000]
push edi
jmp 0x10269ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10269c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10269b0
mov eax, 1
add ebx, ebx
jne 0x10269d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10269e4
jne 0x1026a03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1026a03
dec eax
add ebx, ebx
jne 0x10269f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x10269c8
add ebx, ebx
jne 0x10269ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1026a55
xor ecx, ecx
sub eax, 3
jb 0x1026a1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1026a8a
sar eax, 1
mov ebp, eax
jmp 0x1026a26
add ebx, ebx
jne 0x1026a26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10269f4
inc ecx
add ebx, ebx
jne 0x1026a34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10269f4
add ebx, ebx
jne 0x1026a41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1026a36
jne 0x1026a52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1026a36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1026a74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1026a66
jmp 0x10269b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1026a74
add edi, ecx
jmp 0x10269b6
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1026a92
cmp byte [edi], 0x11
jne 0x1026a92
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 0x1026a97
lea edi, [esi + 0xc1f000]
mov eax, dword [edi]
or eax, eax
je 0x1026b0f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1776758]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17768d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1026ac4
mov ecx, edi
jns 0x1026af3
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 + 0x17768d8]
or eax, eax
je 0x1026b09
mov dword [ebx], eax
add ebx, 4
jmp 0x1026ae1
call dword [esi + 0x17768e8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1026b40
cmp al, 0xef
ja 0x1026b33
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1026b15
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1026b22
mov ebp, dword [esi + 0x17768dc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x1026b74
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x4014df
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x402f30
call fcn.00402af0
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::MakeLower
push str._openfile
lea eax, [ebp - 0x10]
push dword [ebp - 0x18]
push eax
call fcn.004012d2
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
mov esi, 0x800
cmp dword [eax - 8], ebx
je 0x4015c4
push 0x406030
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::TrimLeft_1
mov edi, str.___
lea ecx, [ebp - 0x10]
push edi
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
cmp eax, ebx
jle 0x4015c4
cmp eax, esi
jl 0x401595
lea eax, [ebp - 0x1c]
push 0x7fe
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00402a8e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
mov eax, esi
push esi
push eax
push dword [ebp - 0x10]
mov edi, str.Thunder_Files_ToOpen
push edi
call fcn.0040125b
add esp, 0x10
test eax, eax
je 0x4015c4
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401672
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.0040140c
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x40162e
cmp ecx, esi
jl 0x401611
lea eax, [ebp - 0x1c]
push 0x7ff
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00402a8e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push esi
push ecx
mov edi, str.thunder_open_ed2klink
push eax
push edi
call fcn.0040125b
add esp, 0x10
test eax, eax
je 0x40162e
push ebx
push ebx
push edi
jmp 0x401656
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc4]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x401666
push esi
push ecx
mov esi, str.Thunder_Special_Urls
push eax
push esi
call fcn.0040125b
add esp, 0x10
test eax, eax
je 0x401666
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
cmp dword [ebp + 8], 6
je 0x401029
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
push 0x40c030
call fcn.004025f2
add esp, 8
push 1
call fcn.0040251d
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
push eax
lea ecx, [ebp - 0x144]
push ecx
call fcn.00402400
add esp, 8
push 0
push 0
push 0
push 0x40c080
lea edx, [ebp - 0x144]
push edx
push 0
call sub.ISQLT07C.dll_Ordinal_13
add esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
push 0x40c088
lea edx, [ebp - 0x40]
push edx
call fcn.004023a4
add esp, 0xc
push 0x40c08c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.00402320
add esp, 8
test eax, eax
jne 0x4010aa
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x10]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00401100
add esp, 0xc
mov dword [ebp - 0x44], eax
jmp 0x4010f5
push 0x40c094
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
push edx
call fcn.00402320
add esp, 8
test eax, eax
jne 0x4010e1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.0040123b
add esp, 0xc
mov dword [ebp - 0x44], eax
jmp 0x4010f5
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
push eax
push 0x40c098
call fcn.004025f2
add esp, 8
push 0
call fcn.0040251d
mov esp, ebp
pop ebp
ret
Function at 0x404b79
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40d468
cmp edx, dword [eax]
je 0x404b9b
add eax, 8
inc ecx
cmp eax, 0x40d4f8
jl 0x404b8c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40d468]
jne 0x404cc9
mov eax, dword [0x4119a0]
cmp eax, 1
je 0x404ca3
test eax, eax
jne 0x404bcc
cmp dword [0x40d124], 1
je 0x404ca3
cmp edx, 0xfc
je 0x404cc9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404c03
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402400
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00404dd0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404c46
lea eax, [ebp - 0x1a4]
push eax
call fcn.00404dd0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b43c
push edi
call fcn.00402a70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402400
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402410
lea eax, [ebp - 0xa0]
push 0x40b41c
push eax
call fcn.00402410
push dword [esi + 0x40d46c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402410
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00406251
add esp, 0x2c
pop edi
jmp 0x404cc9
lea eax, [ebp + 8]
lea esi, [esi + 0x40d46c]
push 0
push eax
push dword [esi]
call fcn.00404dd0
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
Function at 0x418010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x469c70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
and eax, 0

Function at 0x41af40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ecx + 0x1d4], 0
add ecx, 0x1d8
jmp fcn.00466be6

Function at 0x41bb20
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov ecx, dword [esi + 0x1e0]
mov eax, dword [esi + 0x234]
inc ecx
test eax, eax
mov dword [esi + 0x1e0], ecx
je 0x41bb9c
call dword [0x46e248]
cmp eax, dword [esi + 0x234]
je 0x41bb9c
mov eax, dword [esi + 0x3f0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x41bb7e
push eax
call dword [0x46e3c0]
test eax, eax
je 0x41bb7e
mov eax, dword [esi + 0x3f0]
push 0
push edi
push 0x83e7
push eax
call dword [0x46e3b4]
mov eax, dword [esi + 0x428]
test eax, eax
jne 0x41be9e
push edi
call dword [0x46e24c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
mov dword [esi + 0x428], 1
call fcn.0041a8b0
mov edx, dword [esi + 0x104]
lea ecx, [esi + 0x104]
call dword [edx + 8]
mov eax, dword [esi + 0x41c]
add byte [eax], al
Function at 0x42a1c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4cfdc8]
xor edx, edx
cmp eax, edx
jne 0x42a1e6
xor eax, eax
mov byte [eax + 0x4cfcc8], al
inc eax
cmp eax, 0x100
jl 0x42a1ce
mov dword [0x4cfdc8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4cfcc8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42a277
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42a24a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x42a218
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42a2f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x42a343
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42a32a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ca90
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x46b1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x44]
mov edx, dword [edi]
add edx, 0x18
mov eax, edx
mov dword [edi], edx
push eax
call fcn.0040f8d0
mov ebx, dword [edi]
add ebx, eax
mov eax, ebx
mov dword [edi], ebx
push eax
call fcn.0040f8d0
mov ecx, dword [edi]
add ecx, eax
mov eax, ecx
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
lea esi, [eax + 0xc]
mov eax, dword [0x4cfe10]
push esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov dword [edi], esi
call fcn.0040f8d0
mov edx, dword [edi]
mov ebp, dword [esp + 0x58]
add eax, 4
add esp, 0xc
add edx, eax
mov eax, edx
mov dword [edi], edx
test ebp, ebp
mov dword [esp + 0x18], eax
jne 0x42cb2a
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x42cb24
add eax, 4
mov dword [esp + 0x18], eax
mov dword [eax], 0
mov ebx, dword [edi]
add ebx, 0x14
mov dword [edi], ebx
mov ebx, dword [esp + 0x48]
mov edx, dword [ebx]
dec edx
mov dword [ebx], edx
mov ecx, dword [0x4cfe10]
Function at 0x433010
Capabilities:
Access peb ldr_data

Disassembly:
out 0x46, al
add byte [ebp - 0x437af040], al
add byte [eax], al
add byte [ebx + 0x144247c], al
jge 0x43302a
mov dword [esp + 0x44], 1
push esi
lea ecx, [esp + 0x20]
call fcn.0040ee80
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0
call fcn.0040ee80
mov esi, dword [0x46e680]
mov eax, dword [esp + 0x48]
mov byte [esp + 0x3c], 1
push 0
push eax
push eax
lea ecx, [esp + 0x18]
call fcn.0040ef70
push eax
push edi
call esi
cmp eax, 0xffffffff
je 0x433092
test eax, eax
jle 0x433092
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
lea ecx, [esp + 0x28]
call fcn.0040f5b0
mov eax, 0x400
mov dword [esp + 0x48], eax
jmp 0x433054
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4330aa
mov edx, dword [ebp]
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call dword [edx + 0xc0]
mov esi, 0x4a5350
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 0
mov dword [esp + 0xc], esi
call fcn.0040f080
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x20], esi
call fcn.0040f080
pop esi
mov ecx, dword [esp + 0x30]
pop edi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
mov dword [0], ecx
Function at 0x439f90
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov ecx, dword [esi + 0x1e0]
add byte [eax], al
mov eax, dword [esi + 0x234]
inc ecx
test eax, eax
mov dword [esi + 0x1e0], ecx
je 0x439f7c
call dword [0x46e248]
cmp eax, dword [esi + 0x234]
je 0x439f7c
mov eax, dword [esi + 0x3f0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x439f5e
push eax
call dword [0x46e3c0]
test eax, eax
je 0x439f5e
mov eax, dword [esi + 0x3f0]
push 0
push edi
push 0x83e7
push eax
call dword [0x46e3b4]
mov eax, dword [esi + 0x428]
test eax, eax
jne 0x43a27e
push edi
call dword [0x46e24c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
mov dword [esi + 0x428], 1
sub byte [eax + eax], al
add byte [ecx], al
add byte [eax], al
add al, ch
add ebp, ebp
invalid
dec dword [ebx + 0x10496]
add dword [eax], eax
add byte [ebp + 0x1048e], cl
add bh, bh
push edx
or byte [ebx + 0x41c86], cl
add byte [eax], al
test eax, eax
je 0x439fd8
mov al, byte [0x4c376c]
test al, 1
jne 0x439fc1
or al, 1
mov byte [0x4c376c], al
mov eax, dword [esi + 0x41c]
mov dword [0x4c3768], eax
pushal
call dword [0x4c3768]
popal
mov ecx, dword [ebp - 4]
mov esi, ecx
mov dword [ecx + 0x41c], 0
mov ebx, dword [esi + 0x130]
xor edi, edi
or al, 0x8d
push esp
and al, 0
push 0
mov dword [esp + 8], eax
mov eax, dword [ecx]
push edx
push 0xa
push 1
call dword [eax + 4]
add esp, 0x10
ret 0x10

Function at 0x439fa0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov ecx, dword [esi + 0x1e0]
add byte [eax], al
mov eax, dword [esi + 0x234]
inc ecx
test eax, eax
mov dword [esi + 0x1e0], ecx
je 0x439f7c
call dword [0x46e248]
cmp eax, dword [esi + 0x234]
je 0x439f7c
mov eax, dword [esi + 0x3f0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x439f5e
push eax
call dword [0x46e3c0]
test eax, eax
je 0x439f5e
mov eax, dword [esi + 0x3f0]
push 0
push edi
push 0x83e7
push eax
call dword [0x46e3b4]
mov eax, dword [esi + 0x428]
test eax, eax
jne 0x43a27e
push edi
call dword [0x46e24c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
mov dword [esi + 0x428], 1
sub byte [eax + eax], al
add byte [ecx], al
add byte [eax], al
add al, ch
add ebp, ebp
invalid
dec dword [ebx + 0x10496]
add dword [eax], eax
add byte [ebp + 0x1048e], cl
add bh, bh
push edx
or byte [ebx + 0x41c86], cl
add byte [eax], al
test eax, eax
je 0x439fd8
mov al, byte [0x4c376c]
test al, 1
jne 0x439fc1
or al, 1
mov byte [0x4c376c], al
mov eax, dword [esi + 0x41c]
mov dword [0x4c3768], eax
pushal
call dword [0x4c3768]
popal
mov ecx, dword [ebp - 4]
mov esi, ecx
mov dword [ecx + 0x41c], 0
mov ebx, dword [esi + 0x130]
xor edi, edi
or al, 0x8d
push esp
and al, 0
push 0
mov dword [esp + 8], eax
mov eax, dword [ecx]
push edx
push 0xa
push 1
call dword [eax + 4]
add esp, 0x10
ret 0x10