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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00409210
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41c196
test ah, 4
je 0x41c18f
test bl, bl
jne 0x41c154
mov al, 1
jmp 0x41c1bd
test al, 0x10
je 0x41c15c
xor eax, eax
jmp 0x41c1bd
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41c180
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x41c1bd
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41c1bd
test al, 0x10
sete al
jmp 0x41c1bd
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x41c1b7
cmp ebx, 3
je 0x41c1b7
cmp ebx, 0x7b
je 0x41c1b7
mov eax, esi
call fcn.0041c0ec
test al, al
jne 0x41c1bb
xor eax, eax
jmp 0x41c1bd
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x41c1c4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.00409210
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41c262
test esi, 0x400
jne 0x41c1f9
test esi, 0x10
setne bl
jmp 0x41c262
cmp byte [esp], 0
je 0x41c22d
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41c262
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x41c262
test esi, 0x10
je 0x41c239
mov bl, 1
jmp 0x41c262
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41c260
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x41c262
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41c26c
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.00409210
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x41c2c1
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41c2bb
test ah, 4
je 0x41c2bb
test al, 0x10
je 0x41c2bb
mov eax, esi
call fcn.00409210
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x41c2c1
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41ff48
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x41ff81
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00408858
jmp 0x41ff8a
mov eax, ebx
mov edx, esi
call fcn.00408ab0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41ff94
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x41ffb6
movzx eax, word [esp]
jmp 0x41ffb8
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x420fb8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4210dd
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00420dc0
mov esi, eax
mov eax, dword [0x4ec014]
cmp byte [eax], 0
je 0x421085
mov eax, dword [0x4ebe68]
call fcn.00405e38
call fcn.004055f8
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x420f88]
call fcn.0040b1a0
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4210f8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x4210c1
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4ebe30]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4f0634]
call fcn.0040b704
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4210e4
lea eax, [ebp - 4]
mov edx, dword [0x420f88]
call fcn.0040b2c4
ret
Function at 0x421ed4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x421fd4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00408af8
lea eax, [ebp - 4]
call fcn.00408c6c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00409210
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x421fbe
mov eax, ebx
call fcn.00405484
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x421fb7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00409210
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x421fa1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x421fe8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x421fa1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421fbe
mov eax, dword [ebp - 0x10]
call fcn.004054a0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421fdb
lea eax, [ebp - 4]
call fcn.004086d0
ret

Function at 0x4230e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00408bac
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040e0c0
mov edi, eax
cmp edi, 0x104
jbe 0x42308b
mov eax, edi
add eax, eax
call fcn.00405484
mov esi, eax
jmp 0x42308d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040e0c0
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4230c6
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4230b0
mov eax, esp
cmp esi, eax
je 0x4230d3
mov eax, esi
call fcn.004054a0
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x42310c
cmp bl, 0
je 0x423108
cmp bl, 0x41
jl 0x423103
cmp bl, 0x5a
jg 0x423103
or bl, 0x20
xor al, bl
inc esi
jmp 0x4230e7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42304c
Function at 0x469628
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x469630
mov eax, edx
pop esi
pop ebx
ret

Function at 0x49ab88
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x49abcb
cmp byte [ebx + 0x11], 0
jne 0x49abcb
cmp byte [ebx + 0x24], 0
jne 0x49abcb
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x49abe2
mov ecx, dword [0x4ebfd4]
mov dl, 1
mov eax, dword [0x476c40]
call fcn.004211c4
call fcn.00407d4c
pop ebx
ret
mov ecx, dword [0x4ebfd4]
mov dl, 1
mov eax, dword [0x476c40]
call fcn.004211c4
call fcn.00407d4c
pop ebx
ret

Function at 0x49b040
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x49b08e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0049ab00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b0a7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x49b0b0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0049ab00
dec esi
jne 0x49b0d2
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x4b95cc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, dword [str.cw]
lea edx, [eax + 0x10]
movzx eax, word [eax + 0x112]
dec eax
mov ecx, eax
add ecx, ecx
add ecx, ecx
test ecx, ecx
jle 0x4b9640
mov eax, dword [edx]
mov esi, eax
shr esi, 0x18
movzx esi, byte [ebx + esi]
mov esi, dword [esi*4 + 0x4e51f4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
movzx edi, byte [ebx + edi]
xor esi, dword [edi*4 + 0x4e4df4]
mov edi, eax
shr edi, 8
and edi, 0xff
movzx edi, byte [ebx + edi]
xor esi, dword [edi*4 + 0x4e49f4]
and eax, 0xff
movzx eax, byte [ebx + eax]
xor esi, dword [eax*4 + 0x4e45f4]
mov dword [edx], esi
add edx, 4
dec ecx
jne 0x4b95ea
pop edi
pop esi
pop ebx
ret

Function at 0x4b96bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
jge 0x4b96e0
xor eax, eax
mov dword [ebp - 8], eax
cmp byte [ebx + 0x116], 0
je 0x4b96f5
mov dword [ebp - 0xc], 0xfffffffe
jmp 0x4b9842
test edi, edi
je 0x4b96ff
cmp dword [ebp - 4], 0
jne 0x4b9711
cmp dword [ebp - 8], 0
jle 0x4b9711
mov dword [ebp - 0xc], 0xfffffffa
jmp 0x4b9842
mov eax, dword [ebp - 8]
test eax, eax
jns 0x4b971b
add eax, 0xf
sar eax, 4
mov edx, dword [ebp - 8]
and edx, 0x8000000f
jns 0x4b972e
dec edx
or edx, 0xfffffff0
inc edx
mov word [ebp - 0x12], dx
cmp word [ebp - 0x12], 0
je 0x4b974a
test eax, eax
jne 0x4b9749
mov dword [ebp - 0xc], 0xfffffffd
jmp 0x4b9842
dec eax
test byte [ebx + 0x117], 1
je 0x4b975f
mov dword [ebp - 0xc], 0xfffffffc
jmp 0x4b9842
mov esi, eax
test esi, esi
jle 0x4b97a8
lea ecx, [ebx + 0xf0]
lea edx, [ebx + 0xf0]
mov eax, edi
call fcn.004b8ccc
lea ecx, [ebx + 0xf0]
lea edx, [ebx + 0xf0]
mov eax, ebx
call fcn.004b8fcc
mov eax, dword [ebp - 4]
push esi
push edi
lea esi, [ebx + 0xf0]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
add edi, 0x10
add dword [ebp - 4], 0x10
dec esi
jne 0x4b9765
cmp word [ebp - 0x12], 0
je 0x4b9842
lea ecx, [ebx + 0xf0]
lea edx, [ebx + 0xf0]
mov eax, edi
call fcn.004b8ccc
lea ecx, [ebx + 0xf0]
lea edx, [ebx + 0xf0]
mov eax, ebx
call fcn.004b8fcc
push edi
lea esi, [ebx + 0xf0]
lea edi, [ebx + 0x100]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
add edi, 0x10
movzx esi, word [ebp - 0x12]
dec esi
test esi, esi
jl 0x4b9815
inc esi
mov dword [ebp - 0x10], 0
lea eax, [ebx + 0xf0]
mov edx, dword [ebp - 0x10]
movzx edx, byte [edi + edx]
xor byte [eax], dl
inc dword [ebp - 0x10]
inc eax
dec esi
jne 0x4b9805
mov ecx, dword [ebp - 4]
lea edx, [ebx + 0xf0]
mov eax, ebx
call fcn.004b8fcc
add dword [ebp - 4], 0x10
movzx ecx, word [ebp - 0x12]
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x100]
call fcn.00405648
or byte [ebx + 0x117], 1
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b9f2c
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ebx, ecx
mov edi, edx
mov esi, eax
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
call sub.advapi32.dll_CryptAcquireContextW
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x8003
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_CryptCreateHash
push 0
push edi
push esi
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_CryptHashData
mov dword [esp], 0x10
mov eax, dword [esp]
push eax
mov eax, ebx
mov ecx, 1
mov edx, dword [0x4031b8]
call fcn.0040b1a0
add esp, 4
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [ebx]
push eax
push 2
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_CryptGetHashParam
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_CryptDestroyHash
push 0
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_CryptReleaseContext
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x4c6c7c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x4e6278
test edx, edx
jne 0x4c6c9b
xor eax, eax
jmp 0x4c6db9
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x4c6cb8
push esi
push edx
push eax
call fcn.004c6ddc
add esp, 0xc
jmp 0x4c6db9
push esi
push edx
push eax
call fcn.004c709c
add esp, 0xc
jmp 0x4c6db9
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4d15c4
Capabilities:
Parse url

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 0xc
add esp, 0xfffff004
push eax
dec eax
jne 0x4d15ce
mov eax, dword [esp + 0xc000]
add esp, 0xffffffbc
mov edi, edx
mov ebx, eax
mov ebp, esp
mov eax, ebp
xor ecx, ecx
mov edx, 0x3c
call fcn.00405ea8
mov eax, edi
xor ecx, ecx
mov edx, 0x20
call fcn.00405ea8
mov dword [ebp], 0x3c
mov dword [ebp + 8], 0xfa0
lea eax, [esp + 0x3c]
mov dword [ebp + 4], eax
mov dword [ebp + 0x14], 0xfa0
lea eax, [esp + 0x203e]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x20], 0xfa0
lea eax, [esp + 0x4040]
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x28], 0xfa0
lea eax, [esp + 0x6042]
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x30], 0xfa0
lea eax, [esp + 0x8044]
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x38], 0xfa0
lea eax, [esp + 0xa046]
mov dword [ebp + 0x34], eax
mov esi, ebx
test esi, esi
je 0x4d1679
sub esi, 4
mov esi, dword [esi]
push ebp
push 0
push esi
mov eax, ebx
call fcn.00409210
push eax
call sub.wininet.dll_InternetCrackUrlW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
je 0x4d16de
lea eax, [edi + 4]
mov edx, dword [ebp + 0x10]
call fcn.00409274
mov eax, edi
mov edx, dword [ebp + 4]
call fcn.00409274
lea eax, [edi + 8]
mov edx, dword [ebp + 0x2c]
call fcn.00409274
movzx eax, word [ebp + 0x18]
mov dword [edi + 0xc], eax
lea eax, [edi + 0x10]
mov edx, dword [ebp + 0x34]
call fcn.00409274
lea eax, [edi + 0x14]
mov edx, dword [ebp + 0x1c]
call fcn.00409274
lea eax, [edi + 0x18]
mov edx, dword [ebp + 0x24]
call fcn.00409274
mov byte [edi + 0x1c], bl
add esp, 0xc048
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d1c8c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004087b4
xor eax, eax
push ebp
push 0x4d1d76
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4f38fc
call sub.kernel32.dll_EnterCriticalSection
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, 0x7fffffff
call fcn.00405934
push eax
push 0x4d1c68
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebp - 0xc], eax
push 0
push 5
push dword [ebp + 0xc]
push dword [ebp + 8]
lea edx, [ebp - 8]
mov eax, dword [0x4f38f8]
call fcn.004b756c
cmp dword [ebp - 8], 0
je 0x4d1d28
push 0
push 4
push 0
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x4f38f8]
call fcn.004b756c
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00409460
mov eax, dword [ebp - 0x14]
pop edx
call fcn.004d2c04
mov eax, 0x7fffffff
call fcn.00405934
push eax
call sub.kernel32.dll_ExitProcess

Function at 0x4d1d84
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d1e37
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4f38fc
call sub.kernel32.dll_EnterCriticalSection
lea eax, [ebp - 8]
push eax
push 0
mov eax, 0x7fffffff
call fcn.00405934
push eax
push 0x4d1c68
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebp - 8], eax
push 0
push 4
push 0
push 0
lea edx, [ebp - 4]
mov eax, dword [0x4f38f8]
call fcn.004b756c
cmp dword [ebp - 4], 0
jne 0x4d1df1
lea edx, [ebp - 4]
xor eax, eax
call fcn.00423268
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d2c04
mov eax, 0x7fffffff
call fcn.00405934
push eax
call sub.kernel32.dll_ExitProcess
Function at 0x4d2f74
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4d3105
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
cmp edx, dword [0x4f3964]
jne 0x4d2fa7
cmp eax, dword [0x4f3960]
je 0x4d2fbb
test ebx, ebx
je 0x4d2fbb
push esi
push ebx
call sub.kernel32.dll_LoadResource
mov ebx, eax
jmp 0x4d30e9
push 0x4f3968
call sub.kernel32.dll_EnterCriticalSection
push dword [0x4f398c]
push dword [0x4f3988]
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, dword [0x4f3980]
call fcn.004b73e8
test al, al
je 0x4d30d6
push dword [0x4f398c]
push dword [0x4f3988]
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, dword [0x4f3980]
call fcn.004b74e0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push dword [0x4f398c]
push dword [0x4f3988]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [0x4f3980]
call fcn.004b74e0
mov ebx, eax
cmp ebx, 9
jne 0x4d30df
mov ebx, esi
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004b82e4
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4d304a
sub ecx, 4
mov ecx, dword [ecx]
mov eax, ecx
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004d1594
mov esi, eax
push 4
push 0x1000
mov eax, dword [ebp - 0x18]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc
mov ebx, eax
mov edx, ebx
mov eax, esi
mov ecx, dword [ebp - 0x18]
call fcn.00405648
push esi
call fcn.0040ddbc
pop ecx
push dword [0x4f398c]
push dword [0x4f3988]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [0x4f3980]
call fcn.004b7810
push dword [0x4f398c]
push dword [0x4f3988]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
neg eax
adc edx, 0
neg edx
push edx
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [0x4f3980]
call fcn.004b77a4
jmp 0x4d30df
push esi
push ebx
call sub.kernel32.dll_LoadResource
mov ebx, eax
push 0x4f3968
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d310c
lea eax, [ebp - 4]
mov edx, dword [0x4031b8]
call fcn.0040b2c4
ret
Function at 0x4d3ce0
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x4d3e05
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetCurrentProcessId
mov esi, eax
xor edx, edx
mov eax, 4
call fcn.004d3b98
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4d3def
xor eax, eax
push ebp
push 0x4d3de8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004d3bb8
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4d3dc9
cmp esi, dword [ebp - 0x1c]
jne 0x4d3db6
mov eax, dword [0x4ec108]
mov eax, dword [eax]
mov edi, dword [ebp - 0x20]
cmp eax, edi
je 0x4d3db6
lea eax, [ebp - 0xc]
push eax
push edi
call sub.kernel32.dll_GetExitCodeThread
cmp dword [ebp - 0xc], 0x103
jne 0x4d3db6
mov eax, 0x7fffffff
call fcn.00405934
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_SuspendThread
lea edx, [ebp - 0x2c]
mov eax, 0x4d3cd8
call fcn.0040e018
mov eax, dword [ebp - 0x2c]
call fcn.004d1d84
mov eax, 0x7fffffff
call fcn.00405934
push eax
call sub.kernel32.dll_ExitProcess
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004d3bdc
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4d3d4b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3def
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3e0c
lea eax, [ebp - 0x2c]
call fcn.004086d0
ret
Function at 0x4da190
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
cmp dword [0x4f41b4], 0
je 0x4da1b1
mov eax, dword [0x4f41b4]
push eax
call sub.kernel32.dll_ReleaseMutex
mov eax, dword [0x4f41b4]
push eax
call sub.kernel32.dll_CloseHandle
mov esi, 9
mov ebx, 0x4f4190
mov eax, dword [ebx]
test eax, eax
je 0x4da1c9
push 0
push eax
call sub.kernel32.dll_TerminateThread
add ebx, 4
dec esi
jne 0x4da1bb
pop esi
pop ebx
ret