joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f040
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0xc2cbc8]
cmp dword [eax + 0x30], 0
je 0x46f0ea
cmp dword [ebx + 0x94], 0
jne 0x46f0e4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46efd0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46f0e4
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 0x46f0aa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46f0e4
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.0041940c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46f0b9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46fc4c
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 0x46fc81
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.00404298
jmp 0x46fc8e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041fc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x470b5c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x470b9d
mov eax, esi
call fcn.00456bc0
test al, al
je 0x470b9d
mov eax, dword [ebx + 0x84]
call fcn.004568bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x470b9d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004568bc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4718d4
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, 0xc2af84
mov eax, dword [0xc2b730]
cmp dword [eax], 2
jne 0x471a5c
push 0x471a74
call sub.kernel32.dll_GetModuleHandleA_1
mov dword [ebx], eax
cmp dword [ebx], 0
sete byte [0xc2cbe8]
cmp dword [ebx], 0
jne 0x47190f
push 0x471a74
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x471a5c
push 0x471a80
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2af90], eax
push 0x471a98
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2af94], eax
push 0x471aac
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2af88], eax
push 0x471abc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2af8c], eax
push 0x471ac4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2af98], eax
push 0x471ad4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2af9c], eax
push 0x471af0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2afa0], eax
push 0x471b00
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2afc8], eax
push 0x471b10
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2afa4], eax
push 0x471b24
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2afa8], eax
push 0x471b3c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2afb0], eax
push 0x471b48
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2afac], eax
push 0x471b58
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2afb4], eax
push 0x471b68
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2afb8], eax
push 0x471b84
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2afbc], eax
push 0x471ba0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2afc0], eax
push 0x471bb8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2afc4], eax
push 0x471bcc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2afcc], eax
cmp dword [ebx], 0
je 0x471a6a
cmp dword [0xc2afb4], 0
jne 0x471a6e
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x474860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4748f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404888
mov eax, 0x104
call fcn.00409498
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.shell32.dll_SHGetSpecialFolderLocation
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x4748bb
mov eax, esi
mov edx, ebx
call fcn.00404998
mov eax, ebx
call fcn.004094e4
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.00416460
test al, al
je 0x4748e1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4748fe
lea eax, [ebp - 0xc]
call fcn.00405c3c
ret

Function at 0x474908
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404658
xor eax, eax
push ebp
push 0x474a77
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004041a8
call fcn.00475778
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x474a48
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0xc2cdc8], 0
je 0x474988
mov edx, 0x80000003
mov eax, dword [ebp - 0xc]
call fcn.004343cc
lea eax, [ebp - 0x14]
call fcn.00474744
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
xor eax, eax
call fcn.0047563c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x474a8c
call fcn.004044b4
jmp 0x4749a2
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.004343cc
lea eax, [ebp - 8]
mov edx, 0x474a8c
call fcn.00404240
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00434430
test al, al
je 0x4749d7
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00434968
test al, al
je 0x4749cf
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004347e8
mov eax, dword [ebp - 0xc]
call fcn.0043439c
cmp dword [ebx], 0
je 0x4749e3
call fcn.00403c08
jmp 0x474a4f
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004343cc
lea eax, [ebp - 8]
mov edx, 0x474a8c
call fcn.00404240
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00434430
test al, al
je 0x474a32
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00434968
test al, al
je 0x474a2a
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004347e8
mov eax, dword [ebp - 0xc]
call fcn.0043439c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474a4f
mov eax, dword [ebp - 0xc]
call fcn.004033a8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474a7e
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004041cc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041cc
ret
Function at 0x474ad0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov esi, eax
lea edi, [ebp - 4]
xor ecx, ecx
mov cl, byte [esi]
cmp cl, 2
jb 0x474aee
mov cl, 2
mov byte [edi], cl
inc esi
inc edi
rep movsb byte es:[edi], byte [esi]
xor eax, eax
push ebp
push 0x474be0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00409498
mov dword [ebp - 0xc], eax
lea edx, [ebp - 4]
lea eax, [ebp - 0x24]
call fcn.00402c7c
mov edx, 0x474bf4
lea eax, [ebp - 0x24]
mov cl, 3
call fcn.00402c4c
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.0040440c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00409330
push 0x8001
call sub.kernel32.dll_SetErrorMode
mov word [ebp - 8], ax
xor eax, eax
push ebp
push 0x474bc3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x474b95
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x474ba3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474bca
mov eax, dword [ebp - 0xc]
call fcn.004094e4
movzx eax, word [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x475278
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x4752bc
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
jne 0x4752bc
lea eax, [esp + 4]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x475367
lea eax, [esp + 8]
push eax
push 0
push 0
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov eax, dword [esp + 8]
call fcn.004026f8
mov esi, eax
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle
test ebx, ebx
je 0x475360
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0xc2b104
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x475356
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x475352
mov byte [esp], 1
jmp 0x475356
inc edi
dec ebx
jne 0x475339
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00402718
mov al, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x47563c
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404658
mov eax, dword [ebp - 8]
call fcn.00404658
xor eax, eax
push ebp
push 0x475769
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
call fcn.00408300
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
call fcn.00408300
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404668
mov esi, eax
push esi
mov eax, dword [ebp - 4]
call fcn.00404668
mov ebx, eax
push ebx
call sub.advapi32.dll_LookupAccountNameA
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00402738
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x18]
call fcn.00402738
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
push esi
push ebx
call sub.advapi32.dll_LookupAccountNameA
test eax, eax
je 0x475721
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.00475524
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_GetSidSubAuthorityCount
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_GetLengthSid
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.00409484
jmp 0x475736
call sub.kernel32.dll_GetLastError
test eax, eax
jns 0x47572f
call fcn.004032e8
mov edx, edi
call fcn.00472a34
mov eax, dword [ebp - 0x10]
call fcn.00402718
mov eax, dword [ebp - 0xc]
call fcn.00402718
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475770
lea eax, [ebp - 0x20]
call fcn.004041a8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041cc
ret
Function at 0x475d44
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x475df9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00409498
mov esi, eax
push esi
push 0xff
call sub.kernel32.dll_GetLogicalDriveStringsA
mov ebx, eax
test ebx, ebx
jns 0x475d85
call fcn.004032e8
mov eax, dword [ebp - 4]
call fcn.004041a8
mov edi, ebx
test edi, edi
jl 0x475ddc
inc edi
xor ebx, ebx
cmp byte [esi + ebx], 0
je 0x475dd1
mov al, byte [esi + ebx]
mov edx, eax
add dl, 0xbf
sub dl, 0x1a
jb 0x475daf
add al, 0x9f
sub al, 0x1a
jae 0x475dd8
mov al, byte [esi + ebx]
call fcn.00402af4
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404390
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00404470
mov eax, dword [ebp - 4]
jmp 0x475dd8
cmp byte [esi + ebx + 1], 0
je 0x475ddc
inc ebx
dec edi
jne 0x475d96
mov eax, esi
call fcn.004094e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475e00
lea eax, [ebp - 8]
call fcn.004041a8
ret

Function at 0x475eac
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe2c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x475f8b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d0]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, esi
call fcn.004041a8
push 0x40
lea eax, [ebp - 0x40]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x40]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x475f72
mov edi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x475f45
push dword [esi]
cmp ebx, 0xff
jbe 0x475f16
call fcn.004032e8
mov eax, dword [edi + ebx*4]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x1d4]
call fcn.004043a0
push dword [ebp - 0x1d4]
push 0x475fa4
mov eax, esi
mov edx, 3
call fcn.00404528
inc ebx
cmp ebx, 0xff
jbe 0x475f52
call fcn.004032e8
cmp dword [edi + ebx*4], 0
jne 0x475f07
mov eax, dword [esi]
call fcn.00404468
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.00404708
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475f92
lea eax, [ebp - 0x1d4]
call fcn.004041a8
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x410370
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x41038a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410391
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410380
mov eax, 1
add ebx, ebx
jne 0x4103a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410398
jne 0x4103b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410398
xor ecx, ecx
sub eax, 3
jb 0x4103c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41043a
mov ebp, eax
add ebx, ebx
jne 0x4103d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4103e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x410404
inc ecx
add ebx, ebx
jne 0x4103f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4103e5
jne 0x410401
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4103e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x410424
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x410415
jmp 0x410386
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x410424
add edi, ecx
jmp 0x410386
pop esi
mov edi, esi
mov ecx, 0x277
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x410442
cmp byte [edi], 5
jne 0x410442
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 0x410447
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x4104b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x128f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12944]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x410474
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12948]
or eax, eax
je 0x4104b0
mov dword [ebx], eax
add ebx, 4
jmp 0x410491
call dword [esi + 0x12958]
mov ebp, dword [esi + 0x1294c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x4104ea
sub esp, 0xffffff80
jmp 0x4027e0
Function at 0x406250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0x10
je 0x4063cc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push 0x92
push 0
mov eax, dword [ebx]
mov dword [ebp + 8], eax
lea esi, [eax + 0x358]
push esi
call fcn.0058ed30
add esp, 0xc
mov ecx, ebx
call fcn.00404910
push 0
mov ecx, ebx
call fcn.00404760
test eax, eax
je 0x4063b4
push edi
lea esp, [esp]
mov edi, dword [eax]
mov ecx, eax
call fcn.00404320
mov bl, al
mov ecx, 0x6a6de8
mov eax, dword [ebp + 8]
add bl, byte [eax + 0x52c]
mov byte [ebp - 4], bl
push dword [ebp - 4]
call fcn.004058a0
test eax, eax
je case.0x4062e3.10
movzx ecx, word [edi + 0x2c]
add ecx, 0xfffffffd
cmp ecx, 0x75
ja case.0x4062e3.10
movzx ecx, byte [ecx + 0x406418]
jmp dword [ecx*4 + 0x4063d4]
movzx ecx, word [edi + 0x2e]
mov eax, dword [eax]
mov dword [esi + ecx*4 - 4], eax
jmp case.0x4062e3.10
movzx ecx, word [edi + 0x2e]
movss xmm0, dword [eax + 8]
test cx, cx
je case.0x4062e3.10
mov eax, dword [eax + 4]
mov dword [esi + ecx*4 + 0x24], eax
movss dword [esi + ecx*4 + 0x3c], xmm0
jmp case.0x4062e3.10
mov eax, dword [eax + 0xc]
mov dword [esi + 0x5c], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x10]
mov dword [esi + 0x58], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x14]
mov dword [esi + 0x60], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x18]
mov dword [esi + 0x64], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x68], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x6c], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x70], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x74], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x78], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x24]
mov dword [esi + 0x7c], eax
movzx eax, bl
mov word [esi + 0x80], ax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x28]
mov dword [esi + 0x82], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x86], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x30]
mov dword [esi + 0x8a], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x34]
mov dword [esi + 0x8e], eax
mov ecx, dword [ebp + 0x10]
push 0
call fcn.00404760
test eax, eax
jne 0x4062a0
pop edi
mov ecx, dword [0x6d22cc]
call fcn.00443140
mov ecx, dword [0x6d22cc]
call fcn.00442d60
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4062ea
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0x10
je 0x4063cc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push 0x92
push 0
mov eax, dword [ebx]
mov dword [ebp + 8], eax
lea esi, [eax + 0x358]
push esi
call fcn.0058ed30
add esp, 0xc
mov ecx, ebx
call fcn.00404910
push 0
mov ecx, ebx
call fcn.00404760
test eax, eax
je 0x4063b4
push edi
lea esp, [esp]
mov edi, dword [eax]
mov ecx, eax
call fcn.00404320
mov bl, al
mov ecx, 0x6a6de8
mov eax, dword [ebp + 8]
add bl, byte [eax + 0x52c]
mov byte [ebp - 4], bl
push dword [ebp - 4]
call fcn.004058a0
test eax, eax
je case.0x4062e3.10
movzx ecx, word [edi + 0x2c]
add ecx, 0xfffffffd
cmp ecx, 0x75
ja case.0x4062e3.10
movzx ecx, byte [ecx + 0x406418]
jmp dword [ecx*4 + 0x4063d4]
movzx ecx, word [edi + 0x2e]
mov eax, dword [eax]
mov dword [esi + ecx*4 - 4], eax
jmp case.0x4062e3.10
movzx ecx, word [edi + 0x2e]
movss xmm0, dword [eax + 8]
test cx, cx
je case.0x4062e3.10
mov eax, dword [eax + 4]
mov dword [esi + ecx*4 + 0x24], eax
movss dword [esi + ecx*4 + 0x3c], xmm0
jmp case.0x4062e3.10
mov eax, dword [eax + 0xc]
mov dword [esi + 0x5c], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x10]
mov dword [esi + 0x58], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x14]
mov dword [esi + 0x60], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x18]
mov dword [esi + 0x64], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x68], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x6c], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x70], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x74], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x78], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x24]
mov dword [esi + 0x7c], eax
movzx eax, bl
mov word [esi + 0x80], ax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x28]
mov dword [esi + 0x82], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x86], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x30]
mov dword [esi + 0x8a], eax
jmp case.0x4062e3.10
mov eax, dword [eax + 0x34]
mov dword [esi + 0x8e], eax
mov ecx, dword [ebp + 0x10]
push 0
call fcn.00404760
test eax, eax
jne 0x4062a0
pop edi
mov ecx, dword [0x6d22cc]
call fcn.00443140
mov ecx, dword [0x6d22cc]
call fcn.00442d60
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40bf20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0058f330
movdqa xmm0, xmmword [str.__7788Iop_fgMNa4858hgUt__MS]
lea eax, [ebp - 0xfd4]
push esi
mov esi, ecx
mov dword [ebp - 0xfe0], 0x6951246f
push 0xfd4
movdqu xmmword [ebp - 0x1000], xmm0
push 0
movdqa xmm0, xmmword [0x5beff0]
push eax
mov dword [esi], vtable.cAESFile.0
movdqu xmmword [ebp - 0xff0], xmm0
mov dword [ebp - 0xfdc], 0x6f69306f
mov dword [ebp - 0xfd8], 0x31312436
call fcn.0058ed30
push 0x1000
lea eax, [ebp - 0x1000]
mov dword [esi + 4], 1
push eax
lea eax, [esi + 0x1010]
mov dword [esi + 0xc], 0x134b30b
push eax
call fcn.0058e290
add esp, 0x18
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret