joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422160
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e19c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov ecx, 0x513a38
push edi
call fcn.004ba18d
lea eax, [ebp - 0x11]
mov dword [ebp - 0x20], 0x6c0063
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0x630069
push ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], 0x6b
push edx
lea ecx, [ebp - 0x6c]
call fcn.00403eb0
push dword [eax]
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00424f90
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.0040b7b0
test bl, bl
je 0x4221f0
mov esi, dword [ebp - 0x10]
push edi
lea ecx, [esi - 0x20]
call fcn.00423090
jmp 0x422331
lea eax, [ebp + 0xb]
mov dword [ebp - 0x3c], 0x650073
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x38], 0x65006c
push ecx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], 0x740063
push edx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x30], 0x680063
mov dword [ebp - 0x2c], 0x6e0061
mov dword [ebp - 0x28], 0x650067
mov dword [ebp - 0x24], 0x64
call fcn.00403eb0
push dword [eax]
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00424f90
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.0040b7b0
test bl, bl
je 0x42232e
push 0
push 0x50fce0
push 0x50fcc0
push 0
push dword [edi + 0x108]
call fcn.004bdff6
add esp, 0x14
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x5c], 0x680063
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x3e]
lea eax, [ebp + 0xb]
mov dword [ebp - 0x58], 0x630065
push eax
push ecx
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x54], 0x5f006b
push edx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x50], 0x730075
mov dword [ebp - 0x4c], 0x720065
mov dword [ebp - 0x48], 0x73005f
mov dword [ebp - 0x44], 0x650070
call fcn.00403eb0
mov esi, eax
mov ecx, dword [edi + 0x108]
lea eax, [ebp - 0xfc]
push eax
mov dword [ebp - 4], 2
mov edx, dword [ecx]
call dword [edx + 4]
push dword [esi]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00424f90
lea ecx, [ebp - 0xfc]
mov bl, al
call fcn.00424d70
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b7b0
test bl, bl
je 0x42232e
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x42232e
mov ecx, eax
call fcn.0043b9f0
mov esi, dword [ebp - 0x10]
test al, al
setne al
mov byte [esi + 0x758], al
jmp 0x422331
mov esi, dword [ebp - 0x10]
push edi
mov ecx, esi
call fcn.0043a220
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4228e0
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1865
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov ecx, 0x513a38
call fcn.004ba18d
xor eax, eax
mov dword [ebp - 0x70], 0x740068
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x6c], 0x700074
push eax
push ecx
lea edx, [ebp - 0x70]
mov dword [ebp - 0x68], 0x3a0073
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x64], 0x2f002f
mov dword [ebp - 0x60], 0x770077
mov dword [ebp - 0x5c], 0x2e0077
mov dword [ebp - 0x58], 0x700067
mov dword [ebp - 0x54], 0x630074
mov dword [ebp - 0x50], 0x720068
mov dword [ebp - 0x4c], 0x6d006f
mov dword [ebp - 0x48], 0x2e0065
mov dword [ebp - 0x44], 0x65006e
mov dword [ebp - 0x40], 0x2f0074
mov dword [ebp - 0x3c], 0x720070
mov dword [ebp - 0x38], 0x760069
mov dword [ebp - 0x34], 0x630061
mov dword [ebp - 0x30], 0x2e0079
mov dword [ebp - 0x2c], 0x740068
mov dword [ebp - 0x28], 0x6c006d
call fcn.00403eb0
mov esi, dword [eax]
mov dword [ebp - 4], 0
call fcn.00405850
mov ecx, eax
test ecx, ecx
je 0x422a58
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00404870
test al, al
jne 0x422a09
test esi, esi
jne 0x4229e3
xor eax, eax
jmp 0x4229ff
mov eax, esi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4229f0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00406920
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b7b0
mov esi, dword [ebp - 0x14]
push 5
push 0
push 0
push esi
push 0x4e85ac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x422a47
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404840
int3
Function at 0x422a70
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1865
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov ecx, 0x513a38
call fcn.004ba18d
xor eax, eax
mov dword [ebp - 0x68], 0x740068
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x64], 0x700074
push eax
push ecx
lea edx, [ebp - 0x68]
mov dword [ebp - 0x60], 0x3a0073
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x5c], 0x2f002f
mov dword [ebp - 0x58], 0x770077
mov dword [ebp - 0x54], 0x2e0077
mov dword [ebp - 0x50], 0x700067
mov dword [ebp - 0x4c], 0x630074
mov dword [ebp - 0x48], 0x720068
mov dword [ebp - 0x44], 0x6d006f
mov dword [ebp - 0x40], 0x2e0065
mov dword [ebp - 0x3c], 0x65006e
mov dword [ebp - 0x38], 0x2f0074
mov dword [ebp - 0x34], 0x730075
mov dword [ebp - 0x30], 0x720065
mov dword [ebp - 0x2c], 0x700073
mov dword [ebp - 0x28], 0x2f0065
call fcn.00403eb0
mov esi, dword [eax]
mov dword [ebp - 4], 0
call fcn.00405850
mov ecx, eax
test ecx, ecx
je 0x422bd8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00404870
test al, al
jne 0x422b89
test esi, esi
jne 0x422b65
xor eax, eax
jmp 0x422b7f
mov eax, esi
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422b70
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00406920
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b7b0
mov esi, dword [ebp - 0x14]
push 5
push 0
push 0
push esi
push 0x4e85ac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x422bc7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404840
int3
Function at 0x422bf0
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1865
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov ecx, 0x513a38
call fcn.004ba18d
xor eax, eax
mov dword [ebp - 0x68], 0x740068
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x64], 0x700074
push eax
push ecx
lea edx, [ebp - 0x68]
mov dword [ebp - 0x60], 0x3a0073
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x5c], 0x2f002f
mov dword [ebp - 0x58], 0x770077
mov dword [ebp - 0x54], 0x2e0077
mov dword [ebp - 0x50], 0x700067
mov dword [ebp - 0x4c], 0x630074
mov dword [ebp - 0x48], 0x720068
mov dword [ebp - 0x44], 0x6d006f
mov dword [ebp - 0x40], 0x2e0065
mov dword [ebp - 0x3c], 0x65006e
mov dword [ebp - 0x38], 0x2f0074
mov dword [ebp - 0x34], 0x69006c
mov dword [ebp - 0x30], 0x650063
mov dword [ebp - 0x2c], 0x73006e
mov dword [ebp - 0x28], 0x2f0065
call fcn.00403eb0
mov esi, dword [eax]
mov dword [ebp - 4], 0
call fcn.00405850
mov ecx, eax
test ecx, ecx
je 0x422d58
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00404870
test al, al
jne 0x422d09
test esi, esi
jne 0x422ce5
xor eax, eax
jmp 0x422cff
mov eax, esi
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422cf0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00406920
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b7b0
mov esi, dword [ebp - 0x14]
push 5
push 0
push 0
push esi
push 0x4e85ac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x422d47
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404840
int3
Function at 0x423ed0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e183d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov ecx, 0x513bad
call fcn.004ba18d
xor eax, eax
mov dword [ebp - 0x3c], 0x6f0050
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x38], 0x750070
push eax
push ecx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], 0x4d0070
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], 0x670073
mov dword [ebp - 0x2c], 0x78002e
mov dword [ebp - 0x28], 0x6c006d
call fcn.00403eb0
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push dword [eax]
mov dword [ebp - 4], 0
call fcn.00424bd0
lea ecx, [ebp - 0x20]
call fcn.0040b7b0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x424540
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1cd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
push edi
mov ecx, 0x513d4e
call fcn.004ba18d
lea eax, [ebp - 0xd]
mov dword [ebp - 0x1c], 0x49005a
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0x50
push ecx
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00403eb0
push dword [eax]
mov dword [ebp - 4], 0
push 0x81
call fcn.0042a640
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.0040b7b0
test esi, esi
je 0x424666
push esi
call fcn.0042a640
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42465f
push esi
call fcn.0042a640
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x42465f
push 0
push eax
push edi
call fcn.004329c0
add esp, 0xc
mov dword [ebp - 0x44], 0x650072
lea eax, [ebp - 0xd]
mov dword [ebp - 0x40], 0x2e0073
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], 0x6d0078
lea edx, [ebp - 0x44]
mov dword [ebp - 0x38], 0x6c
push eax
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00403eb0
mov ecx, dword [eax]
push 0
push ecx
mov eax, esp
mov dword [ebp - 4], 1
mov dword [eax], ecx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x511afc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x511408]
cmp eax, dword [ecx + 0x10]
jg 0x424676
mov ecx, dword [0x511404]
call fcn.0043e7b0
lea ecx, [ebp - 0x34]
call fcn.0040b7b0
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x511408
call fcn.004ba5a4
add esp, 4
cmp dword [0x511408], 0xffffffff
jne 0x42464c
push 0x1f8
mov byte [ebp - 4], 2
call fcn.004ba1e2
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4246b1
mov ecx, eax
call fcn.0043e0a0
jmp 0x4246b5
xor eax, eax
jmp 0x4246b5
push 0x511408
mov dword [0x511404], eax
mov byte [ebp - 4], 1
call fcn.004ba55a
add esp, 4
jmp 0x42464c
Function at 0x4321f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xa8]
je 0x43222e
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x108]
je 0x43222e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x108]
jne 0x432241
jmp 0x43239d
mov edx, dword [ebp - 4]
cmp dword [edx + 0x108], 0
je 0x4322c7
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0x17
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x140]
call edx
push 0
push 0
push 0
push str.killfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00431b00
mov edx, dword [ebp - 4]
mov dword [edx + 0x108], 0
cmp dword [ebp + 8], 0
jne 0x4322d2
jmp 0x43239d
cmp dword [ebp + 8], 0
je 0x43239d
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 4]
jne 0x43239d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x100]
call eax
movzx ecx, al
test ecx, ecx
je 0x43239d
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x10c]
call edx
movzx eax, al
test eax, eax
je 0x43239d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x108], edx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0x18
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x140]
call edx
push 0
push 0
push 0
push str.setfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00431b00
mov esp, ebp
pop ebp
ret 4
Function at 0x433fa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
push 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
push 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43407a
push 0
push 0
push 0
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x43407a
cmp dword [ebp - 0x24], 0x10
jne 0x434046
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax + 4]
jne 0x434046
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [ebp - 0x28]
push edx
call fcn.00432d20
add esp, 4
movzx eax, al
test eax, eax
jne 0x43406d
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x24], 0x12
jne 0x434075
jmp 0x43407a
jmp 0x433ff4
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x24], 0x12
jne 0x4340a0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x43e7b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x50f0e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
test ecx, ecx
je 0x43e831
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x3c
jne 0x43e80a
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00477560
movzx edx, al
test edx, edx
jne 0x43e808
xor eax, eax
jmp 0x43e909
jmp 0x43e82c
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.004775e0
movzx ecx, al
test ecx, ecx
jne 0x43e82c
xor eax, eax
jmp 0x43e909
jmp 0x43e8d8
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042a640
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x43e85b
xor eax, eax
jmp 0x43e909
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.0042a640
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x43e88e
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x43e909
push 0
mov eax, dword [ebp - 0x218]
push eax
call fcn.0042a640
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00477c90
movzx edx, al
test edx, edx
jne 0x43e8cb
xor eax, eax
jmp 0x43e909
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.004773e0
sub esp, 0x20c
mov ecx, 0x83
mov esi, eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x214]
call fcn.0043e300
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bacd8
mov esp, ebp
pop ebp
ret 8
Function at 0x43eb30
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x50f0e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x43eb64
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43eb64
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x43eb73
jmp 0x43ecdc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
movzx ecx, word [eax]
test ecx, ecx
je 0x43ebce
mov edx, dword [ebp - 0x418]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x43ebb1
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x43ebbd
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x418], ecx
jmp 0x43eb88
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0xc]
je 0x43ec5e
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.004bcc90
add esp, 0xc
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x420], ecx
cmp dword [ebp - 0x420], 0x208
jae 0x43ec27
jmp 0x43ec2c
call fcn.004bae3e
xor edx, edx
mov eax, dword [ebp - 0x420]
mov word [ebp + eax - 0x414], dx
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043eb30
add esp, 8
mov eax, dword [ebp - 0x424]
add eax, 2
mov dword [ebp - 0x424], eax
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0x428], edx
cmp dword [ebp - 0x428], 0x208
jae 0x43ec7a
jmp 0x43ec7f
call fcn.004bae3e
xor eax, eax
mov ecx, dword [ebp - 0x428]
mov word [ebp + ecx - 0x20c], ax
cmp dword [ebp + 8], 0
je 0x43eca8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.004cb4ac
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.004cb43b
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43ecdc
push 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bacd8
mov esp, ebp
pop ebp
ret
Function at 0x43fa20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x43fa3a
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0xffffffff
je 0x43fa44
mov eax, 0x1000000
jmp 0x43fb2e
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0xc]
add eax, 0x244
push eax
call fcn.004c158c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + eax*2 + 0x242]
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
cmp eax, 0x5c
je 0x43faa2
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x43faa2
push 0x4e7874
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
call fcn.004cb43b
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x43fae6
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x43faca
mov dword [ebp - 0x10], 1
jmp 0x43fad1
mov dword [ebp - 0x10], 0
mov cl, byte [ebp - 0x10]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x43fae6
mov eax, 0x2000000
jmp 0x43fb2e
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00444be0
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43fb0c
mov eax, dword [ebp - 0x1c]
jmp 0x43fb2e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004458d0
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x43fb2c
mov eax, 0x200
jmp 0x43fb2e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc