joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4301bb
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx + 0x1db4]
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jle 0x4301e3
mov edx, dword [esp + 8]
push edi
movzx edi, byte [edx]
xor edi, eax
movzx eax, byte [edi + ecx + 0x1cb4]
mov byte [edx], al
inc edx
dec esi
jne 0x4301cf
pop edi
mov dword [ecx + 0x1db4], eax
pop esi
ret 8

Function at 0x430236
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push edi
mov edi, ecx
test edx, edx
mov ecx, dword [edi + 0x1db4]
jle 0x430263
push ebx
push esi
mov esi, dword [esp + 0x10]
movzx eax, byte [esi]
mov bl, byte [edi + eax + 0x1cb4]
xor bl, cl
mov ecx, eax
mov byte [esi], bl
inc esi
dec edx
jne 0x43024d
pop esi
pop ebx
mov dword [edi + 0x1db4], ecx
pop edi
ret 8

Function at 0x4302e9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, edx
push esi
shr eax, 2
test eax, eax
jle 0x430312
mov esi, eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ecx]
add ecx, 4
xor dword [eax], edi
add eax, 4
dec esi
jne 0x430302
pop edi
jmp 0x430315
mov eax, dword [ebp + 8]
and edx, 3
jle 0x430325
mov esi, edx
mov dl, byte [ecx]
xor byte [eax], dl
inc eax
inc ecx
dec esi
jne 0x43031c
pop esi
pop ebp
ret

Function at 0x430385
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov eax, edi
shr eax, 2
test eax, eax
jle 0x4303b7
mov edx, eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ecx]
add ecx, 4
xor ebx, dword [esi]
add esi, 4
mov dword [eax], ebx
add eax, 4
dec edx
jne 0x4303a2
pop ebx
jmp 0x4303ba
mov eax, dword [ebp + 8]
and edi, 3
jle 0x4303cb
mov dl, byte [ecx]
xor dl, byte [esi]
mov byte [eax], dl
inc eax
inc ecx
inc esi
dec edi
jne 0x4303bf
pop edi
pop esi
pop ebp
ret
Function at 0x4303cf
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.0043055b
lea edi, [esi + 0x474]
push ebx
mov ecx, esi
call fcn.0043058b
mov dword [edi], eax
inc ebx
add edi, 4
cmp ebx, 0x200
jb 0x4303f2
and dword [ebp - 4], 0
lea ebx, [esi + 0x74]
mov edi, 0x100
mov eax, dword [ebp - 4]
mov ecx, esi
add eax, 0x1000
push eax
call fcn.0043058b
inc dword [ebp - 4]
mov dword [ebx], eax
add ebx, 4
cmp dword [ebp - 4], edi
jb 0x430414
and dword [ebp - 4], 0
lea ebx, [esi + 0xc74]
mov eax, dword [ebp - 4]
mov ecx, esi
add eax, 0x2000
push eax
call fcn.0043058b
inc dword [ebp - 4]
mov dword [ebx], eax
add ebx, 4
cmp dword [ebp - 4], 0x10
jb 0x43043b
mov ecx, esi
call fcn.0042fe9e
and dword [esi + 0x1db4], 0
xor eax, eax
or cl, 0xff
sub cl, al
mov byte [ebp + eax - 0x110], cl
inc eax
cmp eax, edi
jb 0x430469
and dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0x14
jge 0x4304e4
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0x14
mov dword [ebp - 0x10], eax
jge 0x4304db
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ebx, edi
movzx eax, byte [eax + ecx]
movzx edx, byte [ecx + edx - 1]
add eax, edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ecx - 1]
xor eax, edx
cdq
idiv ebx
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
mov byte [ebp + eax - 0x210], dl
jge 0x4304ed
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x14
jl 0x4304a0
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x15
jl 0x430492
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jb 0x430485
xor eax, eax
mov dword [ebp + 8], eax
movzx ecx, byte [ebp + eax - 0x210]
cmp eax, ecx
je 0x430517
lea ecx, [ebp + ecx - 0x110]
lea eax, [ebp + eax - 0x110]
mov bl, byte [ecx]
mov dl, byte [eax]
mov byte [eax], bl
mov eax, dword [ebp + 8]
mov byte [ecx], dl
inc eax
cmp eax, edi
mov dword [ebp + 8], eax
jl 0x4304f2
cmp byte [ebp + 0xc], 0
je 0x43053e
lea eax, [ebp - 0x110]
push edi
add esi, 0x1cb4
push eax
push esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x430554
xor eax, eax
movzx ecx, byte [ebp + eax - 0x110]
mov byte [ecx + esi + 0x1cb4], al
inc eax
cmp eax, edi
jb 0x430540
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x430807
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x43084d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x430849
push eax
lea eax, [ebp - 0xc]
push str.ERROR:__d_RLMutexWin::IsExist__
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
xor al, al
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
leave
ret
Function at 0x4309a6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [ecx]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fread]
mov esi, eax
add esp, 0x10
cmp esi, dword [ebp + 0xc]
je 0x4309f2
call dword [sym.imp.MSVCRT.dll__errno]
push dword [eax]
lea eax, [ebp - 0xc]
push dword [ebp + 0xc]
push esi
push str.RLFile::Read____d__d_error_d
push eax
call fcn.00430892
add esp, 0x14
lea eax, [ebp - 0xc]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
pop esi
leave
ret 8

Function at 0x4309f7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [ecx]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fwrite]
mov esi, eax
add esp, 0x10
cmp esi, dword [ebp + 0xc]
je 0x430a43
call dword [sym.imp.MSVCRT.dll__errno]
push dword [eax]
lea eax, [ebp - 0xc]
push dword [ebp + 0xc]
push esi
push str.RLFile::Write____d__d_error_d
push eax
call fcn.00430892
add esp, 0x14
lea eax, [ebp - 0xc]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
pop esi
leave
ret 8

Function at 0x430c5f
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x430c9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push str.RLFileWin::GetSize___error_d
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret

Function at 0x430c9d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push 0
push eax
push esi
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x430cc3
cmp dword [ebp + 0xc], esi
je 0x430ce9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push str.RLFileWin::Read___error_d
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
pop esi
leave
ret 8

Function at 0x430cee
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push 0
push eax
push esi
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x430d14
cmp dword [ebp + 0xc], esi
je 0x430d3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push str.RLFileWin::Write___error_d
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
pop esi
leave
ret 8
Function at 0x430fbf
Capabilities:
Connect to http server
Create http request

Disassembly:
mov eax, 0x48c5ec
call fcn.004874e0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi]
cmp eax, ebx
jne 0x431054
cmp byte [0x4c29f8], bl
je 0x430fed
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
jmp 0x43104e
cmp word [0x4c29fa], bx
jne 0x430ffd
push ebx
push ebx
push ebx
push 1
jmp 0x430fe2
lea ecx, [ebp - 0x10]
call fcn.00433a89
movzx eax, word [0x4c29fa]
push eax
mov ecx, 0x4c29f4
mov dword [ebp - 4], ebx
call fcn.00435b75
push eax
lea eax, [ebp - 0x10]
push str._s:_d
push eax
call fcn.00434ff6
add esp, 0x10
lea ecx, [ebp - 0x10]
push ebx
push ebx
call fcn.00435b75
push eax
push 3
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.00433d8a
mov eax, dword [esi]
cmp eax, ebx
je 0x431078
cmp dword [esi + 4], ebx
jne 0x43110e
push 1
push ebx
push 3
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x431086
mov ecx, esi
call fcn.00430f26
xor al, al
jmp 0x431110
cmp byte [0x4c29f8], bl
push edi
jne 0x431098
cmp word [0x4c29fa], bx
je 0x4310ea
mov edi, 0x4c29ec
mov ecx, edi
call fcn.00434560
test eax, eax
jne 0x4310ea
mov ecx, edi
call fcn.0043454e
push eax
mov ecx, edi
call fcn.00435b75
push eax
push 0x2b
mov ecx, esi
call fcn.00430f86
mov edi, 0x4c29e8
mov ecx, edi
call fcn.00434560
test eax, eax
jne 0x4310ea
mov ecx, edi
call fcn.0043454e
push eax
mov ecx, edi
call fcn.00435b75
push eax
push 0x2c
mov ecx, esi
call fcn.00430f86
mov edi, 0xea60
mov ecx, esi
push edi
push 2
call fcn.00430f4e
push edi
push 6
mov ecx, esi
call fcn.00430f4e
push edi
push 5
mov ecx, esi
call fcn.00430f4e
pop edi
mov al, 1
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x431153
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
lea eax, [ebp - 0x128]
push edi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x28]
push eax
mov esi, ecx
push dword [ebp + 0xc]
call fcn.0043149b
add esp, 0x14
mov ecx, esi
call fcn.00431120
mov edi, 0x4c2700
push str.RLHttp::SendRequest__3
push edi
call fcn.004319df
pop ecx
lea eax, [ebp - 0xa8]
pop ecx
push dword [ebp - 4]
mov ecx, esi
push eax
call fcn.00430fbf
test al, al
je 0x4312a6
lea eax, [ebp - 0x28]
xor ebx, ebx
push 0x4ab1b0
push eax
mov dword [ebp - 8], ebx
mov dword [ebp + 0xc], 0x4080100
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x4311db
mov dword [ebp + 0xc], 0x4881100
mov ecx, 0x4c29ec
call fcn.00434560
test eax, eax
jne 0x4311ed
or byte [ebp + 0xe], 0x40
push str.RLHttp::SendRequest__5
push edi
call fcn.004319df
pop ecx
lea eax, [ebp - 8]
pop ecx
push ebx
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x128]
push dword [esi + 0x14]
push ebx
push eax
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x431229
mov ecx, esi
call fcn.00430f26
jmp 0x4312a6
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x431238
and dword [ebp + 8], ebx
and dword [ebp + 0xc], ebx
jmp 0x431248
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
lea ebx, [esi + 0x10]
mov ecx, ebx
call fcn.0043454e
push dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
push eax
push dword [esi + 8]
push str.RLHttp::SendRequest__8__X__X__X__X
push edi
call fcn.004319df
add esp, 0x18
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call fcn.00435b75
push eax
push dword [esi + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4312aa
mov ecx, esi
call fcn.00430f26
push str.RLHttp::SendRequest__8_ERROR
push edi
call fcn.004319df
pop ecx
pop ecx
mov ecx, esi
call fcn.0043113c
xor al, al
jmp 0x4312b9
push str.RLHttp::SendRequest__9
push edi
call fcn.004319df
pop ecx
mov al, 1
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4312c0
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov edi, str.S:Ammyy_sourcesRLRLHttp.cpp
cmp dword [esi + 8], 0
jne 0x4312ea
push 0xde
push edi
lea ecx, [ebp - 0x14]
call fcn.0042e609
mov ecx, eax
call fcn.0042e715
lea eax, [ebp - 8]
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xc]
and dword [ebp - 8], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 4
push eax
push 0x20000005
push dword [esi + 8]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x43132c
push 0xe4
push edi
lea ecx, [ebp - 0x14]
call fcn.0042e609
mov ecx, eax
call fcn.0042e715
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x431ab9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x431ae6
mov al, 1
leave
ret 8
cmp eax, 2
jne 0x431aef
xor al, al
jmp 0x431ae2
push eax
lea eax, [ebp - 0x10]
push str.RegQueryValueExA___error_u
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException

Function at 0x431b0f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [ebp - 4]
mov eax, 0x104
push ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ebp - 4], eax
call fcn.00434277
push eax
push 0
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop esi
jne 0x431b53
push dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
call fcn.0043434d
mov al, 1
leave
ret 8
cmp eax, 2
jne 0x431b69
mov ecx, dword [ebp + 0xc]
push 0x4c1e80
call fcn.00433f54
xor al, al
jmp 0x431b4f
push eax
lea eax, [ebp - 0x10]
push str.RegQueryValueExA___error_u
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException

Function at 0x431b89
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
and dword [ebp - 4], 0
push eax
push 0
push 0
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x431bb3
xor al, al
leave
ret 4
test eax, eax
jne 0x431bbb
mov al, 1
jmp 0x431baf
push eax
lea eax, [ebp - 0x10]
push str.IsExistW___error_u
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
Function at 0x431bdb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor esi, esi
push eax
push esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
push esi
push dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], esi
push dword [ebx]
call edi
cmp eax, 2
jne 0x431c0d
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
cmp eax, esi
jne 0x431c6e
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
add ecx, dword [ebp - 4]
push ecx
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0x18]
push eax
push 0
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x431c6e
cmp dword [ebp - 4], 0xf4240
jb 0x431c5c
push 0x78
push str.S:Ammyy_sourcesRLRLRegistry.cpp
lea ecx, [ebp - 0xc]
call fcn.0042e609
mov ecx, eax
call fcn.0042e715
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
add ecx, dword [ebp - 4]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov al, 1
jmp 0x431c06
push eax
lea eax, [ebp - 0x10]
push str.RegQueryValueExW___error_u
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException

Function at 0x431c8e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push dword [ecx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
push eax
push 3
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop esi
je 0x431cd7
push eax
lea eax, [ebp - 0xc]
push str.RegSetValueExW_REG_BINARY__error_u
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret 8

Function at 0x431cdb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
call fcn.0043454e
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00435b75
push eax
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop esi
je 0x431d2a
push eax
lea eax, [ebp - 0xc]
push str.RegSetValueExA___error_u
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret 8

Function at 0x431d2e
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x431d69
cmp eax, 2
je 0x431d69
push eax
lea eax, [ebp - 0xc]
push str.RegDeleteKeyA___error_u
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret
Function at 0x431d9e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov esi, eax
test esi, esi
jne 0x431de7
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push str.FindResourceEx___error_d_lpName0x_X
push eax
call fcn.00430892
add esp, 0x10
lea eax, [ebp - 0xc]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x431e1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push str.SizeofResource___error_d
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x431e51
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push str.LoadResource___error_d
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x431e82
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push str.LockResource___error_d
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x433502
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x48c71f
call fcn.004874e0
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
call fcn.00433a89
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xe
push dword [edi + 4]
mov dword [ebp - 4], 1
call esi
mov ebx, eax
test ebx, ebx
jbe 0x433558
inc ebx
lea ecx, [ebp - 0x10]
push ebx
call fcn.00434277
push eax
push ebx
push 0xd
push dword [edi + 4]
call esi
push eax
lea ecx, [ebp - 0x10]
call fcn.0043434d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00433a95
mov dword [ebp - 0x14], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00433d8a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x43358b
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x48c74b
call fcn.004874e0
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], edi
call fcn.004350ff
push edi
push edi
xor ebx, ebx
push 0xe
push dword [esi + 4]
inc ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
jbe 0x4335e2
inc edi
lea ecx, [ebp - 0x10]
push edi
call fcn.004358fb
push eax
push edi
push 0xd
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea ecx, [ebp - 0x10]
call fcn.004359d1
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0043510b
mov dword [ebp - 0x14], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004353fc
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x436593
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x48c99c
call fcn.004874e0
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
mov dword [ebp - 0x10], esi
call fcn.00433684
lea ecx, [esi + 0x28]
mov dword [ebp - 4], ebx
call fcn.00433a89
push 0xf
mov dword [esi], 0x498a24
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 0x64
mov dword [esi + 0x24], ebx
mov dword [esi + 0x30], 0xff000000
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov dword [esi + 0x18], 0xff000000
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x10], 0x24
mov byte [esi + 0x14], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43725b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
call fcn.00437327
mov ecx, esi
call fcn.00437a2a
mov ecx, dword [esi + 0xbe0]
mov edi, dword [esi + 0xbdc]
mov eax, ecx
xor ebx, ebx
imul eax, eax, 0x190
cdq
idiv edi
push ebx
mov byte [esi + 0xcec], bl
mov dword [esi + 0x218], eax
mov eax, ecx
imul eax, eax, 0xc8
cdq
idiv edi
mov ecx, esi
mov dword [esi + 0x21c], eax
call fcn.00438adc
push ebx
push 1
mov ecx, esi
call fcn.0043e103
push 0x4b4d54
mov ecx, esi
call fcn.00437207
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 4], esp
push 0x4c1e80
call fcn.004354bc
mov ecx, esi
call fcn.0043d14b
push ebx
push ebx
push esi
push 0x43bec6
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0xe98], eax
jne 0x437322
call dword [sym.imp.MSVCRT.dll__errno]
push dword [eax]
lea eax, [ebp - 0x10]
push str.Failed__beginthreadex____errno___d_
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
pop edi
pop esi
pop ebx
leave
ret