joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10056a5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetAtomNameA]
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp + 8]
movzx eax, word [eax]
push eax
call esi
test eax, eax
jmp loc.0101888a

Function at 0x1005837
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
xor ecx, ecx
xor esi, esi
inc esi
or ebx, 0xffffffff
cmp eax, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ecx
je 0x10058da
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x10058d3
push dword [edi + 4]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll__lwrite]
cmp eax, dword [edi + 4]
jne 0x10058c5
and dword [ebp - 0xc], 0
xor esi, esi
cmp ebx, esi
jl 0x10058a9
push ebx
call dword [sym.imp.KERNEL32.dll__lclose]
cmp dword [ebp - 0xc], esi
jne 0x10058a9
cmp dword [edi + 0x10], esi
jne 0x10058a9
push 0x100bf80
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 8], esi
je 0x10058b7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 4], esi
je 0x10058c5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x10], esi
je 0x10058d3
push dword [edi + 8]
jmp 0x1018a5d
pop edi
pop esi
pop ebx
leave
ret 8
cmp dword [edi + 0x10], ecx
je 0x100592c
cmp dword [0x100b4ac], ecx
jne 0x100592c
jmp 0x1017a7a
push 0x104
lea eax, [ebp - 0x194]
push eax
xor eax, eax
mov ax, word [edi + 2]
push eax
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
test eax, eax
je 0x10058d3
push 0x20
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov ebx, eax
cmp ebx, 0xffffffff
jmp 0x101770f

Function at 0x1005c5d
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
xor ebx, ebx
inc edi
cmp dword [esi + 8], ebx
jne 0x1005ce0
cmp dword [esi + 0x18], ebx
je 0x1005c89
push dword [ebp + 0xc]
push esi
call fcn.010059c7
jmp loc.01017823
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x1005cba
push ebx
push 0x100540c
push eax
mov dword [0x100b748], ebx
call dword [sym.imp.USER32.dll_EnumThreadWindows]
mov eax, dword [0x100b748]
cmp eax, ebx
je fcn.01005cb3
push eax
jmp loc.01016314
push 0x104
lea eax, [ebp - 0x108]
push eax
xor eax, eax
mov ax, word [esi + 2]
push eax
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
test eax, eax
jmp loc.0101647d
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x414]
push eax
xor eax, eax
mov ax, word [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
test eax, eax
jmp loc.0101524b

Function at 0x1005e57
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword [0x100b4dc]
test eax, eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x1005e71
push eax
call esi
and dword [0x100b4dc], 0
jmp loc.01017c63
Function at 0x1006147
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword [esp + 8]
sub eax, 0x67
neg eax
sbb eax, eax
push esi
and eax, 2
push eax
mov eax, dword [esp + 0xc]
push dword [eax + 0x14]
call sub.OLECLI32.dll_OleSetLinkUpdateOptions
mov esi, eax
push esi
call fcn.01005e86
test eax, eax
je 0x1006179
jmp loc.01015a87
xor eax, eax
test esi, esi
sete al
pop esi
ret 8

Function at 0x1006184
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push edi
mov edi, dword [ebp + 0x10]
push edi
push 0
push 1
call fcn.01009124
push dword [0x100b4dc]
push dword [ebp + 0xc]
call sub.OLECLI32.dll_OleSaveToStream
push eax
call fcn.01005e86
test eax, eax
jne 0x100621b
test edi, edi
mov eax, dword [0x100bd20]
mov dword [ebp - 4], eax
je 0x1006217
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov ax, word [esi + 4]
push 2
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push edi
call fcn.01009181
xor eax, eax
mov ax, word [esi + 8]
push 2
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push edi
call fcn.01009181
xor eax, eax
mov ax, word [esi + 0xc]
push 2
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push edi
call fcn.01009181
xor eax, eax
mov ax, word [esi + 0x10]
push 2
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push edi
jmp loc.010156d1
add dword [ebp - 4], 8
mov eax, dword [ebp - 4]
pop edi
leave
ret 0xc

Function at 0x1006223
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [esp + 4], 0
je 0x100624c
mov eax, dword [0x100b764]
inc dword [0x100b764]
test eax, eax
jne 0x100626b
push dword [0x100c084]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [0x100b760], eax
jmp 0x100626b
dec dword [0x100b764]
jne 0x100626b
mov eax, dword [0x100b760]
test eax, eax
je 0x100626b
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x1015f00
ret 4

Function at 0x1006449
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
xor eax, eax
mov ax, word [0x100b4f4]
push eax
push dword [esi + 0x14]
call sub.OLECLI32.dll_OleGetData
push eax
call fcn.01005e86
test eax, eax
jne fcn.010064b8
cmp dword [ebp + 8], eax
je fcn.010064b8
push dword [ebp + 8]
push dword [0x100b4cc]
call fcn.01004aff
test eax, eax
mov dword [ebp + 8], eax
je fcn.010064b8
push eax
xor eax, eax
mov ax, word [0x100b4f4]
push eax
push dword [esi + 0x14]
call sub.OLECLI32.dll_OleSetData
push eax
call fcn.01005e86
test eax, eax
jne fcn.010064b8
push eax
push eax
push 0x465
push dword [0x100b4cc]
jmp loc.01015f47
Function at 0x1006503
Capabilities:
Packed with generic packer

Disassembly:
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x1006578
push esi
push dword [esp + 8]
call sub.OLECLI32.dll_OleQueryBounds
sub eax, 0
je 0x100653d
dec eax
jne 0x1006578
push 1
jmp loc.010160e3
mov eax, dword [esi + 8]
sub eax, dword [esi]
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, 0x9ec
push ebx
push eax
push dword [0x100b060]
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
sub eax, dword [esi + 0xc]
push ebx
push eax
push dword [0x100b064]
call edi
and dword [esi], 0
and dword [esi + 4], 0
pop edi
mov dword [esi + 0xc], eax
pop ebx
ret 4

Function at 0x1006598
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
push 0x1001500
call esi
push 0x10014f4
mov word [0x100b4f0], ax
call esi
push 0x10014ec
mov word [0x100b4f4], ax
call esi
push 0x10014e0
mov word [0x100b4f8], ax
call esi
push 0x100b75c
push 0x1005f56
mov word [0x100b4fc], ax
call fcn.0100657b
push 8
push 0x40
mov dword [0x100b4e0], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [0x100b4dc], eax
pop esi
jne 0x1006615
mov eax, dword [0x100b4e0]
test eax, eax
je fcn.01006612
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp loc.01016bfa
mov dword [eax], 0x100b754
xor eax, eax
mov dword [0x100b754], 0x10091ab
mov dword [0x100b758], 0x10091f3
inc eax
ret

Function at 0x1006a14
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [0x100c164]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1006ab8
push esi
push 1
call fcn.01006223
xor esi, esi
cmp dword [ebp + 8], esi
push esi
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [0x100b4d4]
push dword [0x100b4e0]
push str.StdFileEditing
je 0x1006a87
jmp loc.010167da
jmp loc.010157b6
leave
ret 8

Function at 0x1006e32
Capabilities:
Packed with generic packer

Disassembly:
push esi
push edi
push 0x10
push 0x42
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x1006e91
push edi
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov esi, eax
test esi, esi
je 0x1006e91
push dword [esp + 0x14]
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov word [esi + 0xc], ax
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esi], 0x100b768
jne 0x1006eb8
lea eax, [esi + 8]
push eax
mov eax, dword [esp + 0x10]
jmp loc.01018315
push 0x215
call fcn.01001bb8
test esi, esi
je 0x1006ea6
push edi
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
test edi, edi
je 0x1006eb1
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
ret 0xc
mov dword [esi + 8], eax
and dword [0x100b4b8], 0
mov dword [0x100b4c0], 1
mov eax, esi
jmp 0x1006eb3
Function at 0x100780c
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.010076d1
mov edi, eax
mov eax, dword [0x100b964]
cmp edi, eax
jge 0x1007840
mov eax, dword [edi*4 + 0x100b7d0]
jmp loc.010185d1
cmp edi, 0x64
jge 0x1007862
mov dword [eax*4 + 0x100b7d0], esi
inc eax
mov dword [esi + 0xc], 1
mov dword [0x100b964], eax
mov eax, dword [edi*4 + 0x100b7d0]
jmp 0x1007864
xor eax, eax
pop edi
pop esi
ret 4

Function at 0x10078e3
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi]
test eax, eax
je 0x1007946
movzx eax, word [eax + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov ecx, dword [esi]
push dword [esp + 0xc]
mov word [ecx + 0xc], ax
mov eax, dword [esi]
push dword [eax + 8]
call sub.OLESVR32.dll_OleRenameServerDoc
cmp dword [0x100b4a8], 0
je 0x1007929
cmp dword [0x100b964], 0
jne 0x1007959
cmp dword [0x100b4b0], 0
push edi
mov edi, dword [esi]
je 0x100793d
push 2
push edi
call fcn.01007747
push dword [edi + 8]
call sub.OLESVR32.dll_OleRevokeServerDoc
pop edi
push dword [esp + 0xc]
push 0
push dword [0x100b4e8]
jmp 0x1017203
pop esi
ret 8

Function at 0x100799b
Capabilities:
Create process on windows
Create thread
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x140
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
pop edi
je 0x1007a10
cmp dword [ebp - 4], 0
je 0x1007a30
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp - 4]
push 0x100795d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1007a07
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1007a30
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1016a80
leave
ret 8

Function at 0x10089d8
Capabilities:
Packed with generic packer

Disassembly:
push esi
call fcn.01008607
mov esi, eax
test esi, esi
je 0x1008a1e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp loc.01018765
mov eax, esi
pop esi
ret 4

Function at 0x1008a24
Capabilities:
Packed with generic packer

Disassembly:
push esi
call fcn.01008607
mov esi, eax
test esi, esi
je fcn.01008a62
push edi
push dword [esp + 0xc]
lea edi, [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
and dword [esi + 0x210], 0
cmp byte [edi], 0
pop edi
je 0x1008a52
push esi
call fcn.0100890d
push dword [esp + 8]
lea eax, [esi + 0x10c]
push eax
jmp loc.0101573e
Function at 0x1009077
Capabilities:
Packed with generic packer
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 4], 0x100
jne 0x100909b
xor eax, eax
jmp 0x1017d57
cmp cl, 0x2e
je 0x10090a1
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x1009095
cmp byte [eax + 1], 0
je 0x100908e
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push eax
mov ebx, 0x80000000
push ebx
call edi
test eax, eax
je 0x10090cb
xor eax, eax
jmp 0x100911e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x1001540
lea eax, [ebp - 0x104]
push eax
call esi
push 0x1001530
lea eax, [ebp - 0x104]
push eax
call esi
push 0x1001528
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x104]
push eax
push ebx
mov dword [ebp - 4], 0x100
call edi
neg eax
sbb eax, eax
inc eax
pop esi
pop edi
pop ebx
leave
ret 4

Function at 0x1009338
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov ecx, dword [0x100bc70]
push esi
test ecx, ecx
jne 0x1009395
cmp dword [0x100bc78], ecx
jne 0x1009395
lea eax, [ebp - 0x104]
push eax
call fcn.010093d1
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x1009378
lea eax, [ebp - 0x104]
push eax
call esi
mov dword [0x100bc70], eax
mov ecx, dword [0x100bc70]
test ecx, ecx
jne 0x1009395
push 0x1001550
call esi
mov ecx, eax
test ecx, ecx
mov dword [0x100bc70], ecx
je 0x10093b0
jmp 0x1015151
mov dword [0x100bc78], 1
xor eax, eax
jmp 0x10093cc
pop esi
leave
ret 0x10

Function at 0x10093d1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x1001560
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1009429
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x100159c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100941c
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100942b
xor eax, eax
pop esi
leave
ret 4
Function at 0x1009430
Capabilities:
Parse pe header

Disassembly:
push 0x70
push 0x10015a0
call fcn.01009618
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x100946d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100946d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1009485
cmp eax, 0x20b
je 0x1009472
mov dword [ebp - 0x1c], ebx
jmp 0x1009499
cmp dword [ecx + 0x84], 0xe
jbe 0x100946d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1009493
cmp dword [ecx + 0x74], 0xe
jbe 0x100946d
xor eax, eax
jmp 0x1017f23
jmp 0x1017ba5
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x100c200], 0xffffffff
or dword [0x100c204], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x100bc90]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100bc8c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100c208], eax
call fcn.01009614
cmp dword [0x100b0f8], ebx
jne 0x10094f4
jmp 0x10151c1
jmp 0x1016801

Function at 0x100fe4f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, ebx
xchg ecx, esi
not ah
adc ah, 0xd9
mov esi, ebx
mov eax, ebx
add eax, dword [ebx + 0x3c]
jmp loc.010154a5

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

Disassembly:
inc dword [ebp + 0x4c2f]
inc ecx
and ecx, 0x5c1f3964
call esi
lea ecx, [eax]
xor eax, edi
mov edx, eax
mov edx, 0xc1e04ec
je fcn.01014b11
xor edi, eax
jmp loc.01017d17

Function at 0x1016a47
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
dec eax
pop eax
push ebx
dec edi
pop edi
dec edi
aas
mov eax, 0x1000002
popal
popfd
push 0x201
jmp loc.01005600
Function at 0x401550
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
and esp, 0xfffffff0
sub esp, 0x820
call fcn.004024f0
lea ebx, [esp + 0x18]
mov eax, 0
mov edx, 0x200
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
cmp dword [ebp + 8], 1
jg 0x401584
mov eax, 1
jmp 0x4015ea
mov eax, dword [ebp + 0xc]
add eax, 4
mov eax, dword [eax]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll__open
mov dword [esp + 0x81c], eax
mov dword [esp + 8], 0x800
lea eax, [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x81c]
mov dword [esp], eax
call sub.msvcrt.dll__read
mov eax, dword [esp + 0x81c]
mov dword [esp], eax
call sub.msvcrt.dll__close
lea eax, [esp + 0x18]
mov dword [esp + 0x818], eax
mov eax, dword [esp + 0x818]
call eax
mov eax, 0
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret

Function at 0x401b50
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.00401bb0
Function at 0x4020a0
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
cmp word [edx], 0x5a4d
je 0x4020b0
repz ret
add edx, dword [edx + 0x3c]
cmp dword [edx], 0x4550
jne 0x4020ad
xor eax, eax
cmp word [edx + 0x18], 0x10b
sete al
ret

Function at 0x402670
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4053c4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053dc]
sub esp, 4
test ebx, ebx
je 0x4026c5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4026be
test esi, esi
je 0x4026be
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4026a0
mov dword [esp], 0x4053c4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x17bfef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5a8000]
push edi
or ebp, 0xffffffff
jmp 0x17bff12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x17bff19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17bff08
mov eax, 1
add ebx, ebx
jne 0x17bff2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x17bff3c
jne 0x17bff5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17bff5b
dec eax
add ebx, ebx
jne 0x17bff48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x17bff20
add ebx, ebx
jne 0x17bff57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x17bffad
xor ecx, ecx
sub eax, 3
jb 0x17bff73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x17bffe2
sar eax, 1
mov ebp, eax
jmp 0x17bff7e
add ebx, ebx
jne 0x17bff7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17bff4c
inc ecx
add ebx, ebx
jne 0x17bff8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17bff4c
add ebx, ebx
jne 0x17bff99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x17bff8e
jne 0x17bffaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x17bff8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x17bffcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x17bffbe
jmp 0x17bff0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x17bffcc
add edi, ecx
jmp 0x17bff0e
pop esi
mov edi, esi
mov ecx, 0x2ef183
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x17c0007
cmp byte [edi], 0xaa
jne 0x17bffec
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x17bffea
lea edi, [esi + 0x8bb000]
mov eax, dword [edi]
or eax, eax
je 0x17c004f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x93c8b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x93c9f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x17c000d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x93c9f4]
or eax, eax
je 0x17c0049
mov dword [ebx], eax
add ebx, 4
jmp 0x17c002a
call dword [esi + 0x93ca04]
mov ebp, dword [esi + 0x93c9f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x17c0083
sub esp, 0xffffff80
jmp 0x123c378
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x211f1300
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
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, 0x8521fdb
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x46ccbb
Capabilities:
Parse pe header

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