joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50df80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa8]
mov ebp, dword [0xd46044]
mov dword [esp + 0x4c], ebp
xor ebp, ebp
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0xbc]
mov ebp, dword [esp + 0x4c]
sub ebp, dword [0xd46044]
jne 0x50e11f
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xbc], edi
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xac], edx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0050daa0
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x522c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0xfc]
mov eax, dword [0xd46044]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xec]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x11c]
mov edx, dword [edx]
mov ebx, dword [ecx]
mov ecx, dword [esp + 0x104]
mov dword [esp + 0xac], edx
mov esi, dword [ecx]
mov ecx, dword [esp + 0x124]
mov dword [esp + 0xa4], ebx
mov eax, dword [eax]
mov ebp, dword [ecx]
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x10c]
mov ebx, dword [ecx]
mov ecx, dword [esp + 0x108]
fld qword [eax]
mov eax, dword [esp + 0x114]
mov esi, dword [ecx]
mov ecx, dword [esp + 0x128]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x120]
mov edx, dword [edx]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0xe8]
mov edx, dword [edx]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0xf4]
fst qword [esp + 0x80]
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x60], edx
fstp qword [esp + 0x78]
mov edi, dword [edi]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0xf0]
vmovsd xmm0, qword [edi]
mov edi, dword [esp + 0xe0]
vmovsd qword [esp + 0x50], xmm0
vmovsd xmm1, qword [edi]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0xf8]
vmovsd qword [esp + 0x48], xmm1
mov edx, dword [edx]
mov dword [esp + 0x40], edx
mov edi, dword [esp + 0xa8]
mov edx, dword [esp + 0x100]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0xa4]
mov edx, dword [edx]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x110]
mov edx, dword [edx]
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], esi
mov eax, dword [eax]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ebx
movzx eax, byte [ebp + 0x6af94]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp], ecx
call fcn.00591470
mov eax, dword [esp + 0xbc]
sub eax, dword [0xd46044]
jne 0x522e54
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
Function at 0x535cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa8]
mov ebp, dword [0xd46044]
mov dword [esp + 0x4c], ebp
xor ebp, ebp
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0xbc]
mov ebp, dword [esp + 0x4c]
sub ebp, dword [0xd46044]
jne 0x535e8f
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xbc], edi
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xac], edx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00535870
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x591de0
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [0xd46044]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
not eax
cmp esi, 3
jbe 0x591ec0
lea edx, [esi - 4]
shr edx, 2
lea ebx, [ecx + edx*4 + 4]
nop
mov edx, eax
xor al, byte [ecx]
add ecx, 4
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0xa8c3e0]
mov eax, edx
xor dl, byte [ecx - 3]
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0xa8c3e0]
mov edx, eax
xor al, byte [ecx - 2]
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0xa8c3e0]
mov eax, edx
xor dl, byte [ecx - 1]
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0xa8c3e0]
cmp ecx, ebx
jne 0x591e10
and esi, 3
test esi, esi
je 0x591ea6
mov edx, eax
xor al, byte [ebx]
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0xa8c3e0]
mov eax, edx
cmp esi, 1
je 0x591ea6
xor al, byte [ebx + 1]
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0xa8c3e0]
mov eax, edx
cmp esi, 2
je 0x591ea6
xor al, byte [ebx + 2]
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0xa8c3e0]
mov eax, edx
not eax
mov edx, dword [esp + 0xc]
sub edx, dword [0xd46044]
jne 0x591ec4
add esp, 0x14
pop ebx
pop esi
ret
mov ebx, ecx
jmp 0x591e61
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
Function at 0x401bcc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
cmp byte [0x4ca5c0], 0
je 0x401ca9
xor edx, edx
push ebp
push 0x401ca2
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [0x4ca04d], 0
je 0x401bfe
push 0x4ca5c8
call sub.KERNEL32.DLL_VirtualQuery
mov byte [0x4ca5c0], 0
mov eax, dword [0x4ca620]
push eax
call sub.KERNEL32.DLL_SetThreadLocale
xor eax, eax
mov dword [0x4ca620], eax
mov ebx, dword [0x4ca5e8]
jmp 0x401c31
push 0x8000
push 0
mov eax, dword [ebx + 8]
push eax
call sub.KERNEL32.DLL_Sleep_1
mov ebx, dword [ebx]
cmp ebx, 0x4ca5e8
jne 0x401c1f
mov eax, 0x4ca5e8
call fcn.004014cc
mov eax, 0x4ca5f8
call fcn.004014cc
mov eax, 0x4ca624
call fcn.004014cc
mov eax, dword [0x4ca5e0]
test eax, eax
je 0x401c77
mov edx, dword [eax]
mov dword [0x4ca5e0], edx
push eax
call sub.KERNEL32.DLL_SetThreadLocale
mov eax, dword [0x4ca5e0]
test eax, eax
jne 0x401c60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x401ca9
cmp byte [0x4ca04d], 0
je 0x401c97
push 0x4ca5c8
call sub.KERNEL32.DLL_WaitForSingleObject
push 0x4ca5c8
call sub.KERNEL32.DLL_WriteFile
ret
pop ebx
pop ebp
ret

Function at 0x40405c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4c5010]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4040f4
push 0x80000002
call sub.KERNEL32.DLL_DeleteCriticalSection
test eax, eax
jne 0x4040d4
xor eax, eax
push ebp
push 0x4040cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x404110
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_EnterCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4040d4
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CreateThread
ret
mov ax, word [0x4c5010]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4c5010], ax
mov esp, ebp
pop ebp
ret

Function at 0x404ddc
Capabilities:
Get geographical location

Disassembly:
push ecx
cmp byte [0x4ca04c], 0
je 0x404e3d
cmp word [0x4ca220], 0xd7b2
jne 0x404e05
cmp dword [0x4ca228], 0
jbe 0x404e05
mov eax, 0x4ca21c
call dword [0x4ca238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4c50a4
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetLocaleInfoA
push eax
call sub.KERNEL32.DLL_GetThreadLocale
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404e64
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetLocaleInfoA
push eax
call sub.KERNEL32.DLL_GetThreadLocale
pop edx
ret
cmp byte [0x4c5020], 0
jne 0x404e59
push 0
push 0x4c50c4
push 0x4c50a4
push 0
call sub.KERNEL32.DLL_FormatMessageA
pop edx
ret
Function at 0x406b94
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0x406d28
call sub.KERNEL32.DLL_GlobalReAlloc
mov esi, eax
test esi, esi
je 0x406bfc
push 0x406d38
push esi
call sub.KERNEL32.DLL_GlobalUnlock
mov ebx, eax
test ebx, ebx
je 0x406bfc
push 0x105
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call ebx
test eax, eax
je 0x406bfc
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_LoadResource
jmp 0x406d1e
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x406c3c
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x5c
jne 0x406d1e
mov eax, dword [ebp - 4]
add eax, 2
call fcn.00406b80
mov esi, eax
cmp byte [esi], 0
je 0x406d1e
lea eax, [esi + 1]
call fcn.00406b80
mov esi, eax
cmp byte [esi], 0
je 0x406d1e
jmp 0x406c42
mov esi, dword [ebp - 4]
add esi, 2
mov ebx, esi
sub ebx, dword [ebp - 4]
lea eax, [ebx + 1]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x24f]
push eax
call sub.KERNEL32.DLL_LoadResource
jmp 0x406d01
lea eax, [esi + 1]
call fcn.00406b80
mov edi, eax
mov eax, edi
sub eax, esi
mov edx, eax
add edx, ebx
inc edx
cmp edx, 0x105
jg 0x406d1e
inc eax
push eax
push esi
lea eax, [ebp - 0x24f]
add eax, ebx
push eax
call sub.KERNEL32.DLL_LoadResource
lea eax, [ebp - 0x14a]
push eax
lea eax, [ebp - 0x24f]
push eax
call sub.KERNEL32.DLL_GlobalAlloc
mov esi, eax
cmp esi, 0xffffffff
je 0x406d1e
push esi
call sub.KERNEL32.DLL_GlobalAddAtomA
lea eax, [ebp - 0x11e]
push eax
call sub.KERNEL32.DLL_LockResource
lea edx, [ebx + 1]
add eax, edx
inc eax
cmp eax, 0x105
jg 0x406d1e
mov byte [ebp + ebx - 0x24f], 0x5c
mov eax, 0x105
sub eax, ebx
dec eax
push eax
lea eax, [ebp - 0x11e]
push eax
lea eax, [ebp - 0x24f]
add eax, ebx
inc eax
push eax
call sub.KERNEL32.DLL_LoadResource
lea eax, [ebp - 0x11e]
push eax
call sub.KERNEL32.DLL_LockResource
inc eax
add ebx, eax
mov esi, edi
cmp byte [esi], 0
jne 0x406c60
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_LoadResource
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406d4c
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GlobalHandle
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406f7c
push 0x80000001
call sub.KERNEL32.DLL_DeleteCriticalSection
test eax, eax
je 0x406dcf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406f7c
push 0x80000002
call sub.KERNEL32.DLL_DeleteCriticalSection
test eax, eax
je 0x406dcf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406f98
push 0x80000001
call sub.KERNEL32.DLL_DeleteCriticalSection
test eax, eax
jne 0x406e58
xor eax, eax
push ebp
push 0x406e51
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406b94
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_EnterCriticalSection
test eax, eax
je 0x406e36
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406fb8
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_EnterCriticalSection
test eax, eax
je 0x406e36
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406e58
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CreateThread
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadResource
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_LeaveCriticalSection
push eax
call sub.KERNEL32.DLL_GlobalLock
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406f72
cmp byte [ebp - 0xd], 0
jne 0x406e9f
cmp byte [ebp - 0x12], 0
je 0x406f72
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LockResource
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406eb8
dec ebx
cmp byte [ebx], 0x2e
je 0x406ec7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406eb7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406f72
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406f04
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_LoadResource
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov esi, eax
test esi, esi
jne 0x406f72
cmp byte [ebp - 0xd], 0
je 0x406f72
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_LoadResource
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov esi, eax
test esi, esi
jne 0x406f72
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_LoadResource
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x7eef263f
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x8625ae5
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x406253
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
imul ecx, dword [0x413094]
sub ecx, dword [ebp + 8]
and eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
cmp dword [ebp + 8], 0
je 0x40628a
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 0xc]
test eax, eax
jne 0x4062a3
mov ecx, dword [0x413080]
and ecx, dword [ebp + 0x10]
and ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x4062a3
mov dword [ebp - 0x30], 0
jmp 0x4062aa
mov dword [ebp - 0x30], 1
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x10], 0
je 0x4062e9
cmp dword [0x413060], 0
je 0x4062e9
mov edx, dword [ebp + 8]
imul edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub eax, edx
mov ecx, dword [ebp + 8]
and ecx, eax
test ecx, ecx
je 0x4062e9
mov dword [ebp - 0x34], 1
jmp 0x4062f0
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x28], edx
cmp dword [ebp + 0xc], 0
jne 0x40630e
mov eax, 0x3198c63e
test eax, eax
jne 0x40630e
mov dword [ebp - 0x38], 0
jmp 0x406315
mov dword [ebp - 0x38], 1
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x78]
mov ecx, dword [edx + 0x7c]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov edx, 0x42612803
test edx, edx
je 0x406348
cmp dword [ebp + 8], 0
je 0x406348
cmp dword [ebp + 8], 0
je 0x406348
mov dword [ebp - 0x3c], 1
jmp 0x40634f
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00402d54
add esp, 8
test eax, eax
je 0x406383
jmp 0x4063c5
mov dword [ebp - 0x18], 0
jmp 0x406395
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0x18]
jae 0x4063f0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x20]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [edx + eax*4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00402d54
add esp, 8
test eax, eax
jne 0x4063c5
jmp 0x40638c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov edx, dword [ebp - 0x18]
xor eax, eax
mov ax, word [ecx + edx*2]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [edx + eax*4]
mov eax, ecx
jmp 0x4063f2
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100070a3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100070e2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100070e2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100070e2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100070e2
cmp dword [ecx + 0x74], 0xe
jbe 0x100070e2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1000852b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10012354
push 0x1001234c
push str.FlsAlloc
push 0x1f
call fcn.10008407
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000855f
push dword [ebp + 8]
mov ecx, esi
call dword [0x100101a8]
call esi
jmp 0x10008565
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100085a9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10012364
push 0x1001235c
push str.FlsGetValue
push 0x21
call fcn.10008407
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100085e0
push dword [ebp + 8]
mov ecx, esi
call dword [0x100101a8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100085e8
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001236c
push 0x10012364
push str.FlsSetValue
push 0x22
call fcn.10008407
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10008622
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100101a8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000a7a8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000a845
push ebx
push esi
call fcn.1000a771
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000a705
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000a7f2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000a844
push edi
push eax
call fcn.10009214
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000a812
call fcn.10007c5f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000a843
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000a705
add esp, 0x20
test eax, eax
jne 0x1000a831
push edi
call fcn.10007c5f
jmp 0x1000a839
push ebx
call fcn.10007c5f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1000f2b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000f2dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000f2dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret