joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
or eax, 0xffffffff
push ebx
mov ebx, 1
push ebp
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
call fcn.00401d21
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x423618]
fadd qword [0x423630]
call fcn.00418310
mov ebp, eax
xor esi, esi
xor edi, edi
test ebp, ebp
jle 0x4154b0
call fcn.00401d21
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x423618]
fmul qword [0x423628]
fadd qword [0x423620]
call fcn.00418310
mov ecx, eax
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jle 0x415498
lea esp, [esp]
add ecx, ebx
cmp ecx, 0x1a
jne 0x415489
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x415480
add esi, dword [esp + ecx*4 + 0x18]
mov eax, dword [esp + 0x84]
add ecx, 0x61
mov word [eax + edi*2], cx
add edi, ebx
cmp edi, ebp
jl 0x415447
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret

Function at 0x415a40
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push 0x42304c
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call fcn.00401392
add esp, 0xc
test eax, eax
je 0x415a64
xor eax, eax
pop ecx
ret
mov edx, dword [esp]
push ebx
push ebp
push esi
push edi
push 2
push 0
push edx
call fcn.00401469
mov eax, dword [esp + 0x1c]
push eax
call fcn.00401686
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
mov esi, eax
call fcn.00401469
mov edx, dword [esp + 0x38]
lea ebp, [esi + edx]
push ebp
call fcn.00401743
mov edi, eax
mov eax, dword [esp + 0x30]
push eax
push 1
push esi
push edi
call fcn.00401a63
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00401af1
mov eax, dword [esp + 0x50]
lea ebx, [edi + esi]
call fcn.00414e60
mov edx, dword [esp + 0x4c]
push 0x423054
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00401392
add esp, 0x40
test eax, eax
je 0x415ae5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x10]
push ecx
push 1
push ebp
push edi
call fcn.00401c87
mov edx, dword [esp + 0x20]
push edx
call fcn.00401af1
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x102b462
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
xor ebx, ebx
cmp eax, esi
je 0x102b4d3
xor ecx, ecx
cmp cx, word [eax]
je 0x102b4d3
push edi
push esi
push eax
call fcn.0102b849
mov edi, eax
cmp edi, esi
je 0x102b4ce
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x102b49c
test al, 0x10
je 0x102b49c
inc ebx
jmp 0x102b4b7
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x102b4af
mov esi, 0x10b
cmp esi, 2
jne 0x102b4b7
push 3
pop esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
pop edi
jmp 0x102b4dd
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
pop ebx
pop ebp
ret 4
Function at 0x102ba4b
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
cmp eax, edi
jne 0x102ba78
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
leave
ret 0x10
cmp dword [ebp + 0xc], edi
je 0x102baaa
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push edi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp + 8], eax
cmp eax, edi
jne 0x102ba9d
cmp dword [ebp - 0xc], edi
jne 0x102baad
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
jmp 0x102ba73
mov dword [ebp - 0xc], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call ebx
mov dword [ebp + 8], eax
cmp eax, edi
jne 0x102bbfe
cmp dword [ebp - 8], 1
je 0x102bae9
cmp dword [ebp - 8], 2
je 0x102bae9
mov dword [ebp + 8], 0xd
jmp 0x102bbfe
push esi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 8
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x102bbf4
lea ecx, [ebp - 0x10]
push ecx
push eax
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call ebx
mov dword [ebp + 8], eax
cmp eax, edi
jne 0x102bb32
cmp dword [ebp - 8], 1
je 0x102bb47
cmp dword [ebp - 8], 2
je 0x102bb47
mov dword [ebp + 8], 0xd
push dword [ebp - 4]
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], edi
jmp 0x102bbfd
cmp dword [ebp + 0x14], 1
jne 0x102bbfd
cmp dword [ebp - 8], 2
jne 0x102bbfd
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push edi
push edi
push dword [ebp - 4]
call ebx
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x102bbd5
add eax, eax
push eax
push 8
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp + 0x10], eax
cmp eax, edi
je 0x102bba6
push dword [ebp - 0x10]
push eax
push dword [ebp - 4]
call ebx
test eax, eax
je 0x102bba6
push dword [ebp - 4]
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
jmp 0x102bbfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov dword [ebp + 8], eax
push edi
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call ebx
cmp dword [ebp + 0x10], edi
je 0x102bb3f
push dword [ebp + 0x10]
push edi
call esi
push eax
call ebx
jmp 0x102bb3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov dword [ebp + 8], eax
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
je 0x102bbfd
jmp 0x102bb3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
pop esi
pop ebx
cmp dword [ebp + 0xc], edi
je 0x102bc0d
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 4]
jmp 0x102ba9d
Function at 0x102bc38
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], esi
cmp eax, esi
jne 0x102bc66
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x102bcd3
cmp dword [ebp + 0xc], esi
je 0x102bc8b
lea ecx, [ebp - 4]
push ecx
push 0x20019
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x102bc88
cmp dword [ebp - 4], esi
jne 0x102bc8e
push eax
jmp 0x102bc5c
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, esi
jne 0x102bcb7
cmp dword [ebp - 0xc], 4
je 0x102bcba
push 0xd
pop edi
mov dword [ebp - 8], esi
cmp dword [ebp + 0xc], esi
je 0x102bcc8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret 0xc
Function at 0x103c102
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x103c112
invalid
jnp 0x1030d9d
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
push dword [ebx]
leave
mov edi, 0x60000000
jmp 0x103c130
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x103c18e
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x103c175
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x103c17e
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x103c188
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x103c16a
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x103c0f4
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x103c1db
dec eax
je 0x103c1d2
sub eax, 3
je 0x103c1c9
mov dword [ebp - 4], 0x40
jmp 0x103c1f8
mov dword [ebp - 4], 4
jmp 0x103c1de
mov dword [ebp - 4], 0x20
jmp 0x103c1de
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x103c22a
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x103c1aa
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0103ba3b
pop eax
rcl dword cs:[ebp - 1], 0x75
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x103c236
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x103d5bf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsb byte es:[edi], byte [esi]
add byte [eax], al
add byte [eax - 0x78b5b], al
inc dword [eax]
Function at 0x104550f
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 0x14]
xor eax, eax
push edi
mov edi, edx
mov edx, dword [esi + 0x10]
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x14]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 0x1c]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], edx
cmp dword [esi + 0x14], eax
jb 0x1045553
mov dword [edi + 4], eax
mov dword [edi], 3
jmp 0x10455da
mov ecx, ebx
jmp 0x10455ef
cmp eax, 0x61
jb 0x1045564
cmp eax, 0x7a
jbe 0x10455e1
lea edx, [eax - 0x41]
cmp edx, 0x19
jbe 0x10455e1
lea edx, [eax - 0x30]
cmp edx, 9
jbe 0x10455e1
cmp eax, 0x2f
ja 0x10455aa
cmp eax, 0x28
jae 0x10455e7
cmp eax, 0xa
je 0x10455e7
cmp eax, 0xd
je 0x10455e7
cmp eax, 0x1f
jbe 0x10455c8
cmp eax, 0x21
jbe 0x10455e7
cmp eax, 0x22
jbe 0x10455c8
cmp eax, 0x25
jbe 0x10455e7
cmp eax, 0x27
jne 0x10455c8
cmp dword [esi + 0x24], 0xa
sete al
jmp 0x10455e3
cmp eax, 0x3a
jb 0x10455c8
cmp eax, 0x3b
jbe 0x10455e7
cmp eax, 0x3d
je 0x10455e7
cmp eax, 0x3e
jbe 0x10455c8
cmp eax, 0x40
jbe 0x10455e7
cmp eax, 0x5f
je 0x10455e7
mov eax, dword [ebp - 4]
mov dword [edi], 0xc
sub ebx, dword [esi + 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 8], ebx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov al, 1
test al, al
je 0x10455c8
inc dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ebx, ecx
call dword [esi + 0x18]
mov ecx, edx
cmp eax, 0xffffffff
jne 0x104555a
mov eax, ecx
jmp 0x10455dc

Function at 0x438c8e
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x438a14
add ecx, ecx
add ecx, esi
call fcn.00438cbc
mov esi, 0x1606b61d
xor dword [eax], ebx
sub esi, esi
inc eax
sub ecx, 0xc18ce4e6
sub ecx, 0x3853b17f
cmp eax, edx
jne fcn.00438c8e
dec esi
ret
Function at 0x4044d5
Capabilities:
Check mutex on windows
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
sub eax, edi
je 0x404575
dec eax
jne 0x4045da
push 0x40130c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x4012f8
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
inc dword [0x40ebf8]
mov esi, eax
cmp esi, edi
je 0x404549
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0xb7
je 0x404557
mov eax, dword [ebp + 8]
mov dword [0x40ebd8], esi
mov dword [0x40ebc0], eax
mov dword [0x40ebdc], edi
mov dword [0x40ebc4], edi
mov dword [0x40ebcc], edi
jmp 0x4045da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4012c0
jmp 0x40456a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4045da
call ebx
push eax
push 0x401290
call fcn.0040674d
pop ecx
pop ecx
xor eax, eax
jmp 0x4045dd
push 0x40127c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
dec dword [0x40ebf8]
jne 0x4045da
push dword [0x40ebd8]
mov dword [0x40ebcc], edi
call dword [0x8b55117c]
push ebp
mov ebp, esp
add dword [eax], eax
add byte [eax], al
add byte [edx + eax - 9], bh
fmul dword [ecx + 0x458bfc45]
cld

Function at 0x404900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x404915
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00404627
cmp al, 0xb0
test byte [eax - 0x73], 0x45
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x4058d6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x334]
push eax
call dword [ebp - 0x3c8]
mov dword [ebp - 0x66c], eax
cmp dword [ebp - 0x66c], 0xffffffff
je 0x4067ba
push 0
push dword [ebp - 0x66c]
call dword [ebp - 0x33c]
mov dword [ebp - 0x378], eax
push dword [ebp - 0x378]
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 4], eax
call fcn.00404627
pop edi
test al, 0x6b
pop eax
and byte [ebp - 0x6dc], 0
and byte [ebp - 0x6db], 0
mov byte [ebp - 0x6da], 0x2c
and byte [ebp - 0x6d9], 0
mov byte [ebp - 0x6d8], 0x81
mov byte [ebp - 0x6d7], 0xb6
mov byte [ebp - 0x6d6], 0xb2
mov byte [ebp - 0x6d5], 0xb7
mov byte [ebp - 0x6d4], 0x95
mov byte [ebp - 0x6d3], 0xba
mov byte [ebp - 0x6d2], 0xbf
mov byte [ebp - 0x6d1], 0xb6
mov byte [ebp - 0x6d0], 0xd3
call fcn.00404627
cdq
mov eax, ds
pop ecx
lea eax, [ebp - 0x6dc]
push eax
call fcn.00404637
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004045ec
add esp, 0xc
mov dword [ebp - 0x6c8], eax
push 0
lea eax, [ebp - 0x6e0]
push eax
push dword [ebp - 0x378]
push dword [ebp - 4]
push dword [ebp - 0x66c]
call dword [ebp - 0x6c8]
mov dword [ebp - 0x6cc], eax
push dword [ebp - 0x66c]
call dword [ebp - 0x680]
cmp dword [ebp - 0x6cc], 0
je 0x4067ba
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.00404598
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x405a34
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x405a7d
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x405a27
call fcn.00404627
outsb dx, byte [esi]
pop esi
pop edx
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.00404627
int1
dec ebx
mov dword [edx - 0x72b7a73], ebp
invalid
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40633f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec esi
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.00404637
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.00404598
add esp, 0xc
jmp 0x40659f
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.00404627
daa
lcall 0xfc60, 0xb5ff2ba9
invalid

Function at 0x40692b
Capabilities:
Accept command line arguments
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
push esi
jne 0x406a15
mov eax, 0x94
call fcn.00407e50
mov esi, esp
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x406a8a
mov ecx, dword [esi + 0x10]
mov dword [0x40ed1c], ecx
mov eax, dword [esi + 4]
mov dword [0x40ed28], eax
mov edx, dword [esi + 8]
mov dword [0x40ed2c], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
cmp ecx, 2
mov dword [0x40ed20], esi
je 0x406998
or esi, 0x8000
mov dword [0x40ed20], esi
shl eax, 8
add eax, edx
push 1
mov dword [0x40ed24], eax
call fcn.00407d61
test eax, eax
pop ecx
je 0x406a8a
call fcn.00407569
test eax, eax
jne 0x4069c5
call fcn.00407dbd
jmp 0x406a8a
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x410554], eax
call fcn.00407c15
mov dword [0x40ed08], eax
call fcn.004076bc
test eax, eax
jl 0x406a0e
call fcn.00407b6c
test eax, eax
jl 0x406a09
call fcn.00407912
test eax, eax
jl 0x406a09
call fcn.0040721a
test eax, eax
jne 0x406a09
inc dword [0x40ed04]
jmp 0x406a9b
call fcn.004078bf
call fcn.0040733f
jmp 0x4069bb
test eax, eax
jne 0x406a45
cmp dword [0x40ed04], eax
jle 0x406a8a
dec dword [0x40ed04]
cmp dword [0x40ed58], eax
jne 0x406a34
call fcn.00407327
call fcn.004078bf
call fcn.0040733f
call fcn.00407dbd
jmp 0x406a9b
cmp eax, 2
jne 0x406a8e
push 0x88
push 1
call fcn.004075d8
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x406a8a
push esi
push dword [0x40e050]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
push esi
je 0x406a84
call fcn.00407362
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
jmp 0x406a9b
call fcn.00406b8c
pop ecx
xor eax, eax
jmp 0x406a9e
cmp eax, 3
jne 0x406a9b
push 0
call fcn.004073f2
pop ecx
xor eax, eax
inc eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc
Function at 0x40737f
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x40e050]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4073e1
push 0x88
push 1
call fcn.004075d8
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4073d9
push esi
push dword [0x40e050]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x4073d9
push esi
call fcn.00407362
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
jmp 0x4073e1
push 0x10
call fcn.00406b4f
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
ret

Function at 0x407569
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
call fcn.004080bd
test eax, eax
je 0x407582
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x40e050], eax
jne 0x40758a
call fcn.0040733f
xor eax, eax
ret
push esi
push 0x88
push 1
call fcn.004075d8
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4075ca
push esi
push dword [0x40e050]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x4075ca
push esi
call fcn.00407362
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
xor eax, eax
inc eax
pop esi
ret
call fcn.0040733f
xor eax, eax
pop esi
ret
Function at 0x407c15
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x40ee68]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push edi
xor ebx, ebx
xor edi, edi
cmp eax, ebx
jne 0x407c61
call esi
mov edi, eax
cmp edi, ebx
je 0x407c47
mov dword [0x40ee68], 1
jmp 0x407c66
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x407c5c
push 2
pop eax
mov dword [0x40ee68], eax
jmp 0x407c61
mov eax, dword [0x40ee68]
cmp eax, 1
jne 0x407cde
cmp edi, ebx
jne 0x407c72
call esi
mov edi, eax
cmp edi, ebx
je 0x407ce7
cmp word [edi], bx
mov eax, edi
je 0x407c87
inc eax
inc eax
cmp word [eax], bx
jne 0x407c79
inc eax
inc eax
cmp word [eax], bx
jne 0x407c79
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, edi
push ebx
sar eax, 1
inc eax
push eax
push edi
push ebx
push ebx
mov dword [ebp - 0xc], eax
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x407cd5
push eax
call fcn.00406cb5
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
je 0x407cd5
push ebx
push ebx
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push edi
push ebx
push ebx
call esi
test eax, eax
jne 0x407cd2
push dword [ebp - 4]
call fcn.00406b8c
pop ecx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x407d36
cmp eax, 2
je 0x407ceb
cmp eax, ebx
je 0x407ceb
xor eax, eax
jmp 0x407d38
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x407ce7
cmp byte [esi], bl
je 0x407d08
inc eax
cmp byte [eax], bl
jne 0x407cfe
inc eax
cmp byte [eax], bl
jne 0x407cfe
sub eax, esi
inc eax
mov edi, eax
push edi
call fcn.00406cb5
cmp eax, ebx
pop ecx
je 0x407d2f
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret