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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fbb38
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10126008]
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 0x100477f3
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.10048510
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x1004781c
lea edx, [esi + 8]
jmp 0x1004781e
xor edx, edx
mov ecx, ebx
call fcn.10011ea0
test al, al
jne 0x10047830
call fcn.10006720
jmp 0x10047832
xor eax, eax
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x10047853
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10047853
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x1004787c
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 0x10047891
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.100f1aea
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.100f1763
mov esp, ebp
pop ebp
ret 4
Function at 0x100478d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100faee8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10126008]
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 0x10047913
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.100485d0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x1004793d
lea edx, [esi + 8]
jmp 0x1004793f
xor edx, edx
mov ecx, ebx
mov dword [ebp - 0x18], edx
call fcn.10011ea0
test al, al
jne 0x10047954
call fcn.10006720
jmp 0x10047956
xor eax, eax
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
test eax, eax
jne 0x100479a3
call ecx
cmp eax, 5
jne 0x1004799d
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebx
call fcn.10011ea0
test al, al
jne 0x1004798d
call fcn.10006720
jmp 0x1004798f
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 0x100479c1
call ecx
cmp eax, 0xb7
jne 0x100479b6
mov byte [edi + 5], 1
mov ecx, dword [edi]
call fcn.10047df0
mov eax, dword [edi]
test eax, eax
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x100479e7
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 0x100479fc
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.100f1aea
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.100f1763
mov esp, ebp
pop ebp
ret 4
Function at 0x10049800
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x10126008]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x10049865
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10049840
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10049865
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.100f1763
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100f1763
add esp, 8
ret 4
Function at 0x1004a7c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fc220
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10126008]
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 esi, ecx
mov eax, dword [esi]
mov edi, dword [ebp + 8]
test eax, eax
je 0x1004a8a7
cmp byte [eax + 0x54], 0
je 0x1004a8a7
add eax, 0x1c
lea ecx, [ebp - 0x38]
push eax
call fcn.1003d1f0
push 0
mov edx, edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10045180
add esp, 4
mov byte [ebp - 4], 1
lea edi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [esi]
cmovae edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 8
jb 0x1004a842
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1004a88c
push 2
push 0
push 0
push esi
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x30]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.10036400
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1003d240
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.100f1763
mov esp, ebp
pop ebp
ret 4
Function at 0x1007c600
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov ebp, edx
push 0
push 0x14
mov dword [ebx], 0
call fcn.1004d830
mov esi, eax
add esp, 8
test esi, esi
jne 0x1007c628
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
ret
cmp byte [0x1012604c], 0
mov edi, dword [esp + 0x14]
je 0x1007c671
mov eax, dword [0x1012613c]
test eax, eax
je 0x1007c64c
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x1007c671
lea eax, [esi + 4]
mov dword [esi + 8], ebp
push eax
push 0
push esi
push 0x10050720
push 0
push 0
mov dword [esi + 0xc], edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x1007c67e
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x1007c696
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebx], esi
xor eax, eax
pop esi
pop ebp
pop ebx
ret
Function at 0x100894a0
Capabilities:
Reference sql statements

Disassembly:
push ebx
push edi
push dword [esp + 0xc]
mov edi, edx
mov ebx, ecx
push edi
push str.sqlite_master
push edi
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
push ebx
call fcn.1008e120
add esp, 0x18
cmp dword [esp + 0xc], 0
jne 0x100894da
push edi
push str.sqlite_master
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
push ebx
call fcn.1008e120
add esp, 0x10
pop edi
pop ebx
ret

Function at 0x1008e230
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebx, ecx
mov ebp, edx
mov ecx, dword [esp + 0x14]
push esi
push edi
mov dword [esp + 0x10], ebx
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x1008e2cb
nop
mov edi, esi
xor edi, 1
cmp esi, 2
cmovge edi, esi
test ecx, ecx
je 0x1008e283
mov edx, edi
mov eax, ecx
mov ecx, dword [ebx + 0x10]
add edx, edx
mov ebx, dword [ecx + edx*8]
sub ebx, dword [esp + 0x1c]
nop
movzx edx, byte [eax]
movzx ecx, byte [ebx + eax]
cmp edx, ecx
jne 0x1008e2a8
test edx, edx
jne 0x1008e2ba
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
add edi, edi
push 0
mov edx, ebp
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
call fcn.100524f0
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x1008e32a
jmp 0x1008e2c1
movzx ecx, byte [ecx + 0x100fff40]
movzx edx, byte [edx + 0x100fff40]
sub edx, ecx
jne 0x1008e2bd
inc eax
jmp 0x1008e270
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x1008e250
mov edx, str.sqlite_master
sub edx, ebp
movzx ecx, byte [ebp]
movzx eax, byte [edx + ebp]
cmp ecx, eax
jne 0x1008e2f6
test ecx, ecx
jne 0x1008e308
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
test ecx, ecx
jne 0x1008e30b
neg eax
sbb eax, eax
jmp 0x1008e31a
movzx eax, byte [eax + 0x100fff40]
movzx ecx, byte [ecx + 0x100fff40]
sub ecx, eax
jne 0x1008e328
inc ebp
jmp 0x1008e2d2
test eax, eax
je 0x1008e328
mov edx, eax
call fcn.10051050
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x1008e328
mov ebp, str.sqlite_temp_master
jmp 0x1008e243
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1008e670
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, ecx
mov dword [esp + 4], edx
push ebx
push edi
xor ebx, ebx
mov dword [esp + 0x10], eax
xor edi, edi
cmp dword [eax + 0x14], ebx
jle 0x1008e70a
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov eax, dword [eax + 0x10]
mov esi, edi
xor esi, 1
cmp edi, 2
cmovge esi, edi
shl esi, 4
add esi, eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x1008e6c9
mov esi, dword [esi]
mov eax, ebp
sub esi, ebp
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x1008e6f5
test edx, edx
jne 0x1008e707
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [eax + 0x18]
push 0
call fcn.100524f0
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x1008e6eb
mov eax, dword [esp + 0x18]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x1008e692
pop esi
pop ebp
pop edi
mov eax, ebx
pop ebx
add esp, 0x10
ret
movzx ecx, byte [ecx + 0x100fff40]
movzx edx, byte [edx + 0x100fff40]
sub edx, ecx
jne 0x1008e6e1
inc eax
jmp 0x1008e6b6
pop edi
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x100e4a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push 0x38
xorps xmm0, xmm0
lea eax, [esp + 0x4c]
mov ebp, edx
movlpd qword [esp + 0x2c], xmm0
mov ebx, ecx
mov dword [esp + 0x20], ebp
push 0
movups xmmword [esp + 0x40], xmm0
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], 0x13
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x48]
mov edx, ebp
mov ecx, ebx
push eax
push 1
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esp + 0xa0]
call fcn.100d5000
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x100e4c3e
push dword [esp + 0x3c]
lea eax, [esp + 0x3c]
mov ecx, ebx
push dword [esp + 0x3c]
lea edx, [esp + 0x50]
mov dword [esp + 0x5c], eax
call fcn.100e0550
mov esi, eax
add esp, 8
test esi, esi
jne 0x100e4c3e
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.100e0670
mov esi, eax
cmp esi, 0x64
jne 0x100e4c3e
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x20]
mov ebp, dword [esp + 0x7c]
xorps xmm0, xmm0
mov ecx, edi
movlpd qword [esp + 0x20], xmm0
add ebp, edi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x28], xmm0
call fcn.100d1250
lea esi, [edi + eax]
cmp esi, ebp
jae 0x100e4c1e
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movlpd qword [esp + 0x20], xmm0
call fcn.100d1250
add esi, eax
cmp esi, ebp
jae 0x100e4c1a
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov edx, dword [esp + 0x24]
or eax, edx
je 0x100e4bc6
cmp ecx, 1
jne 0x100e4b86
test edx, edx
je 0x100e4bc6
mov eax, dword [esp + 0x28]
add ecx, 0xfffffffe
adc edx, 0xffffffff
add eax, ecx
mov ecx, dword [esp + 0x70]
adc dword [esp + 0x2c], edx
mov edx, dword [esp + 0x74]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x30], eax
push edi
push ebx
push dword [esp + 0x98]
push dword [esp + 0x30]
call fcn.100e49b0
xor dword [esp + 0x2c], eax
add esp, 0x18
xor dword [esp + 0x10], edx
jmp 0x100e4c12
xorps xmm0, xmm0
or ecx, edx
movlpd qword [esp + 0x30], xmm0
mov ecx, esi
movlpd qword [esp + 0x28], xmm0
je 0x100e4be8
lea edx, [esp + 0x30]
call fcn.100d1250
add esi, eax
jmp 0x100e4c12
lea edx, [esp + 0x20]
call fcn.100d1250
add esi, eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xef], 0
je 0x100e4c0a
sub ebx, dword [esp + 0x20]
sbb edi, dword [esp + 0x24]
jmp 0x100e4c12
add ebx, dword [esp + 0x20]
adc edi, dword [esp + 0x24]
cmp esi, ebp
jb 0x100e4b51
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.100e0670
mov esi, eax
cmp esi, 0x64
je 0x100e4b14
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jmp 0x100e4c46
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x48]
call fcn.100e0dd0
mov ecx, dword [esp + 0x8c]
mov edx, edi
pop edi
mov eax, ebp
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x100ef070
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, edx
mov dword [esp + 0x10], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov esi, ecx
mov dword [esp + 0x14], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
push edi
mov edi, dword [esi + ebx*4 + 0x18]
test edi, edi
jne 0x100ef0ac
push dword [esi + 8]
push dword [esi + 4]
push dword [esp + ebx*4 + 0x1c]
push esi
call fcn.100eef90
mov edi, eax
add esp, 0x10
mov dword [esi + ebx*4 + 0x18], edi
cmp dword [esi + 0x28], 0
jne 0x100ef16c
mov ebp, dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
push 1
push edi
call fcn.10073b30
push edi
call fcn.10072880
add esp, 0x14
cmp eax, 0x65
jne 0x100ef103
mov ecx, str.__parent
test ebx, ebx
mov eax, str.__rowid
cmove eax, ecx
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebp
push ecx
push str.Mapping___lld_____lld__missing_from__s_table
push esi
call fcn.100ef010
add esp, 0x1c
jmp 0x100ef15a
cmp eax, 0x64
jne 0x100ef15a
push 0
push edi
call fcn.100731a0
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jne 0x100ef125
cmp edx, ecx
je 0x100ef15a
push ecx
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
test ebx, ebx
push ebp
push ecx
mov eax, str.__rowid
mov dword [esp + 0x20], str.__parent
cmove eax, dword [esp + 0x20]
push eax
push edx
push dword [esp + 0x2c]
push ebp
push ecx
push str.Found___lld_____lld__in__s_table__expected___lld_____lld_
push esi
call fcn.100ef010
add esp, 0x2c
push edi
call fcn.100718d0
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x100ef16c
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x10bb420
Capabilities:
Decompress data using aplib

Disassembly:
call 0x10bb570
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10bb446
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10bb432
add dl, dl
jne 0x10bb451
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10bb4a4
xor eax, eax
add dl, dl
jne 0x10bb45e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10bb545
add dl, dl
jne 0x10bb46d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10bb478
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10bb483
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10bb48e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10bb49a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10bb43d
mov eax, 1
add dl, dl
jne 0x10bb4b2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10bb4bd
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10bb4a9
sub eax, ebx
mov ebx, 1
jne 0x10bb4f0
mov ecx, 1
add dl, dl
jne 0x10bb4d6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10bb4e1
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10bb4cd
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10bb43d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10bb507
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10bb512
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10bb4fe
cmp eax, 0x7d00
jae 0x10bb535
cmp eax, 0x500
jb 0x10bb530
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10bb43d
cmp eax, 0x7f
ja 0x10bb538
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10bb43d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10bb566
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10bb43d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x406560
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41cb2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4042e4
call fcn.004090f4
push 4
mov dword [esp + 0x18], 0
call fcn.0040a5b6
mov edi, eax
add esp, 4
test edi, edi
je 0x4065d4
push ebx
call fcn.00408eef
mov dword [edi], eax
call fcn.00408cae
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.004090b5
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4065c8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.004090dd
pop ebx
jmp 0x4065d6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40b0ae
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4203dc]
jne 0x40b0b8
repz ret
jmp fcn.00410bcc
Function at 0x415fdb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4203dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040dd8b
and dword [ebp - 0x14], 0
cmp dword [0x4378b0], 0
mov dword [ebp - 0x18], eax
jne 0x41608e
push 0x403f20
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416136
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403f14
push ebx
call edi
test eax, eax
je 0x416136
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403f04
push ebx
mov dword [0x4378b0], eax
call edi
push eax
call esi
push 0x403ef0
push ebx
mov dword [0x4378b4], eax
call edi
push eax
call esi
push 0x403ed4
push ebx
mov dword [0x4378b8], eax
call edi
push eax
call esi
mov dword [0x4378c0], eax
test eax, eax
je 0x41608e
push 0x403ebc
push ebx
call edi
push eax
call esi
mov dword [0x4378bc], eax
mov eax, dword [0x4378bc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4160e7
cmp dword [0x4378c0], ecx
je 0x4160e7
push eax
call esi
push dword [0x4378c0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4160e7
test ebx, ebx
je 0x4160e7
call edi
test eax, eax
je 0x4160de
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4160de
test byte [ebp - 8], 1
jne 0x4160e7
or dword [ebp + 0x10], 0x200000
jmp 0x41611a
mov eax, dword [0x4378b4]
cmp eax, dword [ebp - 0x18]
je 0x41611a
push eax
call esi
test eax, eax
je 0x41611a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41611a
mov eax, dword [0x4378b8]
cmp eax, dword [ebp - 0x18]
je 0x41611a
push eax
call esi
test eax, eax
je 0x41611a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4378b0]
call esi
test eax, eax
je 0x416136
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416138
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b0ae
leave
ret
Function at 0x40b5ce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c5f8]
jne 0x40b5d8
repz ret
jmp fcn.0040e04b

Function at 0x40cb03
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43c5f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040818d
and dword [ebp - 0x14], 0
cmp dword [0x440718], 0
mov dword [ebp - 0x18], eax
jne 0x40cbb6
push 0x4023e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40cc5e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4023d8
push ebx
call edi
test eax, eax
je 0x40cc5e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4023c8
push ebx
mov dword [0x440718], eax
call edi
push eax
call esi
push 0x4023b4
push ebx
mov dword [0x44071c], eax
call edi
push eax
call esi
push 0x402398
push ebx
mov dword [0x440720], eax
call edi
push eax
call esi
mov dword [0x440728], eax
test eax, eax
je 0x40cbb6
push 0x402380
push ebx
call edi
push eax
call esi
mov dword [0x440724], eax
mov eax, dword [0x440724]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40cc0f
cmp dword [0x440728], ecx
je 0x40cc0f
push eax
call esi
push dword [0x440728]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40cc0f
test ebx, ebx
je 0x40cc0f
call edi
test eax, eax
je 0x40cc06
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40cc06
test byte [ebp - 8], 1
jne 0x40cc0f
or dword [ebp + 0x10], 0x200000
jmp 0x40cc42
mov eax, dword [0x44071c]
cmp eax, dword [ebp - 0x18]
je 0x40cc42
push eax
call esi
test eax, eax
je 0x40cc42
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40cc42
mov eax, dword [0x440720]
cmp eax, dword [ebp - 0x18]
je 0x40cc42
push eax
call esi
test eax, eax
je 0x40cc42
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x440718]
call esi
test eax, eax
je 0x40cc5e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40cc60
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b5ce
leave
ret