joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426310
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x543760]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x426454
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00424170
mov eax, dword [esp + 4]
test eax, eax
je 0x42643d
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x543760]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov ebx, dword [edx + 0x18]
nop
inc dword [ebx + 0x7c]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp], eax
call fcn.00421d90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xa], bl
nop
mov ebp, dword [esp + 0x18]
mov dword [esp], ebp
call fcn.00409250
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x4263a7
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x4263d2
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x4263bc
cmp byte [ebp + 6], bl
je 0x4263c7
cmp esi, edx
ja 0x4263ce
jne 0x4263a5
cmp byte [ebp + 6], bl
jbe 0x4263a5
jmp 0x4263ce
mov ebx, 1
jmp 0x4263d4
xor ebx, ebx
jmp 0x4263d4
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x4263f2
mov ebx, dword [esp + 0x24]
mov word [ebx + 4], dx
mov edx, dword [ecx]
mov dword [ebx], edx
mov dword [ecx], ebx
mov dword [esp], eax
call fcn.00426210
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409450
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x543760]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42642d
movzx eax, byte [ebx + 0x65]
test al, al
je 0x42642d
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x49dfad]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004340e0
nop
call fcn.0045c840
jmp fcn.00426310
Function at 0x4268e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x543760]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x426a50
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x4269e0
cmp cl, 1
je 0x426972
cmp cl, 2
jne 0x426a39
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042be50
nop
nop
lea eax, [0x527c80]
mov dword [esp], eax
call fcn.00409250
mov eax, dword [0x527c24]
sub eax, dword [0x527c08]
nop
mov dword [0x527c24], eax
mov eax, dword [0x527c14]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x527c14], ecx
nop
lea eax, [0x527c80]
mov dword [esp], eax
call fcn.00409450
jmp 0x426a35
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00412980
nop
nop
lea eax, [0x527c80]
mov dword [esp], eax
call fcn.00409250
mov eax, dword [0x527bfc]
sub eax, dword [0x527be0]
nop
mov dword [0x527bfc], eax
mov eax, dword [0x527bec]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x527bec], ecx
nop
lea eax, [0x527c80]
mov dword [esp], eax
call fcn.00409450
jmp 0x426a35
cmp cl, 3
jne 0x4269eb
mov byte [eax + 8], 1
jmp 0x426a35
cmp cl, 4
jne 0x426a39
nop
nop
lea eax, [0x527c80]
mov dword [esp], eax
call fcn.00409250
mov eax, dword [0x527c74]
sub eax, dword [0x527c58]
nop
mov dword [0x527c74], eax
mov eax, dword [0x527c64]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x527c64], ecx
nop
nop
lea eax, [0x527c80]
mov dword [esp], eax
call fcn.00409450
add esp, 0x14
ret
lea eax, [0x49b21f]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004340e0
nop
call fcn.0045c840
jmp fcn.004268e0
Function at 0x44df30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x543760]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44e0aa
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x44e0a0
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x44df8a
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x44df8a
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x44df9d
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x44e077
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x44e06b
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x44e062
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x44dff0
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x44e033
mov eax, 1
cmp eax, ecx
ja 0x44e027
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.0045dd10
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x44e05d
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x44e02c
mov ecx, dword [esp + 0xc]
jmp 0x44dff5
call fcn.0045dcb0
xor eax, eax
mov ecx, eax
call fcn.0045dca0
call fcn.0045dd10
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x44e09b
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x44e070
mov ecx, dword [esp + 0x18]
jmp 0x44dfa2
call fcn.0045dcb0
xor eax, eax
mov ecx, eax
call fcn.0045dca0
nop
call fcn.0045c840
jmp fcn.0044df30
Function at 0x4520a0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x543760]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4521a3
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov ecx, dword [0x543760]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0xf0], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.004527d0
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x48bac0]
mov dword [esp], ecx
call fcn.0040b3f0
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax + 4], ecx
lea ecx, [0x527d3c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.004519b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00450e00
add esp, 0x28
ret
call fcn.0045c840
jmp fcn.004520a0

Function at 0x4553a0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x543760]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45543b
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x543760]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0045dde7
lea ecx, [0x455450]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0045c750
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0045c840
jmp fcn.004553a0
Function at 0x45aa50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x543760]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45abb0
sub esp, 0x1c
mov eax, dword [esp + 0x20]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x18], ecx
nop
mov dword [esp], ecx
call fcn.00409250
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x45ab99
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call fcn.0042e5b0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
call fcn.0042ec90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
call fcn.0042ec90
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x45ab20
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call fcn.0044eaa0
mov eax, dword [0x543830]
test eax, eax
jne 0x45ab07
mov eax, dword [esp + 0x20]
jmp 0x45ab15
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
call fcn.0045dc40
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x45ab57
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call fcn.0044eaa0
mov eax, dword [0x543830]
test eax, eax
jne 0x45ab42
mov eax, dword [esp + 0x20]
jmp 0x45ab50
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x78]
call fcn.0045dc40
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409450
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45ab7d
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0042ea70
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45ab95
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0042ea70
add esp, 0x1c
ret
lea eax, [0x49f578]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.004340e0
nop
call fcn.0045c840
jmp fcn.0045aa50
Function at 0x45daf0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x543920]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x45c27b
je 0x45c2ce
cmp ebx, 0x20
jbe 0x45c2d4
cmp ebx, 0x40
jbe 0x45c31a
jmp 0x45c3bb
test ebx, ebx
je 0x45c2c4
add eax, 0x10
test ax, 0xff0
je 0x45c2b0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x4b7d20]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x4b7e20]
jmp 0x45c298
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x45c298
pxor xmm1, xmmword [0x543930]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x543930]
pxor xmm2, xmmword [0x543940]
pxor xmm3, xmmword [0x543950]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x543930]
pxor xmm2, xmmword [0x543940]
pxor xmm3, xmmword [0x543950]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x45c41a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x543646], 0
je 0x45db0a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x45c240
jmp fcn.00407e50
Function at 0x45db10
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [0x543760]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x402eec
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00407e50
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.0045c840
jmp 0x402eb0
cmp byte [0x543646], 0
je 0x45db2b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x45c240
jmp 0x402eb0

Function at 0x45e980
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x45e99a
mov ecx, 0x14
jmp 0x45e9a3
shl ecx, 2
add ecx, 0xe10
mov dword [0x543760], ecx
ret
Function at 0x401810
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
xor ecx, ecx
test esi, esi
jbe 0x401846
push ebx
push edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov ebx, eax
mov dl, byte [ecx + edi]
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x403330]
xor eax, edx
inc ecx
cmp ecx, esi
jb 0x401824
pop edi
pop ebx
pop esi
ret 8
Function at 0x401bc7
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435c66
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x446434]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x446434]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
mov esi, ecx
mov dword [esp + 0x1c], 8
mov dword [esp + 0x20], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.00410f4e
xor ebx, ebx
push ebx
call fcn.00412773
mov ecx, esi
mov dword [esp], 0x43c6c0
call fcn.00411c2a
cmp dword [0x44a2fc], 2
jge 0x401c76
mov eax, dword [0x44a300]
push dword [eax]
push 0x43c6e0
push 2
call fcn.00402afa
mov ecx, eax
call fcn.00402bdd
add esp, 0xc
mov dword [esi + 0xa4], 0x7000000
jmp 0x401d4b
push str.tipinstance
push 1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401ca5
mov dword [esi + 0xa4], 0x8000000
jmp 0x401d4b
mov eax, dword [0x44a300]
push dword [eax + 4]
lea ecx, [esp + 0x24]
call fcn.00401d89
lea eax, [esp + 0x3c]
push eax
push 0x202
mov dword [esp + 0x1e8], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x401cdc
lea eax, [esp + 0x24]
cmp eax, ebx
je 0x401cee
push dword [esp + 0x34]
push eax
call fcn.00402851
mov edi, eax
jmp 0x401cf0
xor edi, edi
cmp edi, ebx
je 0x401d10
push edi
call fcn.004022e7
push edi
call fcn.004022e7
lea esi, [edi + 4]
call fcn.0040239d
push edi
call fcn.004053c2
jmp 0x401d2e
push str.ParseTipsContent_failed_n
push 2
call fcn.00402afa
mov ecx, eax
call fcn.00402bdd
pop ecx
mov dword [esi + 0xa4], 0x9000000
pop ecx
cmp dword [esp + 0x14], ebx
je 0x401d3f
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [esp + 0x28]
call fcn.00401e64
xor eax, eax
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.00421461
mov esp, ebp
pop ebp
ret
Function at 0x402b37
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x446434]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 0x34]
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x28]
push eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push eax
push str.__d__d__d__d:_d:_d_6_
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.00424971
add esp, 0x24
lea edi, [esi + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [esi + 0x24]
lea eax, [ebp - 0x24]
push eax
call fcn.004214d0
pop ecx
push eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.00421c2e
push dword [esi + 0x24]
push dword [ebp + 8]
push 1
push ebx
call fcn.00421c2e
push dword [esi + 0x24]
mov ebx, eax
call fcn.00424b3a
add esp, 0x24
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00421461
leave
ret 4

Function at 0x406d30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x406d54
cmp dword [edi + 0x54], 0
jne 0x406d54
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004082a1
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00406cf1
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40dbdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40dc23
call fcn.004082a1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40dc23
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40dc3f
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040d756
mov esi, eax
test edi, edi
je 0x40dc3d
test ebx, ebx
je 0x40dc3d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40e342
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x434835
call fcn.00425ca1
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40e367
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40e3ad
lea ecx, [ebp - 0x10]
call fcn.004011b5
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004062ca
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401019
mov eax, esi
call fcn.00425d79
ret 8

Function at 0x412280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4122c8
call fcn.004082a1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4122c8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41230b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4122f4
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4122f4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x412308
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x421461
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x446434]
jne 0x42146b
repz ret
jmp fcn.0042767f
Function at 0x4315d9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00429be1
and dword [ebp - 4], 0
cmp dword [0x44ad90], 0
mov ebx, eax
jne 0x43168a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43173b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43bd64
push edi
call esi
test eax, eax
je 0x43173b
push eax
call fcn.00429b6f
mov dword [esp], 0x43bd54
push edi
mov dword [0x44ad90], eax
call esi
push eax
call fcn.00429b6f
mov dword [esp], 0x43bd40
push edi
mov dword [0x44ad94], eax
call esi
push eax
call fcn.00429b6f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44ad98], eax
call esi
push eax
call fcn.00429b6f
pop ecx
mov dword [0x44ada0], eax
test eax, eax
je 0x43168a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00429b6f
pop ecx
mov dword [0x44ad9c], eax
mov eax, dword [0x44ad9c]
cmp eax, ebx
je 0x4316e2
cmp dword [0x44ada0], ebx
je 0x4316e2
push eax
call fcn.00429bea
push dword [0x44ada0]
mov esi, eax
call fcn.00429bea
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4316e2
test edi, edi
je 0x4316e2
call esi
test eax, eax
je 0x4316d9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4316d9
test byte [ebp - 0xc], 1
jne 0x4316e2
or dword [ebp + 0x10], 0x200000
jmp 0x43171b
mov eax, dword [0x44ad94]
cmp eax, ebx
je 0x43171b
push eax
call fcn.00429bea
pop ecx
test eax, eax
je 0x43171b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43171b
mov eax, dword [0x44ad98]
cmp eax, ebx
je 0x43171b
push eax
call fcn.00429bea
pop ecx
test eax, eax
je 0x43171b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44ad90]
call fcn.00429bea
pop ecx
test eax, eax
je 0x43173b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43173d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret