joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101a520
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x101a542
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x101a549
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101a538
mov eax, 1
add ebx, ebx
jne 0x101a55b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x101a550
jne 0x101a56c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101a550
xor ecx, ecx
sub eax, 3
jb 0x101a580
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101a5f2
mov ebp, eax
add ebx, ebx
jne 0x101a58b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x101a598
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x101a5bc
inc ecx
add ebx, ebx
jne 0x101a5a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101a59d
jne 0x101a5b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101a59d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101a5dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x101a5cd
jmp 0x101a53e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101a5dc
add edi, ecx
jmp 0x101a53e
pop esi
mov edi, esi
mov ecx, 0x93c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x101a5fa
cmp byte [edi], 1
jne 0x101a5fa
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 0x101a5ff
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x101a66e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ccfc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1cd88]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x101a62c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1cd8c]
or eax, eax
je 0x101a668
mov dword [ebx], eax
add ebx, 4
jmp 0x101a649
call dword [esi + 0x1cd9c]
mov ebp, dword [esi + 0x1cd90]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x101a6a2
sub esp, 0xffffff80
jmp 0x1012420

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40111a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x817004]
jne 0x401124
repz ret
jmp fcn.0040170f

Function at 0x40513b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x817004]
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.00403f66
and dword [ebp - 0x14], 0
cmp dword [0x819c78], 0
mov dword [ebp - 0x18], eax
jne 0x4051ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405296
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405296
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x819c78], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x819c7c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x819c80], eax
call edi
push eax
call esi
mov dword [0x819c88], eax
test eax, eax
je 0x4051ee
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x819c84], eax
mov eax, dword [0x819c84]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405247
cmp dword [0x819c88], ecx
je 0x405247
push eax
call esi
push dword [0x819c88]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405247
test ebx, ebx
je 0x405247
call edi
test eax, eax
je 0x40523e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40523e
test byte [ebp - 8], 1
jne 0x405247
or dword [ebp + 0x10], 0x200000
jmp 0x40527a
mov eax, dword [0x819c7c]
cmp eax, dword [ebp - 0x18]
je 0x40527a
push eax
call esi
test eax, eax
je 0x40527a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40527a
mov eax, dword [0x819c80]
cmp eax, dword [ebp - 0x18]
je 0x40527a
push eax
call esi
test eax, eax
je 0x40527a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x819c78]
call esi
test eax, eax
je 0x405296
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405298
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040111a
leave
ret
Function at 0x80be20
Capabilities:
Create pipe

Disassembly:
sub esp, 0x41c
mov eax, dword [0x817004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x420]
mov eax, dword [eax]
push ebx
mov ebx, dword [0x81ba2c]
push edi
mov edi, dword [0x81deac]
call fcn.0080bd60
cmp dword [0x81deac], 0x2f
jne 0x80beb4
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.0080bd90
mov ecx, dword [esp + 0x420]
pop edi
pop ebx
xor ecx, esp
call fcn.0040111a
add esp, 0x41c
ret
Function at 0x80c330
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1010
call fcn.0040c400
mov eax, dword [0x817004]
xor eax, esp
mov dword [esp + 0x100c], eax
mov eax, dword [0x81deac]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTimes]
push edi
mov ebx, 0x1519af
mov edi, 0x8e46a6f0
mov dword [0x81db14], edi
cmp eax, 0x3dc
jne 0x80c37a
push 0
push 0
push 0
call esi
mov eax, dword [0x81deac]
dec ebx
jne 0x80c360
mov edi, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor esi, esi
jmp 0x80c390
cmp eax, 0xa5f
jne 0x80c3c7
push 0
call edi
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0x830]
push ecx
push 0x815514
call ebx
mov eax, dword [0x81deac]
cmp esi, 0x846143
jne 0x80c3de
mov eax, dword [0x818bf0]
add eax, 0xa231
mov dword [0x81deac], eax
cmp eax, 0x141
jne 0x80c3f9
mov dword [0x81a1b8], 0xec58acac
mov dword [0x81a1bc], 0xffffffff
inc esi
cmp esi, 0x12d12ba
jl 0x80c390
call fcn.0080bed0
mov ecx, dword [esp + 0x1018]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040111a
add esp, 0x1010
ret 0x10
Function at 0x407560
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
nop
lea eax, [ebp - 0x44]
push eax
call sub.kernel32.dll_GetStartupInfoA
mov eax, dword [ebp - 0x18]
and eax, 1
cmp eax, 0
je 0x40758e
movzx eax, word [ebp - 0x14]
mov dword [ebp - 0x50], eax
jmp 0x407596
mov eax, 0xa
mov dword [ebp - 0x50], eax
mov eax, 0
mov dword [ebp - 0x48], eax
call sub.kernel32.dll_GetCommandLineA
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
cmp eax, 0
je 0x4075c5
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.msvcrt.dll_strstr
add esp, 8
mov dword [ebp - 0x48], eax
mov eax, 0
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
jne 0x4075eb
mov eax, 0x408440
push eax
call sub.msvcrt.dll__strdup
add esp, 4
mov dword [ebp - 0x48], eax
jmp 0x407614
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
cmp eax, ecx
jbe 0x407614
mov eax, dword [ebp - 0x48]
add eax, 0xffffffff
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x407614
mov eax, dword [ebp - 0x48]
add eax, 0xffffffff
mov dword [ebp - 0x48], eax
mov eax, 0x30000
push eax
mov eax, 0x10000
push eax
call sub.msvcrt.dll__controlfp
add esp, 8
mov eax, 0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, 0
push ecx
push eax
call fcn.00403602
leave
ret
Function at 0x4a0860
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffec
cmp esi, 1
jne 0x4a087e
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx]
call fcn.004a0650
pop ecx
cmp esi, 1
je 0x4a0888
cmp esi, 2
jne 0x4a08f6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov dword [ebx], eax
cmp dword [ebx], 0x27
je 0x4a089a
cmp dword [ebx], 0x22
jne 0x4a08f6
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx]
call fcn.004a0650
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004a0738
pop ecx
mov dword [ebx], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x18]
je 0x4a08f6
cmp dword [ebx], 0x5c
jne 0x4a08d9
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx]
call fcn.004a0650
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004a0738
pop ecx
mov dword [ebx], eax
cmp dword [ebx], 0xffffffff
jne 0x4a089a
mov ecx, 0x4a0a5c
mov dl, 1
mov eax, dword [0x45e2cc]
call fcn.00467b0c
call fcn.004049b8
jmp 0x4a089a
cmp esi, 1
je 0x4a0909
cmp esi, 2
je 0x4a0909
cmp esi, 3
jne 0x4a0a4d
mov eax, dword [ebp + 8]
push eax
call fcn.004a0798
pop ecx
mov edx, dword [ebp + 8]
mov dword [edx - 0x18], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x18], 0x2f
jne 0x4a0a4d
cmp dword [ebx], 0x28
je 0x4a096b
cmp dword [ebx], 0x2c
je 0x4a096b
cmp dword [ebx], 0x3d
je 0x4a096b
cmp dword [ebx], 0x3a
je 0x4a096b
cmp dword [ebx], 0x5b
je 0x4a096b
cmp dword [ebx], 0x21
je 0x4a096b
cmp dword [ebx], 0x26
je 0x4a096b
cmp dword [ebx], 0x7c
je 0x4a096b
cmp dword [ebx], 0x3f
je 0x4a096b
cmp dword [ebx], 0x7b
je 0x4a096b
cmp dword [ebx], 0x7d
je 0x4a096b
cmp dword [ebx], 0x3b
je 0x4a096b
cmp dword [ebx], 0xa
jne 0x4a0a4d
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx]
call fcn.004a0650
pop ecx
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.004a0650
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004a0738
pop ecx
mov dword [ebx], eax
cmp dword [ebx], 0x5b
jne 0x4a09ef
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx]
call fcn.004a0650
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004a0738
pop ecx
mov dword [ebx], eax
cmp dword [ebx], 0x5d
je 0x4a0a11
cmp dword [ebx], 0x5c
jne 0x4a09d2
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx]
call fcn.004a0650
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004a0738
pop ecx
mov dword [ebx], eax
cmp dword [ebx], 0xffffffff
jne 0x4a0998
mov ecx, 0x4a0a88
mov dl, 1
mov eax, dword [0x45e2cc]
call fcn.00467b0c
call fcn.004049b8
jmp 0x4a0998
cmp dword [ebx], 0x2f
je 0x4a0a3d
cmp dword [ebx], 0x5c
jne 0x4a0a11
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx]
call fcn.004a0650
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004a0738
pop ecx
mov dword [ebx], eax
cmp dword [ebx], 0xffffffff
jne 0x4a0a2c
mov ecx, 0x4a0ac8
mov dl, 1
mov eax, dword [0x45e2cc]
call fcn.00467b0c
call fcn.004049b8
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx]
call fcn.004a0650
pop ecx
jmp 0x4a0987
mov eax, dword [ebp + 8]
push eax
call fcn.004a0798
pop ecx
mov edx, dword [ebp + 8]
mov dword [edx - 0x18], eax
pop esi
pop ebx
pop ebp
ret
Function at 0x1002df80
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002e144
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f000]
push edi
or ebp, 0xffffffff
jmp 0x1002dfaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1002dfb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002dfa0
mov eax, 1
add ebx, ebx
jne 0x1002dfc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1002dfb8
jne 0x1002dfd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002dfb8
xor ecx, ecx
sub eax, 3
jb 0x1002dfe8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002e05a
mov ebp, eax
add ebx, ebx
jne 0x1002dff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1002e000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1002e024
inc ecx
add ebx, ebx
jne 0x1002e010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1002e005
jne 0x1002e021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002e005
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002e044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002e035
jmp 0x1002dfa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002e044
add edi, ecx
jmp 0x1002dfa6
pop esi
mov edi, esi
mov ecx, 0xc42
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002e062
cmp byte [edi], 0x11
jne 0x1002e062
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 0x1002e067
lea edi, [esi + 0x2a000]
mov eax, dword [edi]
or eax, eax
je 0x1002e0d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e44c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e49c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002e094
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2e4a0]
or eax, eax
je 0x1002e0d0
mov dword [ebx], eax
add ebx, 4
jmp 0x1002e0b1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1002e107
cmp al, 0xef
ja 0x1002e0fa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002e0dc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1002e0e9
mov ebp, dword [esi + 0x2e4a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x1002e13b
sub esp, 0xffffff80
jmp 0x10013194

Function at 0x40892b
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push 0x4085d8
mov edi, dword [esp]
add esp, 4
call fcn.00408952
xor dword [eax], edi
inc eax
inc edx
sub edx, 0x901ae848
cmp eax, esi
jne fcn.0040892b
ret
Function at 0x402403
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402442
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402442
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402442
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402442
cmp dword [ecx + 0x74], 0xe
jbe 0x402442
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x408078
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 0x408115
push ebx
push esi
call fcn.00408041
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.00407fd5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4080c2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x408114
push edi
push eax
call fcn.004069db
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4080e2
call fcn.00406a29
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x408113
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00407fd5
add esp, 0x20
test eax, eax
jne 0x408101
push edi
call fcn.00406a29
jmp 0x408109
push ebx
call fcn.00406a29
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 0x409324
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x436c90
push 0x436c88
push str.FlsAlloc
push 0x1f
call fcn.004091e3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409358
push dword [ebp + 8]
mov ecx, esi
call dword [0x414130]
call esi
jmp 0x40935e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4093a2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x436ca0
push 0x436c98
push str.FlsGetValue
push 0x21
call fcn.004091e3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4093d9
push dword [ebp + 8]
mov ecx, esi
call dword [0x414130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4093e1
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x436ca8
push 0x436ca0
push str.FlsSetValue
push 0x22
call fcn.004091e3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40941b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x414130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40e7f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40e81d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40e81d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x419a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.IaDsgWGk
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x419a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419a38
mov eax, 1
add ebx, ebx
jne 0x419a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419a50
jne 0x419a6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a50
xor ecx, ecx
sub eax, 3
jb 0x419a80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419af2
mov ebp, eax
add ebx, ebx
jne 0x419a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419abc
inc ecx
add ebx, ebx
jne 0x419aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419a9d
jne 0x419ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419adc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419acd
jmp 0x419a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419adc
add edi, ecx
jmp 0x419a3e
pop esi
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419b44
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x199f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19a74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419af9
mov ecx, edi
jns 0x419b28
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 + 0x19a7c]
or eax, eax
je 0x419b3e
mov dword [ebx], eax
add ebx, 4
jmp 0x419b16
call dword [esi + 0x19a78]
mov ebp, dword [esi + 0x19a80]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x419b78
sub esp, 0xffffff80
jmp section.VHqxTUpa

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x413ba0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd000]
push edi
jmp 0x413bba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x413bc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413bb0
mov eax, 1
add ebx, ebx
jne 0x413bd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x413be4
jne 0x413c03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413c03
dec eax
add ebx, ebx
jne 0x413bf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x413bc8
add ebx, ebx
jne 0x413bff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x413c55
xor ecx, ecx
sub eax, 3
jb 0x413c1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x413c8a
sar eax, 1
mov ebp, eax
jmp 0x413c26
add ebx, ebx
jne 0x413c26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413bf4
inc ecx
add ebx, ebx
jne 0x413c34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413bf4
add ebx, ebx
jne 0x413c41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x413c36
jne 0x413c52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413c36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x413c74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x413c66
jmp 0x413bb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x413c74
add edi, ecx
jmp 0x413bb6
pop esi
mov edi, esi
mov ecx, 0x8c00
jmp 0x413cc6
mov al, byte [edi]
add edi, 1
cmp al, 0x80
jb 0x413ca7
cmp al, 0x8f
ja 0x413ca7
cmp byte [edi - 2], 0xf
je 0x413cad
sub al, 0xe8
cmp al, 1
ja 0x413cd0
cmp byte [edi], 5
jne 0x413cd0
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
mov dword [edi], eax
add edi, 4
sub ecx, 4
mov al, byte [edi]
add edi, 1
loop 0x413ca7
sub ecx, 1
jg 0x413c94
lea edi, [esi + 0x11000]
mov eax, dword [edi]
or eax, eax
je 0x413d1d
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x413cdb
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13068]
or eax, eax
je 0x413d17
mov dword [ebx], eax
add ebx, 4
jmp 0x413cf8
call dword [esi + 0x13078]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x413d4e
cmp al, 0xef
ja 0x413d41
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x413d23
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x413d30
mov ebp, dword [esi + 0x1306c]
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 0x413d82
sub esp, 0xffffff80
jmp 0x40278f