joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c010
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x412318
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [esp + 0x2c]
test eax, eax
je 0x40c05a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [esp + 0x14]
mov word [edi + 4], 0
mov dword [esp + 0x14], 0
call fcn.0040d3a0
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0x14]
cmp dword [esi], 0
je 0x40c087
lea eax, [esi + 8]
jmp 0x40c089
xor eax, eax
cmp dword [ebx + 0x10], 0
je 0x40c099
cmp dword [ebx + 0x14], 8
jb 0x40c09b
mov ebx, dword [ebx]
jmp 0x40c09b
xor ebx, ebx
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x40c0bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40c0bc
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x40c0e6
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40c0fb
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x14], 0
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0040f90e
add esp, 0x18
ret 4
Function at 0x40c170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x412377
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], vtable.RC::RCFileHash.0
mov dword [edi + 4], 0
mov dword [esp + 0x14], edi
mov byte [edi + 8], 0
mov dword [esp + 0x38], 0
mov dword [edi], vtable.RC::RCFileHashCalc.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [esp + 0x38], 2
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x20], 0
mov dword [edi], vtable.RC::RCMD5.0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x38], 3
push 8
movq qword [esp + 0x28], xmm0
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 4
test eax, eax
je 0x40c245
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
call fcn.0040d7a0
jmp 0x40c247
xor eax, eax
mov byte [esp + 0x38], 3
lea ecx, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.0040c630
mov byte [esp + 0x38], 5
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040c470
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x40c289
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.0040c7a0
lea eax, [esp + 0x18]
add esi, 8
push eax
lea ecx, [edi + 0xc]
mov dword [esp + 0x20], esi
call fcn.0040da90
mov byte [esp + 0x38], 3
mov esi, dword [esp + 0x28]
test esi, esi
je 0x40c2cf
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x40c2cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x40c2cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [esp + 0x38], 2
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40c30e
push dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0040b860
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0xc
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0040f90e
add esp, 0x2c
ret
Function at 0x40d540
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x415a70
push 0x410099
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [section..data]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [ecx]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x40], edi
test edi, edi
jne 0x40d5a9
xor eax, eax
jmp 0x40d71f
mov dword [ebp - 4], ebx
push str.InitializeSecurityDescriptor
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d6ea
push 1
push dword [ebp - 0x38]
call eax
test eax, eax
je 0x40d6ea
push str.AllocateAndInitializeSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d6ea
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x40d6ea
push str.GetLengthSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d6ea
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x40d6ea
push str.InitializeAcl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d6ea
push 2
push dword [ebp - 0x30]
push esi
call eax
test eax, eax
je 0x40d6ea
push str.AddAccessAllowedAce
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d6ea
push dword [ebp - 0x28]
push 0x10000000
push 2
push esi
call eax
test eax, eax
je 0x40d6ea
push str.SetSecurityDescriptorDacl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x40d6ea
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x40d6d3
push 0
push ecx
push 1
push dword [ebp - 0x38]
call eax
test eax, eax
je 0x40d6c0
mov ebx, 1
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x2c], 0
je 0x40d6d0
jmp 0x40d6ea
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push esi
push 1
push dword [ebp - 0x38]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.0040d746
test ebx, ebx
jne 0x40d71d
test esi, esi
je 0x40d70f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40d71d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040f90e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40de00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
lea esp, [esp]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x417710], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x417810], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x417910], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x417610], al
inc esi
cmp esi, 0x100
jl 0x40df10
pop esi
add esp, 0x80
ret

Function at 0x4104a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4104e8
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4104e8
test al, 0x10
jne 0x4104e8
call fcn.00404cd0
push ecx
push edi
mov ecx, eax
call fcn.00404f90
test al, al
jne 0x4104f1
call fcn.00404cd0
mov esi, eax
sub esp, 0x10
mov ecx, esi
call fcn.00405890
push edi
mov ecx, esi
call fcn.00405570
xor eax, eax
pop edi
pop esi
pop ecx
pop ebp
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ecx
pop ebp
ret 4
Function at 0x410570
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x417a44], 0
push esi
push edi
jne 0x41078f
xor eax, eax
mov byte [0x417a44], 1
push 0x40e
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x834], 0
lea eax, [ebp - 0x834]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x410609
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x834]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x410600
mov eax, dword [ebp - 0x834]
test eax, eax
je 0x410609
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x410609
xor eax, eax
mov word [ebp - 0x418], ax
lea edi, [ebp - 0x418]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x410612
mov eax, dword [0x413408]
lea ecx, [ebp - 0x418]
mov dword [edi], eax
add ecx, 0xfffffffe
mov edi, edi
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x410630
mov eax, dword [0x41334c]
mov dword [ecx], eax
mov eax, dword [0x413350]
mov dword [ecx + 4], eax
mov eax, dword [0x413354]
mov dword [ecx + 8], eax
mov ax, word [0x413358]
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x410678
xor eax, eax
mov word [ebp - 0x418], ax
xor eax, eax
push 0x410
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call sub.MSVCR120.dll_memset
lea ecx, [ebp - 0x418]
add esp, 0xc
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4106a0
sub ecx, edx
sar ecx, 1
je 0x41075d
push 0x207
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.MSVCR120.dll_wcsncpy]
lea ecx, [ebp - 0x830]
add esp, 0xc
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4106e0
sub ecx, edx
sar ecx, 1
je 0x41075d
lea edi, [ebp - 0x830]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x410700
mov eax, dword [0x413408]
lea ecx, [ebp - 0x830]
mov dword [edi], eax
add ecx, 0xfffffffe
lea esp, [esp]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x410720
mov eax, dword [str.HaoZip.hzv]
mov dword [ecx], eax
mov eax, dword [0x413384]
mov dword [ecx + 4], eax
mov eax, dword [0x413388]
mov dword [ecx + 8], eax
mov eax, dword [0x41338c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x413390]
mov dword [ecx + 0x10], eax
mov ax, word [0x413394]
mov word [ecx + 0x14], ax
call fcn.00404cd0
lea ecx, [ebp - 0x830]
mov edx, eax
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410770
sub ecx, esi
sar ecx, 1
je 0x41078f
lea eax, [ebp - 0x830]
mov ecx, edx
push eax
call fcn.00404d90
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040f90e
mov esp, ebp
pop ebp
ret
Function at 0x410930
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4127f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], 0
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00410b00
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4109f3
push str.ModuleInitialize
push esi
call edi
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4109f3
push str.ModuleFinitialize
push esi
call edi
mov ebx, eax
test ebx, ebx
je 0x4109f3
push str.Initialize
push esi
call edi
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4109f3
push esi
call dword [ebp - 0x14]
add esp, 4
push 0x4108b0
push 0x410900
call dword [ebp - 0x18]
add esp, 8
push str.MD5Utils
push esi
call edi
mov ecx, eax
test ecx, ecx
je 0x4109f1
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x4109dd
mov eax, dword [eax]
push dword [ebp + 0x14]
push eax
push 1
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call ecx
add esp, 0x18
call ebx
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x410a16
push str.HaoZipUnInit
push esi
call edi
test eax, eax
je 0x410a0f
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6aad4d20
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x6aad4ee4
pushal
mov esi, 0x6aad2015
lea edi, [esi - 0x11015]
push edi
or ebp, 0xffffffff
jmp 0x6aad4d4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6aad4d51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6aad4d40
mov eax, 1
add ebx, ebx
jne 0x6aad4d63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6aad4d58
jne 0x6aad4d74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6aad4d58
xor ecx, ecx
sub eax, 3
jb 0x6aad4d88
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6aad4dfa
mov ebp, eax
add ebx, ebx
jne 0x6aad4d93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x6aad4da0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x6aad4dc4
inc ecx
add ebx, ebx
jne 0x6aad4db0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6aad4da5
jne 0x6aad4dc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6aad4da5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6aad4de4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6aad4dd5
jmp 0x6aad4d46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6aad4de4
add edi, ecx
jmp 0x6aad4d46
pop esi
mov edi, esi
mov ecx, 0x5e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6aad4e02
cmp byte [edi], 0
jne 0x6aad4e02
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 0x6aad4e07
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x6aad4e76
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6aad4e34
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14054]
or eax, eax
je 0x6aad4e70
mov dword [ebx], eax
add ebx, 4
jmp 0x6aad4e51
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 0x6aad4ea7
cmp al, 0xef
ja 0x6aad4e9a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6aad4e7c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6aad4e89
mov ebp, dword [esi + 0x14058]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x6aad4edb
sub esp, 0xffffff80
jmp 0x6aac19d0
Function at 0x10001f8b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1001c7f1
call fcn.1001c3b8
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test edi, edi
je 0x1000219d
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x10001fdd
sub edx, ecx
sar edx, 1
inc edx
push ecx
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x41c], edx
call fcn.10001357
test eax, eax
js 0x1000219d
mov esi, dword [ebp - 0x41c]
cmp esi, 0x400
jg 0x1000202e
mov ecx, esi
call fcn.10001387
test al, al
je 0x1000202e
mov eax, esi
call fcn.1001c519
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1000203a
push esi
lea ecx, [ebp - 0x428]
call fcn.10003cc3
push 3
push esi
mov edx, edi
mov ecx, eax
call fcn.10003cc3
mov edi, eax
test edi, edi
je 0x10002197
push 0x60
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov esi, eax
mov dword [ebp - 0x41c], esi
test esi, esi
jne 0x10002088
push 2
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov esi, eax
mov dword [ebp - 0x41c], eax
test esi, esi
jne 0x10002088
call fcn.10001543
mov edi, eax
jmp 0x1000217c
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x100020ab
call fcn.10001543
jmp 0x1000216f
push edi
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x100020a1
push edi
push esi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x424], edi
lea ecx, [edi + 1]
cmp ecx, edi
jae 0x100020de
mov edi, 0x8007000e
jmp 0x10002171
mov byte [ebp - 4], 2
call fcn.10005d4e
cmp eax, 0x400
jbe 0x100020fc
push eax
lea ecx, [ebp - 0x418]
call fcn.10003cc3
jmp 0x10002108
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x1000212c
cmp dword [ebp - 0x418], 0
je 0x100020d4
mov ecx, dword [ebp - 0x418]
mov edx, edi
push edi
push dword [ebp - 0x420]
call fcn.10003cc3
pop ecx
pop ecx
mov ecx, eax
call fcn.100014e5
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
push dword [ebp + 0x14]
mov byte [eax + edi], bl
push dword [ebp - 0x418]
call fcn.10003cc3
mov edi, eax
test esi, esi
je 0x1000217c
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100021b7
lea ecx, [ebp - 0x418]
call fcn.100058b0
jmp 0x100021b7
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x100021b2
lea ecx, [ebp - 0x418]
call fcn.100058b0
mov edi, 0x8007000e
lea ecx, [ebp - 0x428]
call fcn.10005668
mov eax, edi
lea esp, [ebp - 0x440]
call fcn.1001c309
ret 0x10
Function at 0x10003cc3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10003cd2
pop dword [ebp - 0x20]
mov eax, 0x10003cd2
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x60b2044
sub dword [ebp - 0x30], 0xb7b8daf9
mov dword [ebp - 0x2c], 0xd5f6d773
add dword [ebp - 0x2c], 0x5c3c74d2
mov dword [ebp - 0x28], 0xa2e0ec9a
add dword [ebp - 0x28], 0xa96b5794
mov dword [ebp - 0x24], 0x56fed75d
add dword [ebp - 0x24], 0xa90128a3
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x507a988
add dword [ebp - 0x30], 0x6f6abfce
mov dword [ebp - 0x2c], 0x8204b4b2
sub dword [ebp - 0x2c], 0x4098533d
mov dword [ebp - 0x28], 0x70ed2632
add dword [ebp - 0x28], 0xf282463a
mov dword [ebp - 0x24], 0x7f86447d
add dword [ebp - 0x24], 0x8079bb83
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x29dfbf0b
sub eax, 0x19dddedb
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x39dc7
push 0
call eax
mov ecx, 0x94eef32
add ecx, 0xf6b14f3f
mov ebx, eax
mov esi, 0x1002dc00
add esi, dword [ebp - 0x20]
mov edi, 0x959faf1e
add edi, 0xd9ccc2a0
sub dword [ebp - 4], 0xe078817a
mov edx, dword [esi]
add dword [ebp - 8], edx
sub edx, edi
xor dword [ebp - 4], eax
mov dword [ebx], edx
sub dword [ebp - 4], edx
add ebx, 4
add esi, 0xf8278ba3
add esi, 0x7d87461
loop 0x10003de4
add eax, 0x46cc240a
sub eax, 0x46cb3773
mov ebx, eax
add eax, 0xfe618af2
sub eax, 0xfe618aed
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x419ee0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x414015
lea edi, [esi - 0x13015]
push edi
jmp 0x419efa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419f01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419ef0
mov eax, 1
add ebx, ebx
jne 0x419f13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419f08
jne 0x419f24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419f08
xor ecx, ecx
sub eax, 3
jb 0x419f38
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419faa
mov ebp, eax
add ebx, ebx
jne 0x419f43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419f50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419f74
inc ecx
add ebx, ebx
jne 0x419f60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419f55
jne 0x419f71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419f55
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419f94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419f85
jmp 0x419ef6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419f94
add edi, ecx
jmp 0x419ef6
pop esi
mov edi, esi
mov ecx, 0x53
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419fb2
cmp byte [edi], 2
jne 0x419fb2
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 0x419fb7
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x41a026
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a748]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a7c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419fe4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a7d0]
or eax, eax
je 0x41a020
mov dword [ebx], eax
add ebx, 4
jmp 0x41a001
call dword [esi + 0x1a7cc]
mov ebp, dword [esi + 0x1a7d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41a05a
sub esp, 0xffffff80
jmp 0x401ed0