joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402770
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x41f9b0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x428944]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x428944]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], eax
call fcn.004014a0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov ebp, 1
cmp dword [esp + 0x14], ebp
mov dword [esp + 0x50], ebx
jle 0x40287f
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + ebp*4]
mov eax, ecx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea esi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x402800
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00401e40
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x54], 1
call fcn.00408c50
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 4]
add esp, 4
lea edi, [eax + 4]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.00402570
push 1
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.004020b0
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
cmp dword [esp + 0x40], 8
mov byte [esp + 0x50], bl
jb 0x402872
mov eax, dword [esp + 0x2c]
push eax
call fcn.00409d02
add esp, 4
add ebp, 1
cmp dword [esp + 0x14], ebp
jg 0x4027e2
lea ecx, [esp + 0x18]
push ecx
push ebx
call fcn.00408f80
add esp, 8
lea ecx, [esp + 0x18]
call fcn.00402510
mov edx, dword [esp + 0x1c]
push edx
call fcn.00409d02
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0040a1a4
add esp, 0x40
ret
Function at 0x407320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 0x10]
movzx ecx, word [esp + 8]
sub esp, 0x68
push esi
push edi
mov edi, dword [esp + 0x74]
push eax
push ecx
push 0xa
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov esi, eax
test esi, esi
jne 0x407371
mov edx, dword [0x4215a8]
push edx
push str.cant_find_resource_specified
push 0x229
push str.._resop.cpp
lea ecx, [esp + 0x18]
call fcn.00404220
push 0x424fc0
lea eax, [esp + 0xc]
push eax
call fcn.0040a370
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
jne 0x4073ae
mov ecx, dword [0x4215a8]
push ecx
push str.cant_get_size_of_resource
push 0x22d
push str.._resop.cpp
lea ecx, [esp + 0x1c]
call fcn.00404220
push 0x424fc0
lea edx, [esp + 0x10]
push edx
call fcn.0040a370
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4073e7
mov eax, dword [0x4215a8]
push eax
push str.cant_load_resource
push 0x231
push str.._resop.cpp
lea ecx, [esp + 0x1c]
call fcn.00404220
push 0x424fc0
lea ecx, [esp + 0x10]
push ecx
call fcn.0040a370
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x407420
mov edx, dword [0x4215a8]
push edx
push str.cant_lock_resource
push 0x235
push str.._resop.cpp
lea ecx, [esp + 0x1c]
call fcn.00404220
push 0x424fc0
lea eax, [esp + 0x10]
push eax
call fcn.0040a370
mov ecx, dword [esp + 0x80]
mov dword [ecx], ebx
pop ebx
pop edi
pop esi
add esp, 0x68
ret
Function at 0x408f80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4202b8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x428944]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x428944]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
xor edi, edi
push edi
lea ecx, [esp + 0x1c]
push ecx
push 0x101
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
call fcn.00407320
push edi
lea edx, [esp + 0x34]
push edx
push 0x102
push esi
mov ebx, eax
mov dword [esp + 0x40], edi
call fcn.00407320
mov ebp, eax
push edi
lea eax, [esp + 0x38]
push eax
push 0x103
push esi
mov dword [esp + 0x44], edi
call fcn.00407320
add esp, 0x30
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], di
mov ecx, dword [ebp]
mov dword [esp + 0x28], ecx
mov edx, dword [ebx]
mov ecx, eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x24], edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x409030
sub ecx, ebx
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.00401e40
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
push esi
call fcn.00408c60
add esp, 0xc
cmp dword [esp + 0x44], 8
jb 0x409071
mov edx, dword [esp + 0x30]
push edx
call fcn.00409d02
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0040a1a4
add esp, 0x44
ret

Function at 0x40a1a4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428944]
jne 0x40a1ae
repz ret
jmp fcn.0041023c
Function at 0x4187df
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040fc88
xor ebx, ebx
cmp dword [0x42aa2c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4188b4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x41881f
xor eax, eax
jmp 0x418978
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x418818
push eax
call fcn.0040fc25
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42aa2c], eax
call esi
push eax
call fcn.0040fc25
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42aa30], eax
call esi
push eax
call fcn.0040fc25
mov dword [0x42aa34], eax
lea eax, [ebp - 8]
push eax
call fcn.0040f02f
test eax, eax
pop ecx
pop ecx
je 0x418882
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a1bd
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4188b4
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040fc25
cmp eax, ebx
pop ecx
mov dword [0x42aa3c], eax
je 0x4188b4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040fc25
pop ecx
mov dword [0x42aa38], eax
mov eax, dword [0x42aa38]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x41892d
cmp dword [0x42aa3c], esi
je 0x41892d
push eax
call fcn.0040fc91
pop ecx
call eax
cmp eax, ebx
je 0x4188fa
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x42aa3c]
call fcn.0040fc91
pop ecx
call eax
test eax, eax
je 0x4188fa
test byte [ebp - 0x18], 1
jne 0x41892d
lea eax, [ebp - 0xc]
push eax
call fcn.0040f066
test eax, eax
pop ecx
je 0x418915
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a1bd
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x418924
or dword [ebp + 0x10], 0x200000
jmp 0x41895e
or dword [ebp + 0x10], 0x40000
jmp 0x41895e
mov eax, dword [0x42aa30]
cmp eax, esi
je 0x41895e
push eax
call fcn.0040fc91
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41895e
mov eax, dword [0x42aa34]
cmp eax, esi
je 0x41895e
push dword [ebp - 4]
push eax
call fcn.0040fc91
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x42aa2c]
call fcn.0040fc91
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
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 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
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x10005e1f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10005e5e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10005e5e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10005e5e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10005e5e
cmp dword [ecx + 0x74], 0xe
jbe 0x10005e5e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100087e9
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 0x10008886
push ebx
push esi
call fcn.100087b2
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.10008746
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10008833
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10008885
push edi
push eax
call fcn.100070e7
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10008853
call fcn.10007135
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10008884
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10008746
add esp, 0x20
test eax, eax
jne 0x10008872
push edi
call fcn.10007135
jmp 0x1000887a
push ebx
call fcn.10007135
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 0x10008af3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010b08
push 0x10010b00
push str.FlsAlloc
push 0x1f
call fcn.10008a0f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10008b27
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f140]
call esi
jmp 0x10008b2d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10008b71
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010b18
push 0x10010b10
push str.FlsGetValue
push 0x21
call fcn.10008a0f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10008ba8
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10008bb0
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010b20
push 0x10010b18
push str.FlsSetValue
push 0x22
call fcn.10008a0f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10008bea
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000f140]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4fc799
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.004fc818
jae 0x4fc7a5
xor ecx, ecx
call fcn.004fc818
jae 0x4fc7cf
xor eax, eax
call fcn.004fc818
jae 0x4fc7e0
mov al, 0x10
call fcn.004fc818
adc al, al
jae 0x4fc7c1
jne 0x4fc80d
stosb byte es:[edi], al
jmp 0x4fc7a6
call fcn.004fc824
dec ecx
loop 0x4fc7ec
mov eax, ebp
call fcn.004fc822
jmp 0x4fc80e
lodsb al, byte [esi]
shr eax, 1
je 0x4fc834
adc ecx, 2
mov ebp, eax
jmp 0x4fc80e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.004fc822
cmp eax, 0x7d00
jae 0x4fc80c
cmp eax, 0x500
jae 0x4fc80d
cmp eax, 0x7f
ja 0x4fc80e
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4fc7a6
pop ebp
ret 8
Function at 0x1102980
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa5a000]
push edi
or ebp, 0xffffffff
jmp 0x11029a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x11029a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1102998
mov eax, 1
add ebx, ebx
jne 0x11029bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x11029cc
jne 0x11029eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11029eb
dec eax
add ebx, ebx
jne 0x11029d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x11029b0
add ebx, ebx
jne 0x11029e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1102a3d
xor ecx, ecx
sub eax, 3
jb 0x1102a03
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1102a72
sar eax, 1
mov ebp, eax
jmp 0x1102a0e
add ebx, ebx
jne 0x1102a0e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11029dc
inc ecx
add ebx, ebx
jne 0x1102a1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11029dc
add ebx, ebx
jne 0x1102a29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1102a1e
jne 0x1102a3a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1102a1e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1102a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1102a4e
jmp 0x110299e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1102a5c
add edi, ecx
jmp 0x110299e
pop esi
mov edi, esi
mov ecx, 0x194d1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1102a7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x1102a7f
lea edi, [esi + 0xcff000]
mov eax, dword [edi]
or eax, eax
je 0x1102af0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd0300c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd03048]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1102aa5
mov ecx, edi
jns 0x1102ad4
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 + 0xd0304c]
or eax, eax
je 0x1102aea
mov dword [ebx], eax
add ebx, 4
jmp 0x1102ac2
call dword [esi + 0xd03054]
mov ebp, dword [esi + 0xd03050]
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 0x1102b24
sub esp, 0xffffff80
jmp 0x41e760
Function at 0x40aea1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41a438
push 0x41a430
push 0x419320
push 0x1e
call fcn.0040ad62
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40aed5
push dword [ebp + 8]
mov ecx, esi
call dword [0x41914c]
call esi
jmp 0x40aedb
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40af1f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41a448
push 0x41a440
push str.FlsGetValue
push 0x20
call fcn.0040ad62
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40af56
push dword [ebp + 8]
mov ecx, esi
call dword [0x41914c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40f302
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 0x40f39f
push ebx
push esi
call fcn.0040f2cb
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.0040f214
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40f34c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40f39e
push edi
push eax
call fcn.0040b654
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40f36c
call fcn.0040abf5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40f39d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040f214
add esp, 0x20
test eax, eax
jne 0x40f38b
push edi
call fcn.0040abf5
jmp 0x40f393
push ebx
call fcn.0040abf5
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 0x95bc30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x257000]
push edi
jmp 0x95bc4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x95bc51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x95bc40
mov eax, 1
add ebx, ebx
jne 0x95bc63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x95bc74
jne 0x95bc93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x95bc93
dec eax
add ebx, ebx
jne 0x95bc80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x95bc58
add ebx, ebx
jne 0x95bc8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x95bce5
xor ecx, ecx
sub eax, 3
jb 0x95bcab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x95bd1a
sar eax, 1
mov ebp, eax
jmp 0x95bcb6
add ebx, ebx
jne 0x95bcb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x95bc84
inc ecx
add ebx, ebx
jne 0x95bcc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x95bc84
add ebx, ebx
jne 0x95bcd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x95bcc6
jne 0x95bce2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x95bcc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x95bd04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x95bcf6
jmp 0x95bc46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x95bd04
add edi, ecx
jmp 0x95bc46
pop esi
mov edi, esi
mov ecx, 0x4fe9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x95bd22
cmp byte [edi], 0x24
jne 0x95bd22
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 0x95bd27
lea edi, [esi + 0x558000]
mov eax, dword [edi]
or eax, eax
je 0x95bd9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x567b4c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x567c50]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x95bd54
mov ecx, edi
jns 0x95bd83
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 + 0x567c54]
or eax, eax
je 0x95bd99
mov dword [ebx], eax
add ebx, 4
jmp 0x95bd71
call dword [esi + 0x567c64]
mov ebp, dword [esi + 0x567c58]
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 0x95bdd3
sub esp, 0xffffff80
jmp 0x4bfb21
Function at 0x80c290
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x280000]
push edi
or ebp, 0xffffffff
jmp 0x80c2b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x80c2b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x80c2a8
mov eax, 1
add ebx, ebx
jne 0x80c2cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x80c2dc
jne 0x80c2fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x80c2fb
dec eax
add ebx, ebx
jne 0x80c2e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x80c2c0
add ebx, ebx
jne 0x80c2f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x80c34d
xor ecx, ecx
sub eax, 3
jb 0x80c313
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x80c382
sar eax, 1
mov ebp, eax
jmp 0x80c31e
add ebx, ebx
jne 0x80c31e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x80c2ec
inc ecx
add ebx, ebx
jne 0x80c32c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x80c2ec
add ebx, ebx
jne 0x80c339
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x80c32e
jne 0x80c34a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x80c32e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x80c36c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x80c35e
jmp 0x80c2ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x80c36c
add edi, ecx
jmp 0x80c2ae
pop esi
mov edi, esi
mov ecx, 0x3dca
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x80c38a
cmp byte [edi], 0x21
jne 0x80c38a
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 0x80c38f
lea edi, [esi + 0x404000]
mov eax, dword [edi]
or eax, eax
je 0x80c3fe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4161c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4161fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x80c3bc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x416204]
or eax, eax
je 0x80c3f8
mov dword [ebx], eax
add ebx, 4
jmp 0x80c3d9
call dword [esi + 0x416200]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x80c42f
cmp al, 0xef
ja 0x80c422
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x80c404
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x80c411
mov ebp, dword [esi + 0x416208]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x80c463
sub esp, 0xffffff80
jmp 0x493a1c