joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402106
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
push 0x404075
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
sub esp, 0xe
mov byte [esp], 0x6d
mov byte [esp + 1], 0x63
mov byte [esp + 2], 0x69
mov byte [esp + 3], 0x53
mov byte [esp + 4], 0x65
mov byte [esp + 5], 0x6e
mov byte [esp + 6], 0x64
mov byte [esp + 7], 0x53
mov byte [esp + 8], 0x74
mov byte [esp + 9], 0x72
mov byte [esp + 0xa], 0x69
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xc], 0x67
mov byte [esp + 0xd], 0x41
mov byte [esp + 0xe], 0
lea eax, [esp]
push eax
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x4060ec], eax
leave
ret

Function at 0x403576
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push 0x40
push ebx
push eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x403370
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea568
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x12
xor eax, eax
mov dword [ebp - 0x18], 0
push str.PdfConverterWidget
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00405050
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00405050
lea eax, [ebp - 0x4c]
push eax
push 0x403530
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x30]
xor esi, esi
mov ecx, dword [ebp - 0x34]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x403446
mov edi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push 0
push 0xbb8
push 3
push 0
push 0
push 0x10
push dword [ecx + esi*4]
call edi
mov eax, dword [ebp - 0x30]
inc esi
mov ecx, dword [ebp - 0x34]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x403422
lea ecx, [ebp - 0x34]
call fcn.00404f00
lea ecx, [ebp - 0x4c]
call fcn.00404fe0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x403497
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40348d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40351a
push edx
push ecx
call fcn.004c35e6
add esp, 8
push 0x12
xor eax, eax
mov dword [ebp - 0x18], 0
push str.2345PdfProcess.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00405050
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
call fcn.00479170
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4034ff
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4034f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40351f
push edx
push ecx
call fcn.004c35e6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c35a5
mov esp, ebp
pop ebp
ret
call fcn.004cbcdf
call fcn.004cbcdf
int3
Function at 0x4072e0
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x140
mov eax, dword [0x53b098]
xor eax, esp
mov dword [esp + 0x13c], eax
push esi
mov esi, dword [esp + 0x148]
push 0x118
push 0
lea eax, [esi + 4]
push eax
call fcn.004c5c20
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x407427
cmp dword [esi + 4], 6
push edi
ja 0x40733b
jne 0x4073c3
cmp dword [esi + 8], 2
jb 0x4073c3
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x4073c3
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4073c3
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4073c3
movups xmm0, xmmword [0x5129d8]
push eax
movups xmmword [esp + 0x128], xmm0
movups xmm0, xmmword [0x5129e8]
movups xmmword [esp + 0x138], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4073c3
lea eax, [esp + 0x124]
push eax
lea ecx, [edi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4073c3
cmp word [edi + 2], ax
jbe 0x4073c3
movzx edx, word [edi + 0x32]
movzx ecx, word [edi + 0x30]
movzx eax, word [edi + 0x36]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x40740e
push 0x118
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004c5c20
add esp, 0xc
mov dword [esp + 8], 0x11c
lea eax, [esp + 8]
push eax
call edi
test eax, eax
jne 0x40740e
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.004c35a5
add esp, 0x140
ret
mov ecx, dword [esp + 0x140]
xor al, al
pop esi
xor ecx, esp
call fcn.004c35a5
add esp, 0x140
ret

Function at 0x408d90
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eac04
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x53b098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00404d40
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00404d40
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.00404d40
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.00404d40
mov byte [ebp - 4], 3
lea ecx, [esi + 0x70]
mov word [esi + 0x60], 0x101
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
call fcn.00404d40
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40a4e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb0d0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00404c10
test al, al
je 0x40a51d
xor al, al
jmp 0x40a6db
push edi
call fcn.00409cc0
add esp, 4
test al, al
je 0x40a531
mov al, 1
jmp 0x40a6db
push 0
mov ecx, edi
call fcn.00404c20
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push eax
call ebx
test eax, eax
jne 0x40a580
lea ecx, [ebp - 0x28]
call fcn.00404d40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0041da10
test al, al
je 0x40a571
push 0
lea ecx, [ebp - 0x28]
call fcn.00404c20
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004049a0
push edi
call fcn.00409cc0
add esp, 4
test al, al
jne 0x40a52a
mov ecx, edi
call fcn.00405040
xor esi, esi
mov dword [ebp - 0x44], eax
test eax, eax
je 0x40a67c
mov ecx, edi
call fcn.00404e90
mov ebx, eax
nop word [eax + eax]
mov ecx, dword [ebx + 0x14]
mov eax, ebx
cmp ecx, 8
jb 0x40a5bc
mov eax, dword [ebx]
mov edx, 0x2f
cmp dx, word [eax + esi*2]
mov edx, 0x5c
je 0x40a5df
mov eax, ebx
cmp ecx, 8
jb 0x40a5d5
mov eax, dword [ebx]
cmp dx, word [eax + esi*2]
jne 0x40a66c
push esi
push 0
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004084f0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00404c10
test al, al
jne 0x40a65d
lea eax, [ebp - 0x28]
push eax
call fcn.00409aa0
add esp, 4
test al, al
jne 0x40a65d
push 0
lea ecx, [ebp - 0x28]
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40a65d
lea ecx, [ebp - 0x40]
call fcn.00404d40
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0041da10
test al, al
je 0x40a651
push 0
lea ecx, [ebp - 0x40]
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004049a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004049a0
inc esi
cmp esi, dword [ebp - 0x44]
jb 0x40a5b0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
call fcn.00409aa0
add esp, 4
test al, al
jne 0x40a6d2
push 0
mov ecx, edi
call fcn.00404c20
push eax
call ebx
test eax, eax
jne 0x40a6d2
lea ecx, [ebp - 0x40]
call fcn.00404d40
mov dword [ebp - 4], 3
lea edx, [ebp - 0x40]
mov ecx, edi
call fcn.0041da10
test al, al
je 0x40a6c3
push 0
lea ecx, [ebp - 0x40]
call fcn.00404c20
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004049a0
push edi
call fcn.00409cc0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c35a5
mov esp, ebp
pop ebp
ret
Function at 0x40b770
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
mov dword [esi], 0
mov word [esi + 4], 0
call fcn.00404c10
test al, al
jne 0x40b797
mov ecx, dword [esp + 8]
call fcn.00404c20
jmp 0x40b799
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
je 0x40b7c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, esi
jne 0x40b7c3
mov byte [esi + 5], 1
pop esi
ret 4
mov eax, esi
pop esi
ret 4

Function at 0x40b820
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb278
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
test eax, eax
je 0x40b866
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.00417a30
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x40b88f
lea ebx, [esi + 8]
jmp 0x40b891
xor ebx, ebx
mov ecx, dword [ebp - 0x18]
call fcn.00404c10
test al, al
jne 0x40b8a7
mov ecx, dword [ebp - 0x18]
call fcn.00404c20
jmp 0x40b8a9
xor eax, eax
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x40b8ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40b8ca
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x40b8f3
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 eax, dword [esi + 4]
test eax, eax
je 0x40b908
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.004c35e6
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c35a5
mov esp, ebp
pop ebp
ret 4
Function at 0x40b940
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb2a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x40b983
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push ecx
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.00417af0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x40b9b0
lea eax, [esi + 8]
mov dword [ebp - 0x18], eax
jmp 0x40b9b7
mov dword [ebp - 0x18], 0
mov ecx, ebx
call fcn.00404c10
test al, al
jne 0x40b9cb
mov ecx, ebx
call fcn.00404c20
jmp 0x40b9cd
xor eax, eax
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
test eax, eax
jne 0x40ba1e
call ecx
cmp eax, 5
jne 0x40ba18
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebx
call fcn.00404c10
test al, al
jne 0x40ba08
mov ecx, ebx
call fcn.00404c20
jmp 0x40ba0a
xor eax, eax
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [edi]
test eax, eax
je 0x40ba3c
call ecx
cmp eax, 0xb7
jne 0x40ba31
mov byte [edi + 5], 1
mov ecx, dword [edi]
call fcn.00416490
mov eax, dword [edi]
test eax, eax
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x40ba62
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 eax, dword [esi + 4]
test eax, eax
je 0x40ba77
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.004c35e6
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c35a5
mov esp, ebp
pop ebp
ret 4
Function at 0x40eb50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x418]
sub esp, 0x418
push 0xfffffffffffffffe
push 0x523648
push 0x4c4dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x53b098]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x414], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x424]
mov dword [ebp - 0x20], eax
xor bl, bl
mov byte [ebp - 0x19], bl
push 0x412
push 0
lea eax, [ebp]
push eax
call fcn.004c5c20
add esp, 0xc
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.0040e970
cmp byte [edi + 0x30], bl
je 0x40ebf9
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40ec1e
test al, 0x10
jne 0x40ec1e
call fcn.00419750
push 0
lea ecx, [ebp]
push ecx
mov ecx, eax
call fcn.00419a40
test al, al
je 0x40ec1e
mov dword [edi + 0x34], 0
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0
test esi, esi
jne 0x40ec22
mov dword [ebp - 4], 0xfffffffe
xor al, al
jmp 0x40ec85
push str.ExtractArchive
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ec53
mov dword [edi + 0x34], esi
push edi
push 0x40e870
push 0x510ae0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call eax
add esp, 0x14
test eax, eax
sete bl
mov byte [ebp - 0x19], bl
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 0xfffffffe
jmp 0x40ec78
test esi, esi
je 0x40ec83
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.004c35a5
lea esp, [ebp + 0x418]
pop ebp
ret 0xc
Function at 0x40ecb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x418]
sub esp, 0x418
push 0xfffffffffffffffe
push 0x523668
push 0x4c4dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x53b098]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x414], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x424]
mov dword [ebp - 0x20], eax
xor bl, bl
mov byte [ebp - 0x19], bl
push 0x412
push 0
lea eax, [ebp]
push eax
call fcn.004c5c20
add esp, 0xc
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.0040e970
cmp byte [edi + 0x30], bl
je 0x40ed59
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40ed7e
test al, 0x10
jne 0x40ed7e
call fcn.00419750
push 0
lea ecx, [ebp]
push ecx
mov ecx, eax
call fcn.00419a40
test al, al
je 0x40ed7e
mov dword [edi + 0x34], 0
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0
test esi, esi
jne 0x40ed82
mov dword [ebp - 4], 0xfffffffe
xor al, al
jmp 0x40ede8
push str.ExtractArchive2
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40edb6
mov dword [edi + 0x34], esi
push dword [edi + 0x38]
push edi
push 0x40e870
push 0x510ae0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call eax
add esp, 0x18
test eax, eax
sete bl
mov byte [ebp - 0x19], bl
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 0xfffffffe
jmp 0x40eddb
test esi, esi
je 0x40ede6
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.004c35a5
lea esp, [ebp + 0x418]
pop ebp
ret 0xc
Function at 0x412700
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec428
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push 2
push 0xffffffffffffffff
push 0xffff8000
movlpd qword [ebp - 0x3c], xmm0
call fcn.00418d30
test al, al
jne 0x412760
mov eax, 1
jmp 0x4128dd
push 0x10000
call fcn.004c3e0d
mov ebx, eax
mov dword [ebp - 0x18], 0
add esp, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
push 0x10000
push 0
push ebx
call fcn.004c5c20
mov eax, dword [esi]
add esp, 0xc
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x4128b6
test ebx, ebx
je 0x4128b6
cmp dword [eax], 0xffffffff
je 0x4128b6
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x8000
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4128b6
mov esi, dword [ebp - 0x20]
mov ecx, 0x8000
xor ebx, ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], ecx
add esi, ecx
nop word [eax + eax]
cmp byte [edi + 0x9c], 0
jne 0x4128ac
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push edx
push ecx
mov ecx, dword [ebp - 0x34]
lea eax, [esi + ebx]
push eax
call fcn.0042c860
test al, al
je 0x41289f
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x412852
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x412841
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x9c], 0
jne 0x4128ac
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
jmp 0x41285c
add ebx, eax
cmp ebx, 0x8000
je 0x41286c
cmp dword [ebp - 0x28], 0xf
ja 0x412895
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov dword [ebp - 0x2c], ecx
jne 0x4127f0
mov ebx, dword [ebp - 0x20]
mov edx, 0x7ffc
mov ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x41288e
add ecx, 4
add esi, 4
sub edx, 4
jae 0x412876
mov esi, 4
jmp 0x4128c7
mov esi, 5
jmp 0x4128c7
mov ebx, dword [ebp - 0x20]
mov esi, 3
jmp 0x4128c7
mov eax, dword [ebp - 0x30]
mov esi, 3
mov ebx, dword [ebp - 0x20]
jmp 0x4128c1
mov ebx, dword [ebp - 0x20]
mov esi, 2
jmp 0x4128c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov dword [edi + 0xb0], eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4128db
push ebx
call fcn.004c3c0d
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c35a5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x412900
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec468
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x40], 0
call fcn.00404d60
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
push 0x512a66
lea ecx, [ebp - 0x58]
mov dword [edi + 0xb4], 0
call fcn.00406d00
mov byte [ebp - 4], 2
lea eax, [edi + 0x40]
push ecx
mov ecx, dword [ebp - 0x3c]
push eax
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x30]
push dword [ebp + 0x10]
push eax
push dword [ebx + 4]
call fcn.0042b5f0
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00404e30
test bl, bl
jne 0x4129c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x412a7e
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push ecx
push eax
push 0x13
mov ecx, ebx
mov dword [ebp - 0x14], 0
call fcn.0042b1c0
test al, al
jne 0x4129f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x412a7e
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xb4], eax
cmp eax, 0xc8
je 0x412a6b
cmp eax, 0xce
je 0x412a6b
cmp eax, 0x12e
jne 0x412a9f
mov ecx, 0x400
mov dword [ebp - 0x34], ecx
test esi, esi
jne 0x412a33
push 0x800
call fcn.004c3e0d
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x34]
add ecx, ecx
push ecx
push 0
push esi
call fcn.004c5c20
add esp, 8
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
push esi
push 0x21
call fcn.0042b230
test al, al
je 0x412a9f
push esi
call fcn.004051b0
add esp, 4
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.00405050
mov ebx, dword [ebp - 0x38]
jmp 0x412a8f
cmp dword [ebp + 0x14], 0
ja 0x412a77
cmp dword [ebp + 0x10], 0
jbe 0x412aa3
cmp eax, 0xce
je 0x412aa3
mov ebx, dword [ebp - 0x38]
cmp dword [ebx + 4], 0
je 0x412a9f
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 3
jb 0x412963
xor bl, bl
jmp 0x412aaf
mov dword [edi + 0xb0], 0
mov bl, 1
mov byte [ebp - 4], 0
test esi, esi
je 0x412ac0
push esi
call fcn.004c3c0d
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004049a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c35a5
mov esp, ebp
pop ebp
ret 0x10