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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbdeb
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov dword [ebp - 0x38], eax
sar ecx, 2
cmp ecx, 0x10001
jb 0x412eaa
xor al, al
jmp 0x412f78
xor edx, edx
mov eax, esi
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412ec3
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401bf0
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x412eec
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x412f03
test al, 0x10
jne 0x412f03
mov eax, 1
jmp 0x412f05
xor eax, eax
test al, al
sete bl
cmp dword [ebp - 0x18], edi
jb 0x412f1b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0049855c
add esp, 4
test bl, bl
jne 0x412ea3
lea ecx, [ebp - 0x2d]
push ecx
mov ecx, esi
call fcn.00412180
test al, al
je 0x412ea3
push 0x2c
call fcn.0049964e
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x412f5f
mov edx, dword [ebp + 0xc]
push 1
push 0
push 2
push edx
mov edx, esi
mov esi, eax
call fcn.00412080
jmp 0x412f61
xor eax, eax
mov edi, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
call fcn.00437500
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 8
Function at 0x4198b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb5b8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
xor esi, esi
xor ecx, ecx
push esi
mov word [ebp - 0x64], cx
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], esi
call fcn.00401780
mov dword [ebp - 4], esi
cmp dword [ebp + 0xc], esi
jne 0x41991f
cmp dword [ebp - 0x50], 8
jb 0x419918
mov edx, dword [ebp - 0x64]
push edx
call fcn.0049855c
add esp, 4
xor al, al
jmp 0x419a87
mov dword [edi], esi
mov dword [edi + 4], esi
xor eax, eax
jmp 0x41992a
xor esi, esi
mov edx, dword [ebp + 0xc]
inc eax
push eax
push edx
push str.VTS__02d__d.VOB
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x2c]
xor ecx, ecx
push 0x1a
push eax
mov word [ebp - 0x2c], cx
call fcn.00403a10
lea eax, [ebp - 0x2c]
add esp, 0x14
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x419952
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00404c50
mov edx, dword [ebp - 0x64]
mov ebx, 8
cmp dword [ebp - 0x50], ebx
jae 0x41997e
lea edx, [ebp - 0x64]
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 7
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419993
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00401bf0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x4199b7
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4199ce
test al, 0x10
jne 0x4199ce
mov eax, 1
jmp 0x4199d0
xor eax, eax
test al, al
mov esi, 8
sete bl
cmp dword [ebp - 0x34], esi
jb 0x4199eb
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0049855c
add esp, 4
test bl, bl
jne 0x419a74
mov edx, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x4199fe
lea edx, [ebp - 0x64]
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419a17
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00401bf0
lea ecx, [ebp - 0x48]
push ecx
call fcn.00402310
add esp, 4
add dword [edi], eax
adc dword [edi + 4], edx
cmp dword [ebp - 0x34], 8
jb 0x419a53
mov edx, dword [ebp - 0x48]
push edx
call fcn.0049855c
add esp, 4
mov eax, dword [ebp - 0x68]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x64]
call fcn.00401780
mov eax, dword [ebp - 0x6c]
cmp eax, 9
jb 0x419928
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x419a85
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0049855c
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 8
Function at 0x41cd70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bb9a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push edi
mov eax, dword [0x4ed310]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
push eax
push esi
lea ebx, [esp + 0x14]
mov dword [esp + 0x30], edi
call fcn.0041cb60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, eax
sub edx, ecx
sar edx, 2
test edx, edx
je 0x41cdfd
mov edx, dword [eax - 4]
cmp ecx, eax
je 0x41cddf
sub eax, 4
mov dword [esp + 0x10], eax
push edx
push esi
lea ebx, [esp + 0x14]
call fcn.0041cb60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, eax
sub edx, ecx
sar edx, 2
test edx, edx
jne 0x41cdd1
cmp ecx, edi
je 0x41ce0a
push ecx
call fcn.0049855c
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x420c20
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bafd6
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4ed310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call fcn.0041f0d0
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi], vtable.ckmmc::Device.0
mov dword [esi + 0xd4], 7
mov dword [esi + 0xd0], eax
mov word [esi + 0xc0], ax
lea ecx, [esi + 0x30]
mov eax, ecx
mov byte [ebp - 4], 1
lea ebx, [eax + 2]
jmp 0x420c80
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x420c80
sub eax, ebx
sar eax, 1
push eax
push ecx
lea ecx, [esi + 0xc0]
call fcn.00401bf0
push 1
push 0x4d302c
lea ecx, [esi + 0xc0]
call fcn.00404c50
lea ecx, [esi + 0x42]
mov eax, ecx
lea edx, [eax + 2]
mov bx, word [eax]
add eax, 2
test bx, bx
jne 0x420cb6
sub eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [esi + 0xc0]
call fcn.00404c50
push 1
push 0x4d302c
lea ecx, [esi + 0xc0]
call fcn.00404c50
lea ecx, [esi + 0x64]
mov eax, ecx
lea ebx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x420cf0
sub eax, ebx
sar eax, 1
push eax
push ecx
lea ecx, [esi + 0xc0]
call fcn.00404c50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x424500
Capabilities:
Terminate process

Disassembly:
test eax, eax
jne 0x424509
mov eax, str.undefined
push eax
push str.libpng_error:__s
call fcn.0049b8b2
add eax, 0x40
push eax
call fcn.0049b7a6
add esp, 0xc
push 0x4d30e4
call fcn.0049b8b2
add eax, 0x40
push eax
call fcn.0049b7a6
add esp, 8
test esi, esi
je 0x424549
mov eax, dword [esi + 0x40]
test eax, eax
je 0x424549
push 1
push esi
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x424560
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00424570
Function at 0x432a60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x432a6b
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.00432a80
Function at 0x432ed8
Capabilities:
Compute adler32 checksum

Disassembly:
ret

Function at 0x433c10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
push 2
mov word [esi], ax
lea eax, [esi + 0x28]
xor ecx, ecx
push eax
push 0x20000011
lea ebx, [esi + 0x14]
push 0x400
mov word [ebx], cx
mov dword [eax], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], esi
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ecx
call edi
push 2
lea eax, [esi + 0x2c]
push eax
push 0x20000012
push 0x400
call edi
push 0xa
push esi
push 0xe
push 0x400
call edi
push 0xa
push ebx
push 0xf
push 0x400
call edi
push 2
lea eax, [esi + 0x3c]
push eax
push 0x20001010
push 0x400
call edi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10
push 0x400
call edi
mov ax, word [ebp - 0xcc]
lea ecx, [ebp - 0xcc]
test ax, ax
je 0x433d00
movzx eax, ax
mov edi, edi
cmp ax, 0x31
jb 0x433cdc
cmp ax, 0x39
ja 0x433cdc
mov edx, dword [esi + 0x30]
movzx edi, ax
lea edx, [edx + edx*4]
lea edx, [edi + edx*2 - 0x30]
mov dword [esi + 0x30], edx
cmp ax, 0x30
je 0x433cf4
cmp word [ecx + 2], 0
jne 0x433cf4
mov eax, dword [esi + 0x30]
lea eax, [eax + eax*4]
add eax, eax
mov dword [esi + 0x30], eax
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x433cc0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp
ret

Function at 0x434300
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [esi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.irc_capabilities
push eax
call edi
mov dword [esi + 4], eax
test eax, eax
jne 0x43431c
xor al, al
pop edi
ret
mov ecx, dword [esi]
push str.irc_string
push ecx
call edi
mov dword [esi + 8], eax
test eax, eax
je 0x434318
mov edx, dword [esi]
push str.irc_set_callback
push edx
call edi
mov dword [esi + 0xc], eax
test eax, eax
je 0x434318
mov eax, dword [esi]
push str.irc_decode_init
push eax
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x434318
mov ecx, dword [esi]
push str.irc_decode_process
push ecx
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x434318
mov edx, dword [esi]
push str.irc_decode_exit
push edx
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x434318
mov eax, dword [esi]
push str.irc_encode_init
push eax
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x434318
mov ecx, dword [esi]
push str.irc_encode_process
push ecx
call edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x434318
mov edx, dword [esi]
push str.irc_encode_flush
push edx
call edi
mov dword [esi + 0x24], eax
test eax, eax
je 0x434318
mov eax, dword [esi]
push str.irc_encode_exit
push eax
call edi
mov dword [esi + 0x28], eax
test eax, eax
je 0x434318
mov ecx, dword [esi]
push str.irc_encode_config
push ecx
call edi
test eax, eax
mov dword [esi + 0x2c], eax
setne al
pop edi
ret
Function at 0x434d90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9e38
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4ed310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x80
mov dword [esi + 4], eax
xor edi, edi
mov edx, 2
mul edx
seto cl
mov dword [esi + 8], edi
neg ecx
or ecx, eax
push ecx
call fcn.00497a23
mov dword [esi], eax
xor ecx, ecx
mov dword [ebp - 4], edi
mov eax, 0x100
mov dword [esi + 0x10], eax
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x14], edi
neg ecx
or ecx, eax
push ecx
call fcn.00497a23
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov edx, dword [esi + 0xc]
add esp, 8
xor eax, eax
mov word [edx], ax
mov dword [esi + 0x18], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x434e40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9e38
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4ed310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [esi + 4], eax
xor edi, edi
mov edx, 2
mul edx
seto cl
mov dword [esi + 8], edi
neg ecx
or ecx, eax
push ecx
call fcn.00497a23
mov dword [esi], eax
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
mov dword [ebp - 4], edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
neg ecx
or ecx, eax
push ecx
call fcn.00497a23
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov edx, dword [esi + 0xc]
add esp, 8
xor eax, eax
mov word [edx], ax
mov dword [esi + 0x18], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4351d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0x808]
push edi
cmp eax, dword [esi + 0x804]
jne 0x435242
push 0x800
lea edi, [esi + 4]
push 0
push edi
call fcn.00499330
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
add esp, 0xc
cmp eax, 0xffffffff
je 0x43522b
push 0
lea edx, [ebp + 8]
push edx
push 0x800
push edi
push eax
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43522b
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
jne 0x435232
xor al, al
pop edi
pop ebp
ret 8
shr eax, 1
mov dword [esi + 0x804], eax
mov dword [esi + 0x808], ecx
je 0x43522b
add dword [esi + 0x810], 0xfffffffe
mov eax, dword [esi + 0x808]
mov edx, dword [ebp + 0xc]
adc dword [esi + 0x814], 0xffffffff
mov cx, word [esi + eax*2 + 4]
mov eax, 1
mov word [edx], cx
add dword [esi + 0x808], eax
pop edi
pop ebp
ret 8
Function at 0x436ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x824]
push edi
cmp eax, dword [esi + 0x820]
jne 0x436f42
push 0x800
lea edi, [esi + 0x20]
push 0
push edi
call fcn.00499330
mov eax, dword [esi]
add esp, 0xc
cmp eax, 0xffffffff
je 0x436f29
push 0
lea ecx, [ebp - 4]
push ecx
push 0x800
push edi
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436f29
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
jne 0x436f32
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
shr eax, 1
mov dword [esi + 0x820], eax
mov dword [esi + 0x824], ecx
je 0x436f29
add dword [esi + 0x828], 0xfffffffe
mov eax, dword [esi + 0x824]
mov edx, dword [ebp + 8]
adc dword [esi + 0x82c], 0xffffffff
mov cx, word [esi + eax*2 + 0x20]
mov eax, 1
mov word [edx], cx
add dword [esi + 0x824], eax
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x438230
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00499330
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43829d
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x43828d
cmp eax, 4
jne 0x43829d
cmp dword [ebp - 0x110], 0x5a
jb 0x43829d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.00499155
mov esp, ebp
pop ebp
ret

Function at 0x4387e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004203f0
mov eax, dword [0x4e89e8]
mov cl, byte [0x4e89ec]
mov dl, byte [0x4e89ed]
mov dword [ebp - 0xc], eax
mov al, byte [0x4e89ee]
xor ebx, ebx
push 0xa3
mov byte [ebp + 0xb], cl
mov byte [ebp - 1], dl
mov byte [ebp - 2], al
mov dword [0x4e89e8], 3
mov word [0x4e89ec], 1
mov byte [0x4e89ee], bl
mov dword [0x4e89f0], edi
mov dword [0x4e89f4], 0xffffffff
call fcn.004966e0
mov ecx, dword [0x4ef2ac]
mov edx, dword [ecx + 4]
add esp, 4
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x4ef2ac]
mov esi, dword [eax + 0x20]
push 0x8a
call fcn.004966e0
mov ecx, dword [0x4ef2ac]
mov edx, dword [esi + 0xc]
push eax
add ecx, 0x20
push ecx
call edx
mov ecx, dword [0x4ef2ac]
add esp, 0xc
push edi
call fcn.0048cd60
push 1
mov dword [ebp - 8], ebx
call fcn.0049964e
add esp, 4
cmp eax, ebx
je 0x4388a4
mov byte [eax], bl
jmp 0x4388a6
xor eax, eax
lea ecx, [ebp - 8]
push ecx
push ebx
push eax
push 0x438640
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
push 0x64
push esi
call edi
cmp eax, 0x102
jne 0x4388e8
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0043d600
push 0x64
call ebx
push 0x64
push esi
call edi
cmp eax, 0x102
je 0x4388d3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x4ef2ac]
call fcn.0048b010
mov ecx, dword [0x4ef2ac]
mov edx, dword [ecx + 0x20]
mov eax, dword [edx + 0x28]
add ecx, 0x20
push 1
call eax
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp + 0xb]
mov al, byte [ebp - 1]
pop edi
mov dword [0x4e89e8], ecx
mov cl, byte [ebp - 2]
pop esi
mov byte [0x4e89ec], dl
mov byte [0x4e89ed], al
mov byte [0x4e89ee], cl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x439450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b86a8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ed310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
push 0x58
push eax
lea ebx, [esi + 0x20]
push ebx
mov dword [ebp - 4], eax
call fcn.00499330
mov edx, dword [ebp + 8]
xor eax, eax
xor ecx, ecx
lea edi, [esi + 0x27c]
add esp, 0xc
mov word [edi], ax
mov word [esi + 0x7c], cx
mov dword [esi + 0x78], edx
mov dword [ebx], 0x58
call fcn.00438230
test al, al
je 0x4394c7
mov dword [ebx], 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov dword [esi + 0x5c], eax
or ecx, 0x880020
lea eax, [esi + 0x7c]
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x104
mov dword [esi + 0x48], 0x100
mov dword [esi + 0x2c], edx
mov eax, dword [0x4effcc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x64], 0x466c30
mov dword [esi + 0x24], ecx
test eax, eax
je case.0x43952f.0
push 0xffffffffffffffff
push eax
push 0x104
push edi
call fcn.00499254
add esp, 0x10
cmp eax, 0x50
ja case.0x43952f.1
movzx edx, byte [eax + 0x43957c]
jmp dword [edx*4 + 0x43956c]
push 0x8007000e
call fcn.00438080
push 0x80070057
call fcn.00438080
push 0x80004005
call fcn.00438080
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x43cb73
Capabilities:
Create thread

Disassembly:
ret

Function at 0x43e730
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push edi
or ecx, 0x2001f
push ecx
xor ebx, ebx
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x208], ebx
call fcn.0043dff0
mov edi, eax
cmp edi, ebx
je 0x43e7aa
mov eax, dword [ebp - 0x210]
cmp eax, ebx
je 0x43e795
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
mov dword [ebp - 0x214], 0x100
call ebx
test eax, eax
jne 0x43e828
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.0043e730
mov edi, eax
test edi, edi
jne 0x43e861
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push eax
push eax
push eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push edi
push edx
mov dword [ebp - 0x214], 0x100
call ebx
test eax, eax
je 0x43e7e0
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp eax, edi
je 0x43e843
push eax
call ebx
mov dword [ebp - 0x210], edi
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x20c], edi
push eax
cmp ecx, edi
je 0x43e88b
mov edx, dword [esi]
push edx
call fcn.0043ddd0
jmp 0x43e894
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x43e795
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [ebp - 0x210]
cmp eax, edi
je 0x43e8a3
push eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp
ret 4
Function at 0x440470
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6a26
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x4404ed
call fcn.0043dd10
mov edi, eax
jmp 0x4405d2
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x440506
call fcn.0043dd10
jmp 0x4405c9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x440524
call fcn.0043dd10
jmp 0x4405c9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x440545
mov edi, 0x8007000e
jmp 0x4405cb
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0043ef10
mov dword [ebp - 4], 1
jmp 0x44057d
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x44058e
mov edi, 0x8007000e
jmp 0x4405cb
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x4405a7
call fcn.0043dd10
jmp 0x4405c9
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.004400b0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x4405f0
lea ecx, [ebp - 0x418]
call fcn.0043e6d0
jmp 0x4405f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret 0x10