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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
jne 0x447e1a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, 0x44
call fcn.00420a20
mov edi, eax
test edi, edi
je 0x447e11
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
push eax
push ecx
push esi
call fcn.00447940
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi], eax
mov eax, dword [ebx + 8]
push edx
push eax
push esi
call fcn.00447ab0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ecx
push eax
push esi
call fcn.004476c0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
push edx
push eax
push esi
call fcn.00447940
mov ecx, dword [ebp + 0x10]
add esp, 0x1c
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ecx
push eax
push esi
call fcn.004476c0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push edx
push eax
push esi
call fcn.00447940
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
add esp, 0x1c
mov byte [edi + 4], cl
mov eax, dword [ebx + 0x1c]
push edx
push eax
push esi
call fcn.00447e00
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ecx
push eax
push esi
call fcn.004476c0
mov edx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push edx
push eax
push esi
call fcn.004476c0
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
mov edx, 0xfff7
add esp, 0x20
and cx, dx
mov dword [edi + 0x24], eax
or eax, 0xffffffff
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov word [edi + 6], cx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f830
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
xor eax, eax
push edi
mov ecx, ebx
test ebx, ebx
jne 0x44f846
xor ebp, ebp
jmp 0x44f85f
cmp byte [ebx], al
je 0x44f855
lea ebx, [ebx]
inc ecx
cmp byte [ecx], al
jne 0x44f850
sub ecx, ebx
and ecx, 0x3fffffff
mov ebp, ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
test ecx, ecx
jle 0x44f962
push esi
lea esp, [esp]
cmp edi, 2
mov esi, edi
jge 0x44f88a
xor esi, 1
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x44f8ed
mov edi, dword [esp + 0x1c]
mov edi, dword [edi + 8]
mov edx, esi
shl edx, 4
mov edi, dword [edx + edi]
mov edx, ecx
mov dl, byte [edx]
test dl, dl
je 0x44f8d1
lea esp, [esp]
movzx ebx, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x4cca90]
cmp dl, byte [ebx + 0x4cca90]
jne 0x44f8cd
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x44f8b0
mov ebx, dword [esp + 0x20]
movzx edx, byte [edi]
movzx ecx, byte [ecx]
movzx edx, byte [edx + 0x4cca90]
movzx ecx, byte [ecx + 0x4cca90]
sub ecx, edx
mov edi, dword [esp + 0x10]
jne 0x44f952
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 8]
shl esi, 4
mov esi, dword [esi + eax + 0xc]
add esi, 4
cmp dword [esi + 0xc], 0
je 0x44f939
xor eax, eax
mov edx, ebp
mov ecx, ebx
test ebp, ebp
jle 0x44f933
mov edi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4cca90]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x44f910
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
xor edx, edx
div dword [esi]
jmp 0x44f93b
xor edx, edx
push ebp
push ebx
mov eax, esi
call fcn.00423720
add esp, 8
test eax, eax
je 0x44f969
mov eax, dword [eax + 8]
test eax, eax
jne 0x44f961
inc edi
cmp edi, dword [esp + 0x14]
mov dword [esp + 0x10], edi
jl 0x44f880
pop esi
pop edi
pop ebp
pop ebx
add esp, 8
ret
xor eax, eax
jmp 0x44f952
Function at 0x44fa00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
mov dword [esp + 0x10], esi
mov ecx, ebp
test ebp, ebp
jne 0x44fa1a
xor ebx, ebx
jmp 0x44fa30
cmp byte [ebp], 0
je 0x44fa26
inc ecx
cmp byte [ecx], 0
jne 0x44fa20
sub ecx, ebp
and ecx, 0x3fffffff
mov ebx, ecx
mov ecx, dword [edx + 4]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ecx
test ecx, ecx
jle 0x44fb2a
mov ecx, dword [edx + 8]
mov dword [esp + 0x14], ecx
push edi
lea ecx, [ecx]
cmp eax, 2
mov ecx, eax
jge 0x44fa5a
xor ecx, 1
mov edx, dword [esp + 0x18]
shl ecx, 4
mov edi, dword [ecx + edx + 0xc]
add ecx, edx
mov edx, dword [esp + 0x28]
test edx, edx
je 0x44fab9
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x44faa1
jmp 0x44fa80
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4cca90]
cmp cl, byte [eax + 0x4cca90]
jne 0x44fa9d
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x44fa80
mov eax, dword [esp + 0x10]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x4cca90]
movzx edx, byte [edx + 0x4cca90]
sub edx, ecx
jne 0x44fb16
cmp dword [edi + 0x20], 0
lea esi, [edi + 0x14]
je 0x44faf5
xor eax, eax
mov edx, ebx
mov ecx, ebp
test ebx, ebx
jle 0x44faef
lea esp, [esp]
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4cca90]
lea ebp, [eax*8]
xor edi, ebp
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x44fad0
mov ebp, dword [esp + 0x24]
xor edx, edx
div dword [esi]
jmp 0x44faf7
xor edx, edx
push ebx
push ebp
mov eax, esi
call fcn.00423720
add esp, 8
test eax, eax
je 0x44fb31
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x44fb29
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
jl 0x44fa50
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov dword [esp + 0x14], 0
jmp 0x44fb12
Function at 0x454260
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
push ebx
mov ebx, dword [ecx]
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebp
test ebx, ebx
je 0x4542fc
cmp byte [ebx], 0
mov eax, ebx
je 0x45428c
inc eax
cmp byte [eax], 0
jne 0x454286
mov edi, dword [esp + 0x20]
sub eax, ebx
and eax, 0x3fffffff
add edi, 0x190
cmp dword [edi + 0xc], 0
mov esi, eax
je 0x4542d9
xor eax, eax
mov edx, esi
mov ecx, ebx
test esi, esi
jle 0x4542d3
nop
movzx ebx, byte [ecx]
movzx ebx, byte [ebx + 0x4cca90]
lea ebp, [eax*8]
xor ebx, ebp
dec edx
xor eax, ebx
inc ecx
test edx, edx
jg 0x4542b0
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
xor edx, edx
div dword [edi]
jmp 0x4542db
xor edx, edx
push esi
push ebx
mov eax, edi
call fcn.00423720
add esp, 8
test eax, eax
je 0x4542f4
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x24]
jmp 0x454303
mov ecx, dword [esp + 0x24]
xor eax, eax
jmp 0x454303
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x454319
movzx ecx, byte [ebp + 0x4cd308]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4 - 0x14]
mov ecx, dword [esp + 0x24]
cmp dword [eax + 0xc], 0
jne 0x45433a
inc ebp
cmp ebp, 3
mov dword [esp + 0x14], ebp
jl 0x454277
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
pop edi
pop esi
mov dword [ecx + 0xc], edx
mov eax, dword [eax + 0x10]
pop ebp
mov dword [ecx + 0x10], 0
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x459ab0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebx
push ebp
xor ebp, ebp
test dword [ecx + 0xc], 0x4000000
push esi
push edi
mov dword [esp + 0x14], ebp
je 0x459bf9
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x24]
test edi, edi
je 0x459b1c
jmp 0x459ae0
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x459b0d
lea edx, [edi + 0x24]
mov esi, eax
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x459afc
or eax, 0xffffffff
jmp 0x459b03
mov eax, 1
shl eax, cl
or ebp, eax
add edx, 8
sub esi, 1
jne 0x459af0
mov edi, dword [edi + 4]
test edi, edi
jne 0x459ae0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], ebp
mov esi, dword [ecx]
mov eax, esi
test esi, esi
jne 0x459b28
xor edi, edi
jmp 0x459b3f
cmp byte [esi], 0
je 0x459b36
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x459b30
sub eax, esi
and eax, 0x3fffffff
mov edi, eax
mov ebx, dword [ecx + 0x44]
add ebx, 0x34
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x18], ebx
je 0x459b89
xor eax, eax
mov edx, edi
mov ecx, esi
test edi, edi
jle 0x459b83
lea esp, [esp]
movzx ebx, byte [ecx]
movzx ebx, byte [ebx + 0x4cca90]
lea ebp, [eax*8]
xor ebx, ebp
dec edx
xor eax, ebx
inc ecx
test edx, edx
jg 0x459b60
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
xor edx, edx
div dword [ebx]
jmp 0x459b8b
xor edx, edx
push edi
push esi
mov eax, ebx
call fcn.00423720
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x459bf9
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x459bf9
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push ebx
lea edx, [esp + 0x18]
push edx
push edi
push eax
push ecx
mov dword [esp + 0x28], ebx
call fcn.004581f0
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, ebx
je 0x459bf2
mov ecx, dword [eax + 4]
cmp ecx, ebx
jle 0x459bf2
mov edx, dword [eax + 8]
mov esi, ecx
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x459be1
or eax, 0xffffffff
jmp 0x459be8
mov eax, 1
shl eax, cl
or ebp, eax
add edx, 4
sub esi, 1
jne 0x459bd5
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x459ba4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x459c10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x20]
push esi
test ebx, ebx
jne 0x459c42
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.004593e0
test eax, eax
jne 0x459c37
cmp dword [esi + 0x24], eax
jne 0x459c37
pop esi
pop ebx
add esp, 0x14
ret
pop esi
mov eax, 1
pop ebx
add esp, 0x14
ret
push ebp
mov ebp, dword [esp + 0x24]
push edi
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x459c8b
nop
mov esi, dword [edi + 0x14]
xor edx, edx
test esi, esi
jle 0x459c84
lea ecx, [edi + 0x24]
lea esp, [esp]
mov eax, dword [ecx]
cmp dword [ebx + eax*4], 0
jge 0x459e27
cmp eax, dword [ebp + 4]
jne 0x459c7c
cmp dword [esp + 0x30], 0
jne 0x459e27
inc edx
add ecx, 8
cmp edx, esi
jl 0x459c60
mov edi, dword [edi + 4]
test edi, edi
jne 0x459c50
mov esi, dword [ebp]
mov eax, esi
test esi, esi
jne 0x459c98
xor edi, edi
jmp 0x459caf
cmp byte [esi], 0
je 0x459ca6
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x459ca0
sub eax, esi
and eax, 0x3fffffff
mov edi, eax
mov ebx, dword [ebp + 0x44]
add ebx, 0x34
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x18], ebx
je 0x459cf9
xor eax, eax
mov edx, edi
mov ecx, esi
test edi, edi
jle 0x459cf3
lea esp, [esp]
movzx ebx, byte [ecx]
movzx ebx, byte [ebx + 0x4cca90]
lea ebp, [eax*8]
xor ebx, ebp
dec edx
xor eax, ebx
inc ecx
test edx, edx
jg 0x459cd0
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
xor edx, edx
div dword [ebx]
jmp 0x459cfb
xor edx, edx
push edi
push esi
mov eax, ebx
call fcn.00423720
add esp, 8
test eax, eax
je 0x459e1d
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x459e1d
mov edi, edi
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
test eax, eax
jle 0x459e0e
mov ebx, dword [ebp + 8]
add ecx, 0x28
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ecx
lea esp, [esp]
mov ecx, dword [esp + 0x10]
mov ebp, dword [ecx]
xor esi, esi
test ebx, ebx
jle 0x459df0
mov edx, dword [esp + 0x28]
mov edi, dword [edx + 0xc]
test ebp, ebp
je 0x459dbe
mov ecx, dword [edi]
mov al, byte [ecx]
mov edx, ebp
test al, al
je 0x459da1
jmp 0x459d80
movzx ebx, byte [edx]
movzx eax, al
mov al, byte [eax + 0x4cca90]
cmp al, byte [ebx + 0x4cca90]
jne 0x459d9d
mov al, byte [ecx + 1]
inc ecx
inc edx
test al, al
jne 0x459d80
mov ebx, dword [esp + 0x1c]
movzx ecx, byte [ecx]
movzx edx, byte [edx]
movzx eax, byte [ecx + 0x4cca90]
movzx ecx, byte [edx + 0x4cca90]
sub eax, ecx
neg eax
sbb eax, eax
inc eax
jmp 0x459dc2
movzx eax, byte [edi + 0x15]
test eax, eax
je 0x459de0
mov edx, dword [esp + 0x2c]
cmp dword [edx + esi*4], 0
jge 0x459e27
mov eax, dword [esp + 0x28]
cmp esi, dword [eax + 4]
jne 0x459de0
cmp dword [esp + 0x30], 0
jne 0x459e27
inc esi
add edi, 0x18
cmp esi, ebx
jl 0x459d67
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add dword [esp + 0x10], 8
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x459d50
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x459d20
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 0x14
ret
Function at 0x48079e
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 0x4807c2
cmp dword [edi + 0x54], 0
jne 0x4807c2
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0048c1e4
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
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.0048075f
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 0x480f62
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4b8d4b
call fcn.004a0ce2
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x480f87
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x480fcd
lea ecx, [ebp - 0x10]
call fcn.00403d50
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.0047cd6c
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00403d30
mov eax, esi
call fcn.004a0dba
ret 8

Function at 0x486931
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 0x486978
call fcn.0048c1e4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x486978
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x486994
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004864a9
mov esi, eax
test edi, edi
je 0x486992
test ebx, ebx
je 0x486992
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4886a8
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4e27e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x488740
push 0x4bf2bc
push 4
push eax
call fcn.0049dd1e
push eax
call fcn.00403740
add esp, 0x10
push ebx
push edi
call fcn.004a2c64
mov edi, dword [eax]
call fcn.004a2c64
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.004a2c01
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.004a2c64
cmp dword [eax], ebx
je 0x488757
call fcn.004a2c64
push dword [eax]
call fcn.00409d50
pop ecx
jmp 0x48875e
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4886eb
jmp 0x4887e5
call fcn.004a2c64
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x4887e1
cmp dword [ebp - 0x234], esi
jae 0x4887e1
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.004a2540
add esp, 0xc
push 0x4bf01c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4887d0
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4887d0
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4887d0
push ebx
push ebx
push esi
jmp 0x4887d9
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4887e3
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0049bee5
leave
ret

Function at 0x489447
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 0x48948f
call fcn.0048c1e4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x48948f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4894d2
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 0x4894bb
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 0x4894bb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4894cf
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 0x49bee5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e27e0]
jne 0x49beef
repz ret
jmp fcn.004a4396
Function at 0x4b026d
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.004a3da5
and dword [ebp - 4], 0
cmp dword [0x4e7ce8], 0
mov ebx, eax
jne 0x4b031e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4b03cf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4b03cf
push eax
call fcn.004a3d33
mov dword [esp], 0x4c1d40
push edi
mov dword [0x4e7ce8], eax
call esi
push eax
call fcn.004a3d33
mov dword [esp], 0x4c1d2c
push edi
mov dword [0x4e7cec], eax
call esi
push eax
call fcn.004a3d33
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4e7cf0], eax
call esi
push eax
call fcn.004a3d33
pop ecx
mov dword [0x4e7cf8], eax
test eax, eax
je 0x4b031e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004a3d33
pop ecx
mov dword [0x4e7cf4], eax
mov eax, dword [0x4e7cf4]
cmp eax, ebx
je 0x4b0376
cmp dword [0x4e7cf8], ebx
je 0x4b0376
push eax
call fcn.004a3dae
push dword [0x4e7cf8]
mov esi, eax
call fcn.004a3dae
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4b0376
test edi, edi
je 0x4b0376
call esi
test eax, eax
je 0x4b036d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4b036d
test byte [ebp - 0xc], 1
jne 0x4b0376
or dword [ebp + 0x10], 0x200000
jmp 0x4b03af
mov eax, dword [0x4e7cec]
cmp eax, ebx
je 0x4b03af
push eax
call fcn.004a3dae
pop ecx
test eax, eax
je 0x4b03af
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4b03af
mov eax, dword [0x4e7cf0]
cmp eax, ebx
je 0x4b03af
push eax
call fcn.004a3dae
pop ecx
test eax, eax
je 0x4b03af
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4e7ce8]
call fcn.004a3dae
pop ecx
test eax, eax
je 0x4b03cf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4b03d1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
jmp 0x436641
call fcn.0043a275
jmp 0x43664b
push 0x14
push 0x44c000
call fcn.00438660
call fcn.00438385
movzx esi, ax
push 2
call fcn.0043a228
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x436679
xor ebx, ebx
jmp 0x4366ac
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x436675
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x436675
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x4366ac
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.0043797a
test eax, eax
jne 0x4366c0
push 0x1c
call fcn.0043679b
pop ecx
call fcn.004376cb
test eax, eax
jne 0x4366d1
push 0x10
call fcn.0043679b
pop ecx
call fcn.0043a30f
and dword [ebp - 4], 0
call fcn.00439c6c
test eax, eax
jns 0x4366eb
push 0x1b
call fcn.0043679b
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x455608], eax
call fcn.0043a34f
mov dword [0x451a70], eax
call fcn.00439f1a
test eax, eax
jns 0x436711
push 8
call fcn.00437a0a
pop ecx
call fcn.0043a147
test eax, eax
jns 0x436722
push 9
call fcn.00437a0a
pop ecx
push 1
call fcn.00437a44
pop ecx
test eax, eax
je 0x436735
push eax
call fcn.00437a0a
pop ecx
call fcn.0043a3da
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x436757
push esi
call fcn.00437ca0
call fcn.00437a35
jmp 0x43678c
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.004386a5
ret