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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push ebx
push esi
push edi
mov esi, str.eTaxFactory_6.0a
lea edi, [ebp - 0x40]
lea eax, [ebp - 0x9c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
push eax
mov byte [ebp - 0x14], 0x30
mov byte [ebp - 0x13], 0x31
mov byte [ebp - 0x12], 0x32
mov byte [ebp - 0x11], 0x33
mov byte [ebp - 0x10], 0x34
mov byte [ebp - 0xf], 0x35
mov byte [ebp - 0xe], 0x36
mov byte [ebp - 0xd], 0x37
mov byte [ebp - 0xc], 0x38
mov byte [ebp - 0xb], 0x39
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 9], 0x42
mov byte [ebp - 8], 0x43
mov byte [ebp - 7], 0x44
mov byte [ebp - 6], 0x45
mov byte [ebp - 5], 0x46
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call fcn.004119a7
pop ecx
xor ebx, ebx
lea eax, [ebp - 0x40]
xor edi, edi
push eax
call fcn.0040b0c0
test eax, eax
pop ecx
jbe 0x410bca
mov al, byte [ebp + edi - 0x40]
mov cl, bl
mov dl, al
push 1
shr dl, cl
mov ecx, ebx
shl al, cl
or dl, al
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 1], dl
call fcn.00411bb4
lea eax, [ebp - 0x40]
inc edi
push eax
call fcn.0040b0c0
add esp, 0x10
cmp edi, eax
jb 0x410b94
inc ebx
cmp ebx, 8
jb 0x410b84
lea eax, [ebp - 0x9c]
push eax
call fcn.00411c60
lea eax, [ebp - 0x9c]
push 8
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004075d0
mov ebx, dword [ebp + 8]
push ebx
call fcn.0040b0c0
mov edi, eax
lea eax, [edi + edi + 2]
push eax
call fcn.0040753c
add esp, 0x18
cmp eax, esi
mov dword [ebp + 8], eax
je 0x410c8b
push 0x10
mov esi, eax
call fcn.00411757
test eax, eax
pop ecx
mov dword [ebp - 0x18], eax
je 0x410c88
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.004117df
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x18]
call fcn.00411882
push edi
push ebx
push ebx
push dword [ebp - 0x18]
call fcn.004118ac
add esp, 0x20
xor eax, eax
test edi, edi
jbe 0x410c73
mov cl, byte [eax + ebx]
sar ecx, 4
and ecx, 0xf
mov cl, byte [ebp + ecx - 0x14]
mov byte [esi], cl
mov cl, byte [eax + ebx]
and ecx, 0xf
inc esi
mov cl, byte [ebp + ecx - 0x14]
mov byte [esi], cl
inc esi
inc eax
cmp eax, edi
jb 0x410c51
push edi
push 0
push ebx
call fcn.00407280
lea eax, [ebp - 0x18]
push eax
call fcn.0041178f
add esp, 0x10
and byte [esi], 0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x410db8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
mov esi, str.eTaxFactory_6.0a
lea edi, [ebp - 0x44]
lea eax, [ebp - 0xa0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
push eax
mov byte [ebp - 0x18], 0x30
mov byte [ebp - 0x17], 0x31
mov byte [ebp - 0x16], 0x32
mov byte [ebp - 0x15], 0x33
mov byte [ebp - 0x14], 0x34
mov byte [ebp - 0x13], 0x35
mov byte [ebp - 0x12], 0x36
mov byte [ebp - 0x11], 0x37
mov byte [ebp - 0x10], 0x38
mov byte [ebp - 0xf], 0x39
mov byte [ebp - 0xe], 0x41
mov byte [ebp - 0xd], 0x42
mov byte [ebp - 0xc], 0x43
mov byte [ebp - 0xb], 0x44
mov byte [ebp - 0xa], 0x45
mov byte [ebp - 9], 0x46
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], edi
call fcn.004119a7
pop ecx
xor ebx, ebx
lea eax, [ebp - 0x44]
xor esi, esi
push eax
call fcn.0040b0c0
test eax, eax
pop ecx
jbe 0x410e74
mov al, byte [ebp + esi - 0x44]
mov cl, bl
mov dl, al
push 1
shr dl, cl
mov ecx, ebx
shl al, cl
or dl, al
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 1], dl
call fcn.00411bb4
lea eax, [ebp - 0x44]
inc esi
push eax
call fcn.0040b0c0
add esp, 0x10
cmp esi, eax
jb 0x410e3e
inc ebx
cmp ebx, 8
jb 0x410e2e
lea eax, [ebp - 0xa0]
push eax
call fcn.00411c60
lea eax, [ebp - 0xa0]
push 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004075d0
mov esi, dword [ebp + 8]
push esi
call fcn.0040b0c0
add esp, 0x14
cmp eax, 2
jb 0x410f7e
lea ebx, [eax + 1]
shr ebx, 1
lea eax, [ebx + 1]
push eax
call fcn.0040753c
cmp eax, edi
pop ecx
mov dword [ebp - 8], eax
je 0x410f7e
mov edi, eax
lea eax, [ebx + ebx]
test eax, eax
jbe 0x410f37
or eax, 0xffffffff
inc esi
sub eax, dword [ebp + 8]
mov dword [ebp + 8], eax
movsx eax, byte [esi - 1]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040bcb0
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x410efc
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x18]
mov dl, 0xf
imul dl
add al, cl
shl al, 4
mov byte [edi], al
movsx eax, byte [esi]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040bcb0
pop ecx
test eax, eax
pop ecx
jne 0x410f20
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x18]
sub al, cl
or byte [edi], al
mov eax, dword [ebp + 8]
inc esi
inc esi
inc edi
lea ecx, [eax + esi]
lea eax, [ebx + ebx]
cmp ecx, eax
jb 0x410ee3
push 0x11
call fcn.00411757
test eax, eax
pop ecx
mov dword [ebp - 0x1c], eax
je 0x410f77
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004117df
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x1c]
call fcn.00411882
push ebx
push dword [ebp - 8]
push dword [ebp - 8]
push dword [ebp - 0x1c]
call fcn.004118ac
lea eax, [ebp - 0x1c]
push eax
call fcn.0041178f
add esp, 0x24
mov eax, dword [ebp - 8]
and byte [ebx + eax], 0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4118ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x411968
cmp dword [ebp + 0x14], 0
jbe 0x411968
test byte [edi + 0x1c], 0x10
je 0x411968
push 8
pop esi
cmp dword [ebp + 0x14], esi
ja 0x4118de
mov esi, dword [ebp + 0x14]
test esi, esi
jle 0x411968
xor eax, eax
lea ecx, [ebp - 8]
mov al, byte [edi + 0x1d]
lea ebx, [edi + 0xc]
push 1
push ecx
mov eax, dword [eax*4 + 0x458394]
push ebx
push edi
call dword [eax + 8]
add esp, 0x10
test byte [edi + 0x1c], 1
je 0x411918
push 8
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0041196d
add esp, 0x10
xor ecx, ecx
test esi, esi
jle 0x411942
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 8]
sub edi, eax
lea eax, [ebp - 8]
sub edx, eax
lea eax, [ebp + ecx - 8]
mov bl, byte [edi + eax]
xor bl, byte [eax]
inc ecx
cmp ecx, esi
mov byte [edx + eax], bl
jl 0x41192e
mov edi, dword [ebp + 8]
test byte [edi + 0x1c], 1
jne 0x41195a
push 8
push esi
push dword [ebp + 0x10]
lea eax, [edi + 0xc]
push eax
call fcn.0041196d
add esp, 0x10
sub dword [ebp + 0x14], esi
add dword [ebp + 0x10], esi
add dword [ebp + 0xc], esi
jmp 0x4118d3
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4119a7
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x415350
Capabilities:
Get graphical window text

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

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

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x41802a
cmp dword [edi + 0x3c], 0
jne 0x41802a
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0042e1c1
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00418057
pop edi
pop esi
pop ebx
ret 8

Function at 0x4180a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0042e1c1
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4180d6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004180e9
pop edi
pop esi
pop ebx
ret 8
Function at 0x4183e6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4345e4
call fcn.004072d8
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0042e1c1
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x418425
call fcn.0042e1c1
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x418433
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x418441
or eax, 0xffffffff
jmp 0x418529
mov ecx, esi
call fcn.0041835c
mov dword [ebp - 0x14], eax
call fcn.0041aa89
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x418478
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x418478
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.0041aa3d
push dword [ebp - 0x14]
call fcn.0041a58a
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004180e9
cmp eax, edi
je 0x4184eb
test byte [esi + 0x24], 0x10
je 0x4184b9
push 4
mov ecx, esi
pop ebx
call fcn.00419596
test ah, 1
je 0x4184b1
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0041cd97
cmp dword [esi + 0x1c], edi
je 0x4184eb
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004196ab
jmp 0x4184eb
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4184ff
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x418518
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x418518
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00418396
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x41af39
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x41af71
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00419e52
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00419e2a
jmp 0x41af7d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x41cb40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41cb82
call fcn.0042e1c1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41cb82
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41cb79
xor eax, eax
jmp 0x41cb8a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041cb90
pop edi
pop esi
pop ebx
ret 4

Function at 0x42ef59
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0042e1c1
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42ef96
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42ef96
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x42ef9a
xor eax, eax
jmp 0x42f018
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00419491
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x42efd2
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x42efbc
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0042f109
push ebx
mov edi, eax
call fcn.004194ba
test edi, edi
pop ecx
je 0x42f014
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.0042eed2
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0042f01d
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x42f931
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42f95f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42f97d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042f897
jmp 0x42f97d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42f97d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0042f897
test edi, edi
mov eax, edi
jne 0x42f967
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4661f8
Function at 0x10004770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, 0x4a331642
mov eax, ecx
mov eax, ebx
cmp eax, 0xffffffe6
mov eax, 0xb0dfddc8
cmp eax, 0x142d9df7
mov eax, ebx
cmp eax, 0x68
cmp eax, 0x9e8083a0
mov eax, ecx
cmp eax, 0x41
nop
cmp eax, 6
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
mov eax, ebx
inc eax
cmp eax, 0x30afa1b
mov eax, ecx
nop
mov eax, ecx
cmp eax, 0xffffffd7
mov eax, 0x33e133b3
cmp eax, 0x60
mov eax, 0x90317795
mov eax, ebx
cmp eax, 0xffffffa7
mov eax, ebx
inc eax
nop
mov eax, ecx
nop
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, 0x6835a5bc
cmp eax, 0x99e92d44
cmp eax, 0x65
mov eax, ebx
mov eax, ebx
inc eax
nop
cmp eax, 0xffffff92
mov eax, 0xd9555215
cmp eax, 0x53
mov eax, ebx
cmp eax, 0x2d
cmp eax, 0x44de9bb9
mov eax, ecx
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x1002beb4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp eax, 0x42195973
inc eax
inc eax
nop
cmp eax, 0xffffffb3
mov eax, ecx
cmp eax, 0x1e
inc eax
cmp eax, 0x4b
cmp eax, 0x60640e2c
cmp eax, 0x5e
cmp eax, 0x28101740
mov eax, ecx
inc eax
inc eax
inc eax
nop
mov eax, ebx
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1003e22c], eax
nop
inc eax
mov eax, 0xd339e346
nop
inc eax
inc eax
mov eax, ecx
nop
cmp eax, 0x62b4d5a5
mov eax, ebx
mov eax, ecx
mov eax, 0x6f19cca7
mov eax, ecx
cmp eax, 0x62
mov eax, ebx
nop
cmp eax, 0x41
cmp eax, 0xffffffc9
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
jne 0x1000491f
push 0x41030
push str.DllWrap
push str.miss
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, ebx
mov eax, 0x33e680a
cmp eax, 0x4f
nop
mov eax, ecx
cmp eax, 0x7c
cmp eax, 0x2840bfe4
mov eax, ebx
mov eax, ecx
inc eax
mov eax, ecx
cmp eax, 0x63
mov eax, ecx
nop
cmp eax, 0x5672c9c6
mov eax, ebx
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
je 0x10004931
mov dword [ebp - 4], 1
jmp 0x10004938
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1001e770
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001e5e6

Function at 0x401a30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov dword [ebp - 8], 0x215
mov dword [ebp - 0x220], 0x3000
mov dword [ebp - 4], 0x40
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [0x4031d4], eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [0x4031d4]
mov edx, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x4031b4], edx
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x4031b8], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x220]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x514456f8
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x42794b47
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219