joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50248a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5b7780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x502512
cmp dword [esi + 0x10], 0
je 0x502512
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00526bd0
mov ebx, esp
test ebx, ebx
je 0x502512
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1cc
call fcn.004c8b42
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004c68dd
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004c2919
test al, al
je 0x502512
mov ecx, dword [esi + 0x10]
call fcn.004cae85
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00516529
mov esp, ebp
pop ebp
ret 0x10

Function at 0x506e02
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x56076e
call fcn.00523ac7
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x10], eax
mov dword [eax + 0x598], ebx
cmp dword [edi + 4], ebx
jne 0x506e9c
lea eax, [ebp - 0xa8]
push eax
call fcn.00506a11
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xa8]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004c264d
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.004c98e6
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.004f979d
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004c21f1
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.004c916b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.004c8aaa
test bl, bl
je 0x506ed9
mov eax, dword [edi + 0x10]
add eax, 0x588
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [edi + 0x10]
call fcn.00506f48
test al, al
je 0x506eec
push 0x57a7d4
jmp 0x506ef1
push str.yyyy_MM_dd
push 0
push 0x1032
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x10]
mov ebx, 0x588
add eax, ebx
push 0x10
push eax
lea eax, [edi + 0x1a]
push eax
call fcn.005166a0
mov eax, dword [edi + 0x10]
add esp, 0xc
add eax, ebx
push eax
push 0
push 0x1002
push dword [edi + 4]
call esi
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.00523a76
ret 4
Function at 0x507473
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x5b7780]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x50749f
xor eax, eax
jmp 0x50751c
push 0xfe
lea eax, [ebp - 0x103]
mov byte [ebp - 0x104], 0
push 0
push eax
call fcn.00516d90
add esp, 0xc
lea eax, [ebp - 0x104]
push 0xff
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x50749b
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.005166a0
mov ecx, dword [ebp - 0x298]
add esp, 0xc
movzx eax, cl
shl eax, 8
movzx ecx, ch
add eax, ecx
movzx ecx, byte [ebp - 0x296]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x295]
shl eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00516529
mov esp, ebp
pop ebp
ret

Function at 0x507619
Capabilities:
Hide graphical window

Disassembly:
push 0xa4
mov eax, 0x5607a1
call fcn.00523ac7
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x590], ebx
cmp dword [edi + 4], ebx
jne 0x5076d6
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 8
push eax
mov dword [ebp - 0x9c], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x5076ae
lea eax, [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.005071fe
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xb0]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40030000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004c264d
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.004c98e6
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.004f979d
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004c21f1
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.004c916b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.004c8aaa
test bl, bl
je 0x507712
call fcn.00507473
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x588], eax
mov eax, dword [edi + 0x10]
push dword [eax + 0x588]
push 0
push 0x465
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.00523a76
ret 4
Function at 0x50fd91
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5b7780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push esi
mov dword [ebp - 0x210], esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov edi, dword [ebp + 0xc]
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov esi, eax
cmp edi, 0x21
jb 0x50fddf
cmp edi, 0x28
jbe 0x50fdd9
lea eax, [edi - 0x2d]
cmp eax, 1
ja 0x50fddf
or esi, 0x100
cmp dword [ebp + 0x10], 0
je 0x50fdeb
or esi, 0x1000000
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00516d90
add esp, 0xc
shl esi, 0x10
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.004c89a7
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00516529
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5100e5
Capabilities:
Hide graphical window

Disassembly:
push 0x98
mov eax, 0x560fcb
call fcn.00523ac7
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x5101f5
lea eax, [ebp - 0xa4]
push eax
call fcn.0050f8db
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0xa4]
xor eax, eax
push eax
sub esp, 0x10
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
push 0x40000080
push eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004c264d
push eax
mov ecx, ebx
call fcn.004c98e6
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5101f5
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.004f979d
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004c21f1
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
movzx eax, word [ecx + 0x7a6]
push eax
movzx eax, word [ecx + 0x7a4]
mov ecx, ebx
push eax
call fcn.00510620
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
call fcn.0050fbdf
mov ecx, dword [ebx + 0x10]
and dword [ebp - 4], 0
add ecx, 0x1cc
push eax
call fcn.004c8b23
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004c8aaa
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10c]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
call fcn.00523a76
ret 4

Function at 0x51beb4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x543b6f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5b7780]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00528df3
mov dword [ebp - 0x14], eax
cmp dword [0x5c4414], esi
jne 0x543c62
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x543bef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x543d42
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x543d42
push 0x5870dc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x543d42
push eax
call ebx
push 0x5870e8
push edi
mov dword [0x5c4414], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x5c4418], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5c441c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5c4424], eax
test eax, eax
je 0x543c5f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5c4420], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x543c87
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x543c7a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x543c9c
push 4
pop eax
jmp 0x543d44
cmp dword [ebp - 0x14], esi
je 0x543c9c
push dword [0x5c4414]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x543c81
mov eax, dword [0x5c4420]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x543cfa
cmp dword [0x5c4424], edi
je 0x543cfa
push eax
call ebx
push dword [0x5c4424]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x543cfa
test eax, eax
je 0x543cfa
call ecx
test eax, eax
je 0x543cef
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x543cef
test byte [ebp - 8], 1
jne 0x543cfa
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x543d2a
mov eax, dword [0x5c4418]
cmp eax, edi
je 0x543d27
push eax
call ebx
test eax, eax
je 0x543d27
call eax
mov esi, eax
test esi, esi
je 0x543d27
mov eax, dword [0x5c441c]
cmp eax, edi
je 0x543d27
push eax
call ebx
test eax, eax
je 0x543d27
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5c4414]
call ebx
test eax, eax
je 0x543d42
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x543d44
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00516529
mov esp, ebp
pop ebp
ret
Function at 0x402874
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x412044], 0x8088405
inc edx
mov dword [0x412044], edx
mul edx
mov eax, edx
ret

Function at 0x40b13c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x412658
mov eax, esi
mov edx, 8
test al, 1
je 0x40b158
shr eax, 1
xor eax, 0xedb88320
jmp 0x40b15a
shr eax, 1
dec edx
jne 0x40b14b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40b144
pop esi
ret

Function at 0x40b170
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp byte [0x412654], 0
jne 0x40b18e
call fcn.0040b13c
mov byte [0x412654], 1
mov eax, edi
test esi, esi
je 0x40b1ba
mov edx, ebx
and edx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x412658]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x40b194
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x10001040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1006d200]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0x943dfb46
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
sub eax, 0x92cb4c74
je 0x1000112c
jmp 0x1000107b
mov eax, dword [ebp - 0x24]
sub eax, 0x943dfb46
je 0x100010cc
jmp 0x1000108e
mov eax, dword [ebp - 0x24]
sub eax, 0x9fcf67d1
je 0x100011e3
jmp 0x100010a1
mov eax, dword [ebp - 0x24]
sub eax, 0xd3da9d33
je 0x100011f4
jmp 0x100010b4
mov eax, dword [ebp - 0x24]
sub eax, 0x7a159297
je 0x100010de
jmp 0x100010c7
jmp 0x1000123f
push eax
mov eax, esp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x7a159297
jmp 0x1000123f
mov eax, dword [0x1006e548]
mov ecx, dword [0x1006e544]
mov edx, eax
add edx, 0xc4b86f08
sub edx, 1
sub edx, 0xc4b86f08
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xd3da9d33
mov ecx, 0x92cb4c74
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x1000123f
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
mov ecx, dword [ebp - 0x10]
mov edi, dword [edx]
not byte [edi]
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
add byte [edi], 0x79
sub byte [edi], 0x35
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
imul byte [edi]
inc edi
loop 0x1000114d
mov ecx, dword [0x1006e548]
mov eax, dword [0x1006e544]
mov edx, ecx
add edx, 0x483825ce
sub edx, 1
sub edx, 0x483825ce
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xd3da9d33
mov ecx, 0x9fcf67d1
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x1000123f
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100177a0
lea esp, [ebp - 8]
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
mov ecx, dword [ebp - 0x10]
mov edi, dword [edx]
not byte [edi]
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
add byte [edi], 0x79
sub byte [edi], 0x35
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
imul byte [edi]
inc edi
loop 0x10001215
mov dword [ebp - 0x18], 0x92cb4c74
jmp 0x10001065
Function at 0x1001ab73
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001abb2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001abb2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001abb2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001abb2
cmp dword [ecx + 0x74], 0xe
jbe 0x1001abb2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001d82f
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 0x1001d8cc
push ebx
push esi
call fcn.1001d7f8
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.1001d78c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001d879
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d8cb
push edi
push eax
call fcn.1001e7ea
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001d899
call fcn.1001c2d4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d8ca
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001d78c
add esp, 0x20
test eax, eax
jne 0x1001d8b8
push edi
call fcn.1001c2d4
jmp 0x1001d8c0
push ebx
call fcn.1001c2d4
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 0x1001db39
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cc8
push 0x10025cc0
push str.FlsAlloc
push 0x1f
call fcn.1001da55
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001db6d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002414c]
call esi
jmp 0x1001db73
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001dbb7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cd8
push 0x10025cd0
push str.FlsGetValue
push 0x21
call fcn.1001da55
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001dbee
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002414c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001dbf6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025ce0
push 0x10025cd8
push str.FlsSetValue
push 0x22
call fcn.1001da55
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001dc30
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1002414c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100232b0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, reloc.user32.dll_IsIconic
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
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
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x716f1425
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x51c76a6f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x54f0f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10b000]
push edi
jmp 0x54f10a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x54f111
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54f100
mov eax, 1
add ebx, ebx
jne 0x54f123
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54f134
jne 0x54f153
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54f153
dec eax
add ebx, ebx
jne 0x54f140
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x54f118
add ebx, ebx
jne 0x54f14f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54f1a5
xor ecx, ecx
sub eax, 3
jb 0x54f16b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54f1da
sar eax, 1
mov ebp, eax
jmp 0x54f176
add ebx, ebx
jne 0x54f176
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54f144
inc ecx
add ebx, ebx
jne 0x54f184
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54f144
add ebx, ebx
jne 0x54f191
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54f186
jne 0x54f1a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54f186
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54f1c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54f1b6
jmp 0x54f106
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54f1c4
add edi, ecx
jmp 0x54f106
pop esi
mov edi, esi
mov ecx, 0x1146
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54f1e2
cmp byte [edi], 0xe
jne 0x54f1e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x54f1e7
lea edi, [esi + 0x14c000]
mov eax, dword [edi]
or eax, eax
je 0x54f25f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x175288]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17538c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54f214
mov ecx, edi
jns 0x54f243
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x175390]
or eax, eax
je 0x54f259
mov dword [ebx], eax
add ebx, 4
jmp 0x54f231
call dword [esi + 0x1753a0]
mov ebp, dword [esi + 0x175394]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x54f293
sub esp, 0xffffff80
jmp 0x42438d