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

Disassembly:
push 0xffffffffffffffff
push 0x4915ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x51c]
mov dword [esp + 0x10], 0x24
call fcn.00474e00
lea ecx, [esi + 0x518]
mov byte [esp + 0x10], 0x23
call fcn.00474e00
lea ecx, [esi + 0x514]
mov byte [esp + 0x10], 0x22
call fcn.00474e00
lea ecx, [esi + 0x510]
mov byte [esp + 0x10], 0x21
call fcn.00474e00
lea ecx, [esi + 0x50c]
mov byte [esp + 0x10], 0x20
call fcn.00474e00
lea ecx, [esi + 0x508]
mov byte [esp + 0x10], 0x1f
call fcn.00474e00
lea ecx, [esi + 0x504]
mov byte [esp + 0x10], 0x1e
call fcn.00474e00
lea ecx, [esi + 0x500]
mov byte [esp + 0x10], 0x1d
call fcn.00474e00
lea ecx, [esi + 0x4fc]
mov byte [esp + 0x10], 0x1c
call fcn.00474e00
lea ecx, [esi + 0x4f8]
mov byte [esp + 0x10], 0x1b
call fcn.00474e00
lea ecx, [esi + 0x4f4]
mov byte [esp + 0x10], 0x1a
call fcn.00474e00
lea ecx, [esi + 0x4f0]
mov byte [esp + 0x10], 0x19
call fcn.00474e00
lea ecx, [esi + 0x4ec]
mov byte [esp + 0x10], 0x18
call fcn.00474e00
mov byte [esp + 0x10], 0x17
lea ecx, [esi + 0x4e8]
call fcn.00474e00
lea ecx, [esi + 0x4e4]
mov byte [esp + 0x10], 0x16
call fcn.00474e00
lea ecx, [esi + 0x4e0]
mov byte [esp + 0x10], 0x15
call fcn.00474e00
lea ecx, [esi + 0x4d8]
mov byte [esp + 0x10], 0x14
call fcn.00474e00
lea ecx, [esi + 0x4d4]
mov byte [esp + 0x10], 0x13
call fcn.00474e00
lea ecx, [esi + 0x498]
mov byte [esp + 0x10], 0x12
call fcn.00486949
lea ecx, [esi + 0x45c]
mov byte [esp + 0x10], 0x11
call fcn.0048239a
lea ecx, [esi + 0x420]
mov byte [esp + 0x10], 0x10
call fcn.0048239a
lea ecx, [esi + 0x3e4]
mov byte [esp + 0x10], 0xf
call fcn.0048239a
lea ecx, [esi + 0x3a8]
mov byte [esp + 0x10], 0xe
call fcn.004825c6
lea ecx, [esi + 0x36c]
mov byte [esp + 0x10], 0xd
call fcn.0048239a
lea ecx, [esi + 0x330]
mov byte [esp + 0x10], 0xc
call fcn.0048239a
lea ecx, [esi + 0x2f4]
mov byte [esp + 0x10], 0xb
call fcn.0048239a
lea ecx, [esi + 0x2b8]
mov byte [esp + 0x10], 0xa
call fcn.004715a1
lea ecx, [esi + 0x27c]
mov byte [esp + 0x10], 9
call fcn.004715a1
lea ecx, [esi + 0x240]
mov byte [esp + 0x10], 8
call fcn.004715a1
lea ecx, [esi + 0x204]
mov byte [esp + 0x10], 7
call fcn.004715a1
lea ecx, [esi + 0x1c8]
mov byte [esp + 0x10], 6
call fcn.004715a1
lea ecx, [esi + 0x18c]
mov byte [esp + 0x10], 5
call fcn.004715a1
lea ecx, [esi + 0x150]
mov byte [esp + 0x10], 4
call fcn.004715a1
lea ecx, [esi + 0x114]
mov byte [esp + 0x10], 3
call fcn.004715a1
lea ecx, [esi + 0xd8]
mov byte [esp + 0x10], 2
call fcn.004715a1
lea ecx, [esi + 0x9c]
mov byte [esp + 0x10], 1
call fcn.004715a1
lea ecx, [esi + 0x60]
mov byte [esp + 0x10], 0
call fcn.004715a1
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.004742c9
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4014b6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x4915ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x51c]
mov dword [esp + 0x10], 0x24
call fcn.00474e00
lea ecx, [esi + 0x518]
mov byte [esp + 0x10], 0x23
call fcn.00474e00
lea ecx, [esi + 0x514]
mov byte [esp + 0x10], 0x22
call fcn.00474e00
lea ecx, [esi + 0x510]
mov byte [esp + 0x10], 0x21
call fcn.00474e00
lea ecx, [esi + 0x50c]
mov byte [esp + 0x10], 0x20
call fcn.00474e00
lea ecx, [esi + 0x508]
mov byte [esp + 0x10], 0x1f
call fcn.00474e00
lea ecx, [esi + 0x504]
mov byte [esp + 0x10], 0x1e
call fcn.00474e00
lea ecx, [esi + 0x500]
mov byte [esp + 0x10], 0x1d
call fcn.00474e00
lea ecx, [esi + 0x4fc]
mov byte [esp + 0x10], 0x1c
call fcn.00474e00
lea ecx, [esi + 0x4f8]
mov byte [esp + 0x10], 0x1b
call fcn.00474e00
lea ecx, [esi + 0x4f4]
mov byte [esp + 0x10], 0x1a
call fcn.00474e00
lea ecx, [esi + 0x4f0]
mov byte [esp + 0x10], 0x19
call fcn.00474e00
lea ecx, [esi + 0x4ec]
mov byte [esp + 0x10], 0x18
call fcn.00474e00
mov byte [esp + 0x10], 0x17
lea ecx, [esi + 0x4e8]
call fcn.00474e00
lea ecx, [esi + 0x4e4]
mov byte [esp + 0x10], 0x16
call fcn.00474e00
lea ecx, [esi + 0x4e0]
mov byte [esp + 0x10], 0x15
call fcn.00474e00
lea ecx, [esi + 0x4d8]
mov byte [esp + 0x10], 0x14
call fcn.00474e00
lea ecx, [esi + 0x4d4]
mov byte [esp + 0x10], 0x13
call fcn.00474e00
lea ecx, [esi + 0x498]
mov byte [esp + 0x10], 0x12
call fcn.00486949
lea ecx, [esi + 0x45c]
mov byte [esp + 0x10], 0x11
call fcn.0048239a
lea ecx, [esi + 0x420]
mov byte [esp + 0x10], 0x10
call fcn.0048239a
lea ecx, [esi + 0x3e4]
mov byte [esp + 0x10], 0xf
call fcn.0048239a
lea ecx, [esi + 0x3a8]
mov byte [esp + 0x10], 0xe
call fcn.004825c6
lea ecx, [esi + 0x36c]
mov byte [esp + 0x10], 0xd
call fcn.0048239a
lea ecx, [esi + 0x330]
mov byte [esp + 0x10], 0xc
call fcn.0048239a
lea ecx, [esi + 0x2f4]
mov byte [esp + 0x10], 0xb
call fcn.0048239a
lea ecx, [esi + 0x2b8]
mov byte [esp + 0x10], 0xa
call fcn.004715a1
lea ecx, [esi + 0x27c]
mov byte [esp + 0x10], 9
call fcn.004715a1
lea ecx, [esi + 0x240]
mov byte [esp + 0x10], 8
call fcn.004715a1
lea ecx, [esi + 0x204]
mov byte [esp + 0x10], 7
call fcn.004715a1
lea ecx, [esi + 0x1c8]
mov byte [esp + 0x10], 6
call fcn.004715a1
lea ecx, [esi + 0x18c]
mov byte [esp + 0x10], 5
call fcn.004715a1
lea ecx, [esi + 0x150]
mov byte [esp + 0x10], 4
call fcn.004715a1
lea ecx, [esi + 0x114]
mov byte [esp + 0x10], 3
call fcn.004715a1
lea ecx, [esi + 0xd8]
mov byte [esp + 0x10], 2
call fcn.004715a1
lea ecx, [esi + 0x9c]
mov byte [esp + 0x10], 1
call fcn.004715a1
lea ecx, [esi + 0x60]
mov byte [esp + 0x10], 0
call fcn.004715a1
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.004742c9
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x403940
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push esi
mov esi, ecx
push eax
call fcn.00402400
lea ecx, [esp + 7]
lea edx, [esp + 6]
push ecx
lea eax, [esp + 9]
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esi + 0x498]
call fcn.004869b2
mov edx, dword [esp + 7]
mov eax, dword [esp + 6]
mov ecx, dword [esp + 5]
and edx, 0xff
push edx
mov edx, dword [esp + 8]
and eax, 0xff
push 0x4b235c
push eax
and ecx, 0xff
push 0x4b235c
push ecx
and edx, 0xff
push 0x4b235c
push edx
push str._d_s_d_s_d_s_d
push 0x4b9a4c
call fcn.0046ea5d
lea eax, [esp + 0x34]
push eax
push 0
push esi
push 0x402d00
push 0
push 0
call fcn.004111a5
add esp, 0x3c
pop esi
add esp, 8
ret 4

Function at 0x403947
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push esi
mov esi, ecx
push eax
call fcn.00402400
lea ecx, [esp + 7]
lea edx, [esp + 6]
push ecx
lea eax, [esp + 9]
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esi + 0x498]
call fcn.004869b2
mov edx, dword [esp + 7]
mov eax, dword [esp + 6]
mov ecx, dword [esp + 5]
and edx, 0xff
push edx
mov edx, dword [esp + 8]
and eax, 0xff
push 0x4b235c
push eax
and ecx, 0xff
push 0x4b235c
push ecx
and edx, 0xff
push 0x4b235c
push edx
push str._d_s_d_s_d_s_d
push 0x4b9a4c
call fcn.0046ea5d
lea eax, [esp + 0x34]
push eax
push 0
push esi
push 0x402d00
push 0
push 0
call fcn.004111a5
add esp, 0x3c
pop esi
add esp, 8
ret 4

Function at 0x403d8d
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491ced
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4b288c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 8]
mov dword [edi], eax
mov ecx, dword [0x4b288c]
lea ebp, [esi + 0xc]
mov dword [esp + 0x1c], 0
mov dword [ebp], ecx
mov edx, dword [0x4b288c]
lea ebx, [esi + 0x10]
mov dword [ebx], edx
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 2
call fcn.004720f9
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 3
call fcn.004720f9
lea ecx, [esi + 0x44]
mov byte [esp + 0x1c], 4
call fcn.004720f9
lea ecx, [esi + 0x58]
mov byte [esp + 0x1c], 5
call fcn.004720f9
push 0x4b9a58
mov ecx, edi
mov byte [esp + 0x20], 6
mov dword [esi], 0x497ea0
call fcn.00474f89
push 0x4b9a58
mov ecx, ebp
call fcn.00474f89
push 0x4b9a58
mov ecx, ebx
call fcn.00474f89
mov ecx, esi
mov dword [esi + 0x14], 2
mov dword [esi + 0x18], 6
call fcn.004048b0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x403e70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491d42
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x497ea0
lea ecx, [esi + 0x58]
mov dword [esp + 0x10], 5
call fcn.0047212c
lea ecx, [esi + 0x44]
mov byte [esp + 0x10], 4
call fcn.0047212c
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 3
call fcn.0047212c
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 2
call fcn.0047212c
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 1
call fcn.00474e00
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 0
call fcn.00474e00
lea ecx, [esi + 8]
mov dword [esp + 0x10], 0xffffffff
call fcn.00474e00
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4040c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x404
mov al, byte [0x4b9a58]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov byte [esp + 0x14], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x15]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp + 4]
push 0
lea ecx, [esp + 0x18]
push 0x400
push ecx
push edx
call sub.WSOCK32.dll_recv
mov esi, eax
test esi, esi
je 0x40414c
cmp esi, 0x2746
je 0x40414c
test esi, esi
jl 0x40414c
cmp esi, 0xffffffff
je 0x4040e5
xor ebx, ebx
test esi, esi
jle 0x404172
lea edi, [ebp + 0xc]
mov al, byte [esp + ebx + 0x14]
mov ecx, edi
push eax
call fcn.00475203
mov al, byte [esp + ebx + 0x14]
test al, al
jle 0x404137
push eax
lea ecx, [ebp + 0x10]
call fcn.00475203
mov ecx, dword [edi]
cmp byte [ecx], 0x54
je 0x404159
push 0x4b9a58
mov ecx, edi
call fcn.00474f89
jmp 0x40416d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push edi
call fcn.00474b75
mov ecx, ebp
call fcn.00403f10
inc ebx
cmp ebx, esi
jl 0x40411a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x404
ret
Function at 0x404190
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x491de0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [0x4b288c]
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], 3
mov dword [esp + 0x14], 1
lea ebp, [edi + 0x10]
push 0x4b9a58
mov ecx, ebp
call fcn.00474f89
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp dword [eax - 8], ebx
jle 0x404225
mov cl, byte [esi + eax]
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x18]
push edx
call fcn.0046e057
mov eax, dword [esp + 0x10]
push ebx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call sub.WSOCK32.dll_send
mov ecx, edi
call fcn.004040c0
test eax, eax
je 0x40429e
mov eax, dword [esp + 0x2c]
inc esi
cmp esi, dword [eax - 8]
jl 0x4041e4
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, ebp
call fcn.0046e6d7
cmp eax, 0xffffffff
jne 0x404263
mov edx, dword [esp + 0x34]
mov ecx, ebp
push edx
call fcn.0046e6d7
cmp eax, 0xffffffff
jne 0x404263
mov ecx, edi
call fcn.004040c0
test eax, eax
je 0x40429e
mov eax, dword [esp + 0x30]
mov ecx, ebp
push eax
call fcn.0046e6d7
cmp eax, 0xffffffff
je 0x404236
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, ebp
call fcn.0046e6d7
cmp eax, 0xffffffff
jne 0x4042dc
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 5
mov dword [esp + 0x14], eax
jle 0x4041cd
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4b2384
call fcn.00474e6e
mov ecx, edi
call fcn.00403f80
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.00474e00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 1
call fcn.00474e00
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], bl
call fcn.00474e00
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], 0xffffffff
call fcn.00474e00
xor eax, eax
jmp 0x40431b
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.00474e00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 1
call fcn.00474e00
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], bl
call fcn.00474e00
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], 0xffffffff
call fcn.00474e00
mov eax, 1
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0xc
Function at 0x404805
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x491e70
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
lea ecx, [esi + 0x1c]
lea edx, [esp + 0x14]
mov dword [esp + 0xc], 3
push edx
push eax
call fcn.004723ce
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x30]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.004723ce
mov eax, dword [esi + 0x4c]
lea ecx, [esi + 0x44]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.004723ce
mov eax, dword [esi + 0x60]
lea ecx, [esi + 0x58]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.004723ce
lea ecx, [esp + 0x14]
mov byte [esp + 0xc], 2
call fcn.00474e00
lea ecx, [esp + 0x18]
mov byte [esp + 0xc], 1
call fcn.00474e00
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc], 0
call fcn.00474e00
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], 0xffffffff
call fcn.00474e00
mov ecx, dword [esp + 4]
pop esi
mov dword fs:[0], ecx
add esp, 0xc
ret 0x10
Function at 0x4228dd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x493ffe
call fcn.00411508
sub esp, 0x18
cmp dword [0x4bbf78], 0
push esi
jne 0x422913
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x4bbf68
call fcn.00423a1a
mov dword [eax], 0x13
jmp 0x422972
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x422947
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x4bbf68
call fcn.00423a1a
mov dword [eax], 0x10
jmp 0x422972
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x422979
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
mov ecx, 0x4bbf68
call fcn.00423a1a
mov dword [eax], 0xf
xor eax, eax
jmp 0x4229ff
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
mov edi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x2800
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.00433671
and dword [ebp - 4], 0
push 0x114
call fcn.004740f9
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
test ecx, ecx
mov byte [ebp - 4], 1
pop edi
je 0x4229c2
call fcn.0043036e
mov esi, eax
jmp 0x4229c4
xor esi, esi
and byte [ebp - 4], 0
test esi, esi
je 0x4229ef
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.00430e12
test eax, eax
je 0x4229ef
push esi
mov ecx, 0x4bc140
call fcn.0042b425
mov esi, eax
call fcn.00422598
jmp 0x4229f1
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004336b5
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x428162
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
jle 0x4281d7
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor edi, edi
mov eax, dword [esi + 4]
add eax, edi
movzx ecx, word [eax + 2]
cmp ecx, dword [esp + 0x14]
jne 0x4281cf
mov al, byte [eax]
and al, 4
cmp al, 4
jne 0x42819b
push 0x10
call ebp
and ax, 0x8000
cmp ax, 0x8000
jne 0x4281cf
mov eax, dword [esi + 4]
mov al, byte [edi + eax]
and al, 8
cmp al, 8
jne 0x4281b5
push 0x11
call ebp
and ax, 0x8000
cmp ax, 0x8000
jne 0x4281cf
mov eax, dword [esi + 4]
mov al, byte [edi + eax]
and al, 0x10
cmp al, 0x10
jne 0x4281e0
push 0x12
call ebp
and ax, 0x8000
cmp ax, 0x8000
je 0x4281e0
inc ebx
add edi, 6
cmp ebx, dword [esi]
jl 0x428176
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov ecx, dword [esi + 4]
lea eax, [ebx + ebx*2]
push 6
lea eax, [ecx + eax*2]
push eax
push dword [esp + 0x20]
call fcn.004119d0
add esp, 0xc
push 1
pop eax
jmp 0x4281d9
Function at 0x42d854
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x42d8bc
push 1
mov esi, 0x94
pop ebx
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x42d916
push esi
push 0
push edi
call fcn.00411780
add esp, 0xc
mov dword [edi], esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x42d89f
push 5
jmp 0x42d90d
cmp eax, 5
jne 0x42d90e
cmp dword [edi + 8], 0
jne 0x42d8ae
push 6
jmp 0x42d90d
cmp eax, 5
jne 0x42d90e
cmp dword [edi + 8], ebx
jne 0x42d90e
push 7
jmp 0x42d90d
cmp al, 4
jae 0x42d8c4
xor ebx, ebx
jmp 0x42d916
push 2
mov esi, 0x94
pop ebx
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x42d916
push esi
push 0
push edi
call fcn.00411780
add esp, 0xc
mov dword [edi], esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x42d90e
cmp dword [edi + 8], 0xa
jne 0x42d901
push 3
jmp 0x42d90d
cmp eax, 4
jne 0x42d90e
cmp dword [edi + 8], 0x5a
jne 0x42d90e
push eax
pop ebx
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x42dfba
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x42e028
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42e028
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
mov edi, eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x4b7504
mov ebx, eax
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x42e028
push esi
push 1
push ebx
push edi
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
push 1
pop eax
jmp 0x42e02a
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42e02f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp - 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x42e05e
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x208]
push eax
push 0
lea eax, [ebp - 0x104]
push 0x4b7518
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x42e0c5
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00416b60
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x105], 0x5c
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
je 0x42e0be
push str._s_s
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
jmp 0x42e0d6
push 0x4b7508
jmp 0x42e0b0
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call fcn.00416b60
pop ecx
pop ecx
cmp dword [ebp + 0x14], 0
je 0x42e0f7
push 0x4b235c
push dword [ebp + 8]
call fcn.00416b70
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.00416b70
add esp, 0x10
leave
ret

Function at 0x42f248
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0
push dword [edi + 0xac]
lea esi, [edi + 0xac]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_KillTimer]
push 0x3e8
push dword [esi]
call ebx
push 0x3f2
push dword [esi]
call ebx
and dword [edi + 0x11c], 0
pop edi
pop esi
pop ebx
ret

Function at 0x42f6fd
Capabilities:
Check os version

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x42f715
cmp al, 5
sbb eax, eax
and eax, 2
add eax, 6
ret
push 8
pop eax
ret
Function at 0x433a57
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x494b01
call fcn.00411508
sub esp, 0x24
mov al, byte [ebp + 0xb]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x10], ebx
and byte [ebx + 0xc], 0
lea ecx, [ebx + 4]
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov byte [ecx + 1], al
call fcn.00432ac8
mov al, byte [ebp + 0xb]
and byte [ebx + 0xac], 0
lea ecx, [ebx + 0xa4]
xor edi, edi
mov dword [ebp - 4], edi
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov byte [ecx + 1], al
call fcn.00434feb
mov eax, dword [ebp + 8]
push 0x33
mov dword [ebx + 0xa0], eax
lea eax, [ebx + 0x6c]
push edi
push eax
mov byte [ebp - 4], 1
mov dword [ebx], 0x49fb9c
call fcn.00411780
push 0x33
lea eax, [ebx + 0x34]
push edi
push eax
call fcn.00411780
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
add esp, 0x18
push 0xf
call esi
push 8
mov dword [ebx + 0x14], eax
call esi
push 0x1e
mov dword [ebx + 0x18], eax
push 0x3c
push edi
lea eax, [ebp - 0x30]
push edi
push eax
mov dword [ebx + 0x1c], 0xff
mov dword [ebx + 0x68], edi
call fcn.0042c205
mov esi, eax
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x20]
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0x14
and dword [ebx + 0x30], 0
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x6c]
push 0x33
mov esi, 0x4b9a58
push eax
lea edi, [ebx + 0x30]
push esi
push str.NAME
push 1
mov ecx, ebx
call fcn.00433b5c
push 4
push edi
push esi
push str.AUTOPLACE
push 6
mov ecx, ebx
call fcn.00433b5c
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4