joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c485
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push edi
xor ebx, ebx
push edx
pop ebp
push ebx
push 0x80
push 3
push ebx
push 3
push closesocket
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
push eax
pop edi
cmp edi, 0xffffffff
jne 0x41c4af
xor al, al
jmp 0x41c4ed
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push eax
pop esi
push ebp
pop ecx
push ebx
push esi
call fcn.0040244e
push ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push esi
push ebp
pop ecx
call fcn.00401fab
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
pop esi
test eax, eax
je 0x41c4e4
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, bl
pop edi
pop ebp
pop ebx
pop ecx
ret

Function at 0x41c515
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push closesocket
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
push eax
pop edi
cmp edi, 0xffffffff
jne 0x41c53b
xor eax, eax
jmp 0x41c54e
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push edi
push eax
pop esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
pop eax
pop edi
pop esi
ret

Function at 0x41c551
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
pop edi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
pop esi
xor ebx, ebx
test esi, esi
je 0x41c64e
push ebx
inc esi
lea ecx, [esp + 0x34]
push esi
call fcn.0040b904
push esi
lea ecx, [esp + 0x34]
call fcn.00401f04
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.00402305
push eax
pop edi
lea ecx, [esp + 0x30]
lea eax, [esp + 0x18]
push eax
call fcn.004022ca
push eax
pop esi
lea ecx, [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
call fcn.00402305
push dword [edi]
lea ecx, [esp + 0x24]
push dword [esi]
push dword [eax]
call fcn.00409bdb
sub esp, 0xc
mov ecx, esp
push 0x46cadc
call fcn.0040417e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0040905c
lea ecx, [esp + 0x54]
call fcn.0041bee9
add esp, 0x30
lea ecx, [esp + 0x24]
push ebx
pop edi
call fcn.004021fa
test eax, eax
je 0x41c63c
push ebx
pop esi
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.00401e65
push eax
lea ecx, [esp + 0x38]
call fcn.00409a5e
cmp eax, 0xffffffff
jne 0x41c65f
inc edi
lea ecx, [esp + 0x24]
movzx esi, di
call fcn.004021fa
cmp esi, eax
jb 0x41c611
lea ecx, [esp + 0x24]
call fcn.00406adc
lea ecx, [esp + 0x30]
call fcn.00401f09
lea ecx, [ebp + 8]
call fcn.00401f09
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x10]
test esi, esi
je 0x41c679
lea ecx, [esp + 0x30]
call fcn.00401f04
push eax
push esi
call fcn.0043f809
pop ecx
pop ecx
lea ecx, [esp + 0x24]
call fcn.00406adc
lea ecx, [esp + 0x30]
call fcn.00401f09
mov bl, 1
jmp 0x41c64e
Function at 0x41c9e2
Capabilities:
Change the wallpaper

Disassembly:
push ebx
push esi
push edi
push edx
pop edi
sub ecx, 0
je 0x41ca8e
sub ecx, 1
je 0x41ca80
sub ecx, 1
je 0x41ca72
sub ecx, 1
je 0x41ca3f
sub ecx, 1
jne 0x41cad0
push 1
sub esp, 0x18
mov ecx, esp
push 0x46611c
call fcn.00402093
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
push esi
pop edx
call fcn.0041376f
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x466118
jmp 0x41cabc
push 1
sub esp, 0x18
mov ecx, esp
push 0x46c5f0
call fcn.00402093
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
push esi
pop edx
call fcn.0041376f
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x46611c
jmp 0x41cabc
push 1
sub esp, 0x18
mov ecx, esp
push 0x46c9f8
jmp 0x41ca4b
push 1
sub esp, 0x18
mov ecx, esp
push 0x466104
jmp 0x41ca4b
push 1
sub esp, 0x18
mov ebx, 0x46611c
mov ecx, esp
push ebx
call fcn.00402093
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
push esi
pop edx
call fcn.0041376f
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.00402093
push str.TileWallpaper
push esi
pop edx
call fcn.0041376f
add esp, 0x20
push 3
push edi
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
pop edi
pop esi
pop ebx
ret

Function at 0x41cd9b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
mov bl, cl
call dword [sym.imp.KERNEL32.DLL_AllocConsole]
call dword [0x474b18]
test bl, bl
mov dword [0x474b34], eax
pop ebx
jne 0x41cdc3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call fcn.0043c1b8
push eax
push 0x46ce14
push str.CONOUT_
call fcn.00441c22
add esp, 0x10
push 0x4e4
call dword [sym.imp.KERNEL32.DLL_SetConsoleOutputCP]
call fcn.0041cd58
push 0x64
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.00436e90
lea eax, [ebp - 0x64]
push str._n_tRemcos_v
push eax
call fcn.00441f60
lea eax, [ebp - 0x64]
push str.4.9.3_Pro
push eax
call fcn.00441f60
lea eax, [ebp - 0x64]
push 0x46cf18
push eax
call fcn.00441f60
lea eax, [ebp - 0x64]
push eax
call fcn.00407200
add esp, 0x28
mov esp, ebp
pop ebp
ret
Function at 0x422023
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [ecx + 4]
xor eax, eax
xor edx, edx
movzx ecx, word [esi]
cmp ax, cx
jae 0x42204e
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x42204e
cmp al, 0xc0
je 0x42204e
cmp al, 0xcc
je 0x42204e
add edx, 2
cmp dx, cx
jb 0x422033
pop esi
ret

Function at 0x424afd
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
push edx
pop edi
mov edx, dword [esp + 0x10]
lea esi, [edi + 4]
push esi
call fcn.00424a9a
mov edx, dword [esp + 0x10]
pop ecx
push 4
sub edx, edi
pop ecx
mov al, byte [edx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x424b18
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x424b26
pop edi
pop esi
ret

Function at 0x426d81
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x426d99
sub edx, ecx
mov eax, dword [edx + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x426d8c
pop esi
ret

Function at 0x426d9b
Capabilities:
Encode data using xor

Disassembly:
push ecx
pop eax
or eax, edx
push esi
mov esi, dword [esp + 8]
or eax, esi
test al, 3
jne 0x426db6
shr esi, 2
push esi
call fcn.00426d81
pop ecx
pop esi
ret
test esi, esi
je 0x426dc7
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x426dbc
pop esi
ret

Function at 0x426dc9
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
push edx
pop esi
push ecx
pop ebx
test edi, edi
jle 0x426ded
sub ebx, esi
movzx edx, byte [ebx + esi]
movzx ecx, byte [esi]
xor edx, ecx
or eax, edx
inc esi
sub edi, 1
jne 0x426ddc
pop edi
pop esi
pop ebx
ret

Function at 0x426df1
Capabilities:
Encrypt data using aes

Disassembly:
xor eax, eax
mov ecx, 0x468718
push 0x20
pop edx
and eax, dword [ecx]
add ecx, 0x20
sub edx, 1
jne 0x426dfb
cmp ecx, str.SHA256wECDSA
jl 0x426df8
ret
Function at 0x42b858
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
lea eax, [edx + 0x3f]
push esi
shr eax, 6
push edx
pop esi
sub esi, eax
mov dword [esp + 0x10], edx
push edi
xor edi, edi
push ecx
pop ebx
and dword [esp + 0x18], edi
inc esi
imul eax, esi, 3
shr eax, 2
cmp eax, dword [ebp]
jbe 0x42b88f
mov eax, 0xffffff53
jmp 0x42ba62
mov esi, dword [esp + 0x20]
cmp edx, 3
jbe 0x42ba50
lea eax, [esp + 0x18]
push ebx
pop ecx
push eax
lea edx, [esp + 0x18]
call fcn.0042b7fa
add esp, 4
test eax, eax
jne 0x42ba49
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx]
inc eax
mov byte [esp + 0x13], cl
mov dword [esp + 0x18], eax
test cl, cl
je 0x42ba50
dec dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ebx
pop ecx
call fcn.0042b7fa
add esp, 4
test eax, eax
jne 0x42ba62
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx]
inc eax
dec dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov byte [esp + 0x12], cl
push ebx
pop ecx
push eax
call fcn.0042b7fa
add esp, 4
test eax, eax
jne 0x42ba62
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx]
inc eax
dec dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov byte [esp + 0x24], cl
push ebx
pop ecx
push eax
call fcn.0042b7fa
add esp, 4
test eax, eax
jne 0x42ba62
mov eax, dword [esp + 0x18]
mov dl, byte [esp + 0x13]
mov dh, byte [eax + ebx]
inc eax
dec dword [esp + 0x14]
mov dword [esp + 0x18], eax
cmp dl, 0x2b
jb 0x42ba42
mov cl, byte [esp + 0x12]
cmp cl, 0x2b
jb 0x42ba42
mov al, byte [esp + 0x24]
cmp al, 0x2b
jb 0x42ba42
cmp dh, 0x2b
jb 0x42ba42
cmp dl, 0x7a
ja 0x42ba42
cmp cl, 0x7a
ja 0x42ba42
cmp al, 0x7a
ja 0x42ba42
cmp dh, 0x7a
ja 0x42ba42
xor ecx, ecx
cmp al, 0x3d
setne cl
xor eax, eax
inc ecx
cmp dh, 0x3d
setne al
add ecx, edi
add eax, ecx
cmp eax, dword [ebp]
ja 0x42b885
mov cl, byte [esp + 0x12]
movzx eax, dl
mov al, byte [eax + 0x46985d]
mov byte [esp + 0x13], al
movzx eax, cl
mov ch, byte [eax + 0x46985d]
mov al, byte [esp + 0x24]
cmp al, 0x3d
jne 0x42b9e5
xor cl, cl
jmp 0x42b9ee
movzx eax, al
mov cl, byte [eax + 0x46985d]
cmp dh, 0x3d
jne 0x42b9f7
xor al, al
jmp 0x42ba00
movzx eax, dh
mov al, byte [eax + 0x46985d]
mov ah, byte [esp + 0x13]
mov dl, cl
shl dl, 6
or dl, al
shl ah, 2
mov al, ch
shr al, 4
or al, ah
mov byte [edi + esi], al
inc edi
cmp byte [esp + 0x24], 0x3d
je 0x42ba2c
shr cl, 2
shl ch, 4
or cl, ch
mov byte [edi + esi], cl
inc edi
cmp dh, 0x3d
je 0x42ba50
mov byte [edi + esi], dl
inc edi
cmp dword [esp + 0x14], 3
ja 0x42b89c
jmp 0x42ba50
mov eax, 0xffffff66
jmp 0x42ba62
cmp eax, 0xffffff7c
jne 0x42ba62
test esi, esi
je 0x42ba5d
cmp dword [ebp], edi
jbe 0x42ba5d
mov byte [edi + esi], 0
mov dword [ebp], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x42f15e
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
push ecx
pop edi
test edi, edi
je 0x42f258
cmp dword [esp + 0x14], 0
mov esi, dword [esp + 0x18]
jne 0x42f17f
test esi, esi
jne 0x42f258
cmp edx, 3
je 0x42f1b5
cmp edx, 4
je 0x42f1b5
cmp edx, 5
je 0x42f1b5
cmp edx, 6
je 0x42f1b5
cmp edx, 7
je 0x42f1b5
cmp edx, 8
je 0x42f1b5
cmp edx, 0xa
je 0x42f1b5
cmp edx, 0xb
je 0x42f1b5
cmp edx, 0xc
je 0x42f1b5
cmp edx, 0xd
jne 0x42f258
xor ebx, ebx
mov byte [edi + 0x114], dl
push ecx
mov byte [edi + 0x115], bl
call fcn.0042f141
push eax
pop ebp
pop ecx
test ebp, ebp
jne 0x42f25d
cmp byte [edi + 0x114], 6
lea ecx, [edi + 0x70]
jne 0x42f258
cmp esi, 0x40
ja 0x42f1fb
cmp dword [esp + 0x14], ebx
je 0x42f224
push esi
push dword [esp + 0x18]
push ecx
call fcn.00436910
add esp, 0xc
jmp 0x42f221
mov edx, dword [esp + 0x14]
push edi
pop ecx
push esi
call fcn.00434040
push eax
pop ebp
pop ecx
test ebp, ebp
jne 0x42f254
lea edx, [edi + 0x70]
push edi
pop ecx
call fcn.0043411b
push eax
pop ebp
test ebp, ebp
jne 0x42f254
push 0x20
pop esi
lea ecx, [edi + 0x70]
cmp esi, 0x40
jae 0x42f23c
push 0x40
pop eax
sub eax, esi
push eax
lea eax, [ecx + esi]
push ebx
push eax
call fcn.00436e90
add esp, 0xc
mov al, byte [ebx + edi + 0x70]
xor al, 0x5c
mov byte [edi + ebx + 0xb0], al
xor byte [ebx + edi + 0x70], 0x36
inc ebx
cmp ebx, 0x40
jb 0x42f23c
push ebp
pop eax
jmp 0x42f25d
mov eax, 0xffffff53
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4330dc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd4
push ebx
push ebp
push esi
xor ebx, ebx
xor esi, esi
push edi
inc ebx
inc esi
cmp dword [esp + 0xe8], 0
push ecx
pop edi
push 0
cmovne ebx, dword [esp + 0xec]
push edx
pop ebp
pop ecx
test bl, 0x1f
push ebx
pop eax
push 0x37
push dword [esp + 0xf0]
setne cl
shr eax, 5
add eax, ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00436910
and dword [esp + 0x20], 0
add esp, 0xc
cmp dword [esp + 0x10], 0
jbe 0x43321a
lea ecx, [esp + 0x74]
call fcn.0043415a
push eax
pop esi
test esi, esi
jne 0x43321a
push 0x37
lea edx, [esp + 0x40]
lea ecx, [esp + 0x78]
call fcn.00434040
push eax
pop esi
pop ecx
test esi, esi
jne 0x43321a
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x74]
call fcn.0043411b
push eax
pop esi
test esi, esi
jne 0x43321a
push 4
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00436910
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp dword [edi], 1
jbe 0x4331c5
cmp eax, dword [edi + 4]
jne 0x4331c5
cmp byte [edi + 0x76], 1
je 0x433238
mov edx, dword [esp + 0x10]
mov byte [edi + 0x76], 1
lea eax, [edx - 1]
cmp dword [esp + 0x14], eax
lea ecx, [edx + 1]
cmovne ecx, edx
mov dword [esp + 0x10], ecx
jmp 0x4331cc
mov byte [edi + 0x76], 0
mov dword [edi + 4], eax
test ebp, ebp
je 0x433207
test ebx, ebx
je 0x433207
lea eax, [esp + 0x1c]
cmp ebx, 0x20
jb 0x4331fa
push 0x20
push eax
push ebp
call fcn.00436910
add esp, 0xc
lea ecx, [esp + 0x3c]
sub ebx, 0x20
add ebp, 0x20
call fcn.004330cd
jmp 0x433207
push ebx
push eax
push ebp
call fcn.00436910
add esp, 0xc
xor ebx, ebx
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x10]
jl 0x43313a
push 0x37
pop edx
lea ecx, [esp + 0x3c]
call fcn.0041d68e
xor eax, eax
test esi, esi
setne al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret
push 3
pop eax
jmp 0x43322d

Function at 0x433934
Capabilities:
Hash data using sha256

Disassembly:
push esi
push ecx
pop esi
test esi, esi
jne 0x4338e0
mov eax, 0xffffff53
pop esi
ret
push edi
push 0x20
xor edi, edi
push edi
push esi
call fcn.00436e90
add esp, 0xc
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
xor eax, eax
mov dword [esi + 0x68], edi
mov dword [esi], 0x6a09e667
pop edi
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
pop esi
ret
test ecx, ecx
jne 0x43393e
mov eax, 0xffffff53
ret
mov dword [ecx + 0x6c], edx
jmp 0x4338d2
Function at 0x43405f
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
pop ebx
test ebx, ebx
jne 0x43406d
mov eax, 0xffffff53
pop ebx
ret
mov eax, dword [ebx + 0x60]
push ebp
push esi
push edi
push 0x40
pop edi
lea ebp, [ebx + 0x20]
mov byte [eax + ebp], 0x80
inc dword [ebx + 0x60]
mov ecx, dword [ebx + 0x60]
push 0x38
pop esi
cmp ecx, esi
jbe 0x4340ba
push edi
pop eax
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push 0
push eax
call fcn.00436e90
push edi
push ebp
pop edx
mov dword [ebx + 0x60], edi
push ebp
pop ecx
call fcn.004338a8
add esp, 0x10
push ebp
pop edx
push ebx
pop ecx
call fcn.00433946
test eax, eax
jne 0x434116
and dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x60]
sub esi, eax
push esi
add eax, ebp
push 0
push eax
call fcn.00436e90
lea edi, [ebx + 0x64]
push ebp
pop edx
mov ecx, dword [edi]
lea esi, [ebx + 0x68]
mov eax, dword [esi]
shr ecx, 0x1d
push 0x40
lea eax, [ecx + eax*8]
push ebp
pop ecx
mov dword [esi], eax
mov eax, dword [edi]
shl eax, 3
mov dword [edi], eax
call fcn.004338a8
push 4
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.00436910
push 4
lea eax, [ebp + 0x3c]
push edi
push eax
call fcn.00436910
add esp, 0x28
push ebp
pop edx
push ebx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.00433946
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x43411b
Capabilities:
Hash data using sha256

Disassembly:
push esi
push ecx
pop esi
push edi
push edx
pop edi
test esi, esi
je 0x434152
test edi, edi
je 0x434152
call fcn.0043405f
test eax, eax
jne 0x434157
push 0x20
push esi
pop edx
push esi
pop ecx
call fcn.004338a8
push 0x20
push esi
push edi
call fcn.00436910
add esp, 0x10
push esi
pop ecx
pop edi
pop esi
jmp 0x4338d2
mov eax, 0xffffff53
pop edi
pop esi
ret

Function at 0x43420a
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
push ebp
push edx
pop eax
push ecx
pop ebp
neg eax
mov dword [esp + 8], eax
test ebp, ebp
je 0x4342a4
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4342a4
mov edx, dword [ebp]
push ebx
pop ecx
inc edx
call fcn.0042f8ed
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4342a9
xor edx, edx
push esi
push edi
cmp dword [ebp], edx
jle 0x43426a
mov edi, dword [ebx + 0xc]
push ebp
pop ecx
call fcn.004341f4
push ebx
pop ecx
push eax
pop esi
call fcn.004341f4
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebp]
jl 0x434244
jmp 0x43428f
mov ecx, dword [esp + 0x10]
jmp 0x43428f
mov edi, dword [ebx + 0xc]
push ebp
pop ecx
call fcn.004341f4
push ebx
pop ecx
push eax
pop esi
call fcn.004341f4
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebx]
jl 0x434270
mov eax, dword [ebp]
xor eax, dword [ebx]
and eax, ecx
xor dword [ebx], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
jmp 0x4342a9
mov eax, 0xffffff53
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x43451d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x434558
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x434551
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x43455d
add edx, 0x28
cmp edx, esi
jne 0x434542
xor eax, eax
pop esi
pop ebp
ret
push edx
pop eax
jmp 0x43455a

Function at 0x438d94
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x45c900
push 0x45c8f8
push str.FlsAlloc
push 4
call fcn.00438c73
push eax
pop esi
add esp, 0x10
test esi, esi
je 0x438dc6
push dword [ebp + 8]
push esi
pop ecx
call fcn.00434b9c
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_TlsAlloc]

Function at 0x438e08
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x45c910
push 0x45c908
push str.FlsGetValue
push 6
call fcn.00438c73
add esp, 0x10
push eax
pop esi
push dword [ebp + 8]
test esi, esi
je 0x438e39
push esi
pop ecx
call fcn.00434b9c
call esi
jmp 0x438e3f
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x438e42
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x45c918
push 0x45c910
push str.FlsSetValue
push 7
call fcn.00438c73
add esp, 0x10
push eax
pop esi
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x438e76
push esi
pop ecx
call fcn.00434b9c
call esi
jmp 0x438e7c
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x43f927
Capabilities:
Move file

Disassembly:
push edi
pop edi
push ebp
mov ebp, esp
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
test eax, eax
jne 0x43f950
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.004405a7
pop ecx
or eax, 0xffffffff
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x442509
Capabilities:
Read file on windows

Disassembly:
push edi
pop edi
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.004576b0
mov eax, dword [0x47100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push dword [ebp + 8]
call fcn.0044aae7
pop ecx
mov ecx, dword [ebp + 8]
push eax
pop ebx
cmp dword [ecx + 8], 0
jne 0x442542
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x442695
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00457540
push ebx
pop ecx
mov dword [ebp - 0x1008], eax
and ecx, 0x3f
mov dword [ebp - 0x1018], edx
push ebx
pop esi
imul edi, ecx, 0x30
sar esi, 6
push 0
mov ecx, dword [esi*4 + 0x472810]
push dword [ecx + edi + 0x24]
push dword [ecx + edi + 0x20]
push ebx
call fcn.0044c2d1
mov ecx, dword [esi*4 + 0x472810]
add esp, 0x10
mov dword [ebp - 0x100c], eax
push edx
pop eax
mov edx, dword [ebp - 0x100c]
mov dword [ebp - 0x1014], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x44268e
cmp eax, dword [ecx + edi + 0x24]
jne 0x44268e
push 0
lea eax, [ebp - 0x1010]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x44268e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0044c2d1
add esp, 0x10
test edx, edx
jg 0x442601
jl 0x44268e
test eax, eax
jb 0x44268e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1010]
test ebx, ebx
jl 0x44261b
jg 0x44268e
cmp dword [ebp - 0x1008], eax
ja 0x44268e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x442639
test ebx, ebx
je 0x442675
cmp ecx, edi
jae 0x442675
mov al, byte [ecx]
cmp al, 0xd
jne 0x442656
lea eax, [edi - 1]
cmp ecx, eax
jae 0x442662
lea eax, [ecx + 1]
cmp byte [eax], 0xa
jne 0x442662
push eax
pop ecx
jmp 0x442662
movzx eax, al
movsx eax, byte [eax + 0x471380]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x442639
cmp edx, ebx
jne 0x442639
lea eax, [ebp - 0x1004]
sub ecx, eax
push ecx
pop eax
cdq
add eax, dword [ebp - 0x100c]
adc edx, dword [ebp - 0x1014]
jmp 0x442693
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00434fcb
mov esp, ebp
pop ebp
ret

Function at 0x4432b5
Capabilities:
Terminate process

Disassembly:
push edi
pop edi
push ebp
mov ebp, esp
call fcn.00448cc9
test al, al
je 0x4432e3
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x68]
shr eax, 8
test al, 1
jne 0x4432e3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push dword [ebp + 8]
call fcn.0044333a
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_ExitProcess]