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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
cmp edx, dword [edi + 0x2c]
jbe 0x438e6c
push 0x4d5e84
push 0xf614
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00421700
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00430e50
add esp, 0xc
test eax, eax
jne 0x43901b
mov esi, dword [esp + 0x14]
cmp byte [esi + 9], al
je 0x438eb1
push 0x4d5e84
push 0xf619
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00421700
add esp, 0x10
mov edi, 0xb
jmp 0x438fe8
mov byte [esi + 9], 1
xor ecx, ecx
movzx eax, word [esi + 0x12]
movzx ebx, byte [esi + 6]
mov edx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
cmp cx, ax
jae 0x438f42
mov eax, dword [esi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [esi + 0x14]
movzx ebx, cx
and ebx, eax
add ebx, dword [esi + 0x38]
cmp byte [esi + 5], 0
jne 0x438f0c
mov edx, dword [ebx]
mov ecx, edi
push dword [ebp + 0xc]
bswap edx
push 1
call fcn.00438e30
mov edi, eax
add esp, 8
test edi, edi
jne 0x438fe8
lea eax, [esp + 0x10]
mov edx, ebx
push eax
mov ecx, esi
call fcn.004357e0
mov edi, eax
add esp, 4
test edi, edi
jne 0x438fe8
mov ecx, dword [esp + 0x14]
movzx eax, word [esi + 0x12]
inc ecx
mov edi, dword [esp + 0x18]
mov edx, eax
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x438ed2
mov ebx, dword [esp + 0x1c]
cmp byte [esi + 5], 0
movzx eax, dx
jne 0x438f6f
mov eax, dword [esi + 0x38]
mov ecx, edi
push dword [ebp + 0xc]
push 1
mov edx, dword [eax + ebx + 8]
bswap edx
call fcn.00438e30
mov edi, eax
add esp, 8
test edi, edi
jne 0x438fe8
jmp 0x438f78
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x438f78
add dword [ecx], eax
cmp dword [ebp + 8], 0
je 0x438f92
push dword [esi + 0x54]
mov ecx, dword [esi + 0x34]
mov edx, esi
call fcn.00435300
add esp, 4
mov edi, eax
jmp 0x438fe8
mov ecx, dword [esi + 0x48]
test byte [ecx + 0x18], 4
mov edx, dword [ecx + 0x10]
je 0x438fb7
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x14]
jb 0x438fb7
cmp dword [edx + 0x60], 0
je 0x438fb3
call fcn.0042ab70
jmp 0x438fd1
xor edi, edi
jmp 0x438fd7
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x438fcc
call fcn.0042c5f0
jmp 0x438fd1
call fcn.0042c3f0
mov edi, eax
test edi, edi
jne 0x438fe8
mov eax, dword [esi + 0x38]
mov ecx, esi
movzx edx, byte [eax + ebx]
or edx, 8
call fcn.00430d70
mov byte [esi + 9], 0
mov ecx, dword [esi + 0x48]
test byte [ecx + 0x18], 0x40
mov esi, dword [ecx + 0x10]
je 0x43900d
call fcn.0042a600
mov ecx, esi
call fcn.0042bb90
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00427070
mov ecx, esi
call fcn.0042bb90
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
mov eax, edx
xorps xmm0, xmm0
mov dword [esp + 0x18], eax
push edi
movlpd qword [esp + 0x10], xmm0
cmp dword [esi + 0x34], 0
jne 0x439665
mov dword [eax], 0
mov dword [eax + 4], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
call fcn.00433ca0
test eax, eax
jne 0x439757
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], eax
mov bl, byte [esi + 0x44]
movsx eax, bl
mov edi, dword [esi + eax*4 + 0x78]
mov cl, byte [edi + 5]
test cl, cl
jne 0x439698
cmp byte [edi + 2], cl
jne 0x4396a7
movzx eax, word [edi + 0x12]
cdq
add dword [esp + 0x10], eax
adc ebp, edx
mov dword [esp + 0x18], ebp
test cl, cl
je 0x439714
nop dword [eax + eax]
test bl, bl
je 0x4397bd
and byte [esi + 0x40], 0xf9
xor eax, eax
mov word [esi + 0x24], ax
movsx eax, bl
dec bl
mov eax, dword [esi + eax*4 + 0x78]
mov byte [esi + 0x44], bl
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x18], 0x40
mov edi, dword [ecx + 0x10]
je 0x4396e1
call fcn.0042a600
jmp 0x4396e6
call fcn.00427070
mov ecx, edi
call fcn.0042bb90
mov bl, byte [esi + 0x44]
movsx ecx, bl
mov eax, dword [esi + ecx*4 + 0x78]
movzx edx, word [esi + ecx*2 + 0x50]
cmp dx, word [eax + 0x12]
jae 0x4396b0
lea eax, [edx + 1]
mov word [esi + ecx*2 + 0x50], ax
mov bl, byte [esi + 0x44]
movsx eax, bl
mov edi, dword [esi + eax*4 + 0x78]
movzx eax, word [edi + 0x12]
movsx ebp, bl
movzx ecx, word [esi + ebp*2 + 0x50]
cmp ecx, eax
jne 0x43975f
movzx ecx, byte [edi + 6]
mov eax, dword [edi + 0x38]
mov edx, dword [ecx + eax + 8]
mov ecx, dword [esi + 4]
bswap edx
cmp bl, 0x13
jl 0x439783
push 0x4d5e84
push 0xe7bb
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00421700
mov eax, 0xb
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [edi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x14]
movzx ecx, cx
and ecx, eax
mov eax, dword [edi + 0x38]
mov edx, dword [ecx + eax]
mov ecx, dword [esi + 4]
cmp bl, 0x13
jge 0x439739
bswap edx
and byte [esi + 0x40], 0xf9
xor eax, eax
mov word [esi + 0x24], ax
inc bl
mov byte [esi + 0x44], bl
mov word [esi + ebp*2 + 0x52], ax
movzx eax, byte [esi + 0x41]
push eax
movsx eax, byte [esi + 0x44]
add eax, 0x1e
push esi
lea eax, [esi + eax*4]
push eax
call fcn.00430e50
add esp, 0xc
test eax, eax
jne 0x439757
mov ebp, dword [esp + 0x18]
jmp 0x439682
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
pop edi
mov dword [ecx + 4], ebp
mov dword [ecx], eax
mov ecx, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
jmp fcn.00433ca0
Function at 0x43ca50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
mov ebx, ecx
push esi
push edi
movsx eax, byte [ebx + 0x44]
mov edi, dword [ebx + 0x18]
mov eax, dword [ebx + eax*4 + 0x78]
mov esi, dword [eax + 0x3c]
movzx eax, word [ebx + 0x20]
sub esi, edi
cmp eax, esi
cmovae eax, esi
mov esi, dword [esp + 0x14]
lea ecx, [edx + esi]
cmp ecx, eax
ja 0x43ca97
lea ecx, [edi + edx]
xor eax, eax
mov edx, dword [esp + 0x1c]
mov dword [edx + 0x10], ecx
mov ecx, 0x1010
mov word [edx + 8], cx
mov dword [edx + 0xc], esi
pop edi
pop esi
pop ebx
pop ecx
ret
push dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x1c]
push esi
call fcn.0043c9a0
add esp, 0xc
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4413b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov ebx, edx
mov esi, ecx
push edi
mov ecx, ebx
call fcn.00433630
mov edi, dword [ebx + 0x18]
xor eax, eax
mov word [esp + 0x20], ax
xor ebp, ebp
movsx eax, byte [ebx + 0x44]
mov dword [esp + 0x38], esi
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x30], ebp
mov eax, dword [ebx + eax*4 + 0x78]
mov ecx, dword [eax + 0x3c]
movzx eax, word [ebx + 0x20]
sub ecx, edi
cmp eax, ecx
cmovae eax, ecx
cmp esi, eax
ja 0x441407
mov eax, 0x1010
mov dword [esp + 0x28], edi
mov word [esp + 0x20], ax
mov dword [esp + 0x24], esi
jmp 0x44142f
lea eax, [esp + 0x18]
xor edx, edx
push eax
push 1
push esi
mov ecx, ebx
call fcn.0043c9a0
add esp, 0xc
test eax, eax
jne 0x44150a
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov al, byte [edi]
cmp al, 0x80
jae 0x44143a
movzx ebx, al
jmp 0x441449
lea edx, [esp + 0x14]
mov ecx, edi
call fcn.004230e0
mov ebx, dword [esp + 0x14]
cmp ebx, 3
jb 0x4414d5
cmp ebx, esi
jg 0x4414d5
lea ecx, [edi - 1]
add ecx, ebx
mov al, byte [ecx]
cmp al, 0x80
jae 0x441466
movzx edx, al
jmp 0x441473
lea edx, [esp + 0x14]
call fcn.004230e0
mov edx, dword [esp + 0x14]
lea eax, [edx - 1]
cmp eax, 8
ja 0x4414d5
cmp edx, 7
je 0x4414d5
movzx ecx, byte [edx + 0x4ca420]
lea eax, [ecx + ebx]
cmp esi, eax
jb 0x4414d5
sub esi, ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [edi + esi]
call fcn.00440260
mov ecx, dword [esp + 0x70]
add esp, 4
test dword [esp + 0x20], 0x2460
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 4], eax
jne 0x4414c2
cmp dword [esp + 0x30], 0
je 0x4414cb
lea ecx, [esp + 0x18]
call fcn.0043bf10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
test dword [esp + 0x20], 0x2460
jne 0x4414e3
test ebp, ebp
je 0x4414ec
lea ecx, [esp + 0x18]
call fcn.0043bf10
push 0x4d5e84
push 0x114fa
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00421700
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
Function at 0x441520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, edx
push ebp
push esi
mov ebp, ecx
mov esi, dword [ebx]
mov ecx, esi
push edi
call fcn.00433630
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
test eax, eax
jl 0x441602
jg 0x441602
test edi, edi
je 0x441602
test eax, eax
jg 0x441602
jl 0x441566
cmp edi, 0x7fffffff
ja 0x441602
mov esi, dword [ebx]
xor eax, eax
mov word [esp + 0x18], ax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ebp
movsx eax, byte [esi + 0x44]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + eax*4 + 0x78]
mov ecx, dword [eax + 0x3c]
movzx eax, word [esi + 0x20]
sub ecx, edx
cmp eax, ecx
cmovae eax, ecx
cmp edi, eax
ja 0x4415a8
mov eax, 0x1010
mov dword [esp + 0x20], edx
mov word [esp + 0x18], ax
mov dword [esp + 0x1c], edi
jmp 0x4415c8
lea eax, [esp + 0x10]
xor edx, edx
push eax
push 1
push edi
mov ecx, esi
call fcn.0043c9a0
add esp, 0xc
test eax, eax
jne 0x44162a
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push 0
push dword [esp + 0x44]
mov ecx, edi
call fcn.00440920
mov ecx, dword [esp + 0x4c]
add esp, 8
test dword [esp + 0x18], 0x2460
mov dword [ecx], eax
jne 0x4415ef
cmp dword [esp + 0x28], 0
je 0x4415f8
lea ecx, [esp + 0x10]
call fcn.0043bf10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x44]
push 0x4d5e84
push 0x1151a
push str.database_corruption_at_line__d_of___.10s_
push 0xb
mov dword [eax], 0
call fcn.00421700
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x44b640
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebx, ecx
mov ebp, edx
push esi
push 0x14
mov dword [ebx], 0
call fcn.0041f140
mov esi, eax
add esp, 4
test esi, esi
jne 0x44b664
lea eax, [esi + 7]
pop esi
pop ebp
pop ebx
ret
cmp dword [0x4daaec], 0
push edi
mov edi, dword [esp + 0x14]
je 0x44b6ad
mov eax, dword [0x4dabf0]
test eax, eax
je 0x44b689
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x44b6ad
lea eax, [esi + 4]
mov dword [esi + 8], ebp
push eax
push 0
push esi
push 0x421980
push 0
push 0
mov dword [esi + 0xc], edi
call fcn.004aed36
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x44b6ba
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x44b6d2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebx], esi
xor eax, eax
pop esi
pop ebp
pop ebx
ret
Function at 0x49e080
Capabilities:
Get file size
Read file via mapping

Disassembly:
sub esp, 0x10
push esi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ecx
mov esi, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x49e113
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x49e10a
cmp dword [esp + 0xc], 0
jne 0x49e10a
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
test eax, eax
jne 0x49e0d2
mov dword [esi + 0xc], eax
mov dword [esi], eax
mov al, 1
pop esi
add esp, 0x10
ret
push 0
push 0
push 0
push 2
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0xc], eax
test eax, eax
je 0x49e10a
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi], eax
test eax, eax
jne 0x49e0cb
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
add esp, 0x10
ret
Function at 0x4a0950
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
jne 0x4a0957
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x4a0a17
push edi
mov edi, esi
shr edi, 3
nop dword [eax]
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce600]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce600]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce600]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce600]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce600]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce600]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce600]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce600]
sub edi, 1
jne 0x4a0970
pop edi
test esi, esi
je 0x4a0a3a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce600]
sub esi, 1
jne 0x4a0a20
not ecx
mov eax, ecx
pop esi
ret
Function at 0x4a0cc0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32
Write file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x10]
cmp byte [esi + 0x2d], 0
je 0x4a0d9e
mov ecx, dword [esi + 0x3c]
mov eax, ecx
test ecx, ecx
je 0x4a0cf7
cmp dword [esi + 0x40], ebp
jae 0x4a0cf7
push ecx
call fcn.004a2771
add esp, 4
mov dword [esi + 0x3c], 0
xor eax, eax
test eax, eax
jne 0x4a0d11
lea eax, [ebp*2]
push eax
call fcn.004a24f4
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebp
push ebp
push edi
push eax
call fcn.004a5830
xor edx, edx
add esp, 0xc
mov dword [esp + 0x10], edx
test ebp, ebp
je 0x4a0d9b
push ebx
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x30]
mov bl, byte [edx + eax]
mov edx, dword [esi + 0x38]
mov edi, edx
movsx eax, bl
and edi, 0xfffd
xor eax, ecx
or edi, 2
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x4ce600]
xor eax, ecx
mov ecx, edi
mov dword [esi + 0x30], eax
xor ecx, 1
movzx eax, al
add eax, dword [esi + 0x34]
imul eax, eax, 0x8088405
imul ecx, edi
inc eax
mov dword [esi + 0x34], eax
shr eax, 0x18
xor eax, edx
shr ecx, 8
movzx eax, al
xor cl, bl
shr edx, 8
xor edx, dword [eax*4 + 0x4ce600]
mov dword [esi + 0x38], edx
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x3c]
mov byte [edx + eax], cl
inc edx
mov dword [esp + 0x14], edx
cmp edx, ebp
jb 0x4a0d27
pop ebx
mov edi, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4a0dd7
mov edx, dword [esi + 0x24]
lea eax, [edx + ebp]
cmp eax, dword [esi + 0x28]
jb 0x4a0dbf
pop edi
mov dword [esi + 0x14], 0x30000
xor eax, eax
pop esi
pop ebp
ret 8
push ebp
add ecx, edx
push edi
push ecx
call fcn.004a5830
add esp, 0xc
mov eax, ebp
add dword [esi + 0x24], ebp
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [esi + 4]
test eax, eax
je 0x4a0df8
push 0
lea ecx, [esp + 0x14]
push ecx
push ebp
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x4a0fc0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x84]
test edx, edx
je 0x4a1021
mov ecx, dword [edi + 0x8c]
mov ebx, dword [edi + 0x88]
cmp ecx, ebx
jae 0x4a106b
mov esi, dword [esp + 0x14]
lea eax, [ecx + edx]
sub ebx, ecx
cmp ebx, dword [esp + 0x18]
cmova ebx, dword [esp + 0x18]
push ebx
push eax
push esi
call fcn.004a5830
mov ecx, dword [edi + 0x78]
mov edx, esi
add dword [edi + 0x8c], ebx
add dword [edi + 0x74], ebx
push ebx
call fcn.004a0950
add esp, 0x10
mov dword [edi + 0x78], eax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4a1064
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push 0
push ecx
push dword [esp + 0x20]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a106b
mov esi, dword [esp + 0xc]
mov edx, ebx
mov ecx, dword [edi + 0x78]
add dword [edi + 0x74], esi
push esi
call fcn.004a0950
add esp, 4
mov dword [edi + 0x78], eax
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov dword [edi + 0x14], 0x1000000
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x4b7343
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b6e96
Function at 0x10001050
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0xc]
or dword [eax], 0xffffffff
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xffffffff
jne 0x1000109c
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax]
push dword [ebp - 0x28]
push str.item__08X_GetItem_function_return_invalid_status_n
call fcn.1000dc1d
pop ecx
pop ecx
push eax
call sub.KERNEL32.DLL_OutputDebugStringA
xor eax, eax
inc eax
je 0x1000109c
jmp 0x10001095
leave
ret

Function at 0x1000109e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0xc]
or dword [eax], 0xffffffff
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax + 8]
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xffffffff
jne 0x100010ea
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax]
push dword [ebp - 0x28]
push str.item__08X_SetItem_function_return_invalid_status_n
call fcn.1000dc1d
pop ecx
pop ecx
push eax
call sub.KERNEL32.DLL_OutputDebugStringA
xor eax, eax
inc eax
je 0x100010ea
jmp 0x100010e3
leave
ret
Function at 0x47632f
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.00469e02
and dword [ebp - 4], 0
cmp dword [0x4be864], 0
mov ebx, eax
jne 0x4763e0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x476491
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x476491
push eax
call fcn.00469d90
mov dword [esp], 0x49ccf0
push edi
mov dword [0x4be864], eax
call esi
push eax
call fcn.00469d90
mov dword [esp], 0x49ccdc
push edi
mov dword [0x4be868], eax
call esi
push eax
call fcn.00469d90
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4be86c], eax
call esi
push eax
call fcn.00469d90
pop ecx
mov dword [0x4be874], eax
test eax, eax
je 0x4763e0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00469d90
pop ecx
mov dword [0x4be870], eax
mov eax, dword [0x4be870]
cmp eax, ebx
je 0x476438
cmp dword [0x4be874], ebx
je 0x476438
push eax
call fcn.00469e0b
push dword [0x4be874]
mov esi, eax
call fcn.00469e0b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x476438
test edi, edi
je 0x476438
call esi
test eax, eax
je 0x47642f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x47642f
test byte [ebp - 0xc], 1
jne 0x476438
or dword [ebp + 0x10], 0x200000
jmp 0x476471
mov eax, dword [0x4be868]
cmp eax, ebx
je 0x476471
push eax
call fcn.00469e0b
pop ecx
test eax, eax
je 0x476471
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x476471
mov eax, dword [0x4be86c]
cmp eax, ebx
je 0x476471
push eax
call fcn.00469e0b
pop ecx
test eax, eax
je 0x476471
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4be864]
call fcn.00469e0b
pop ecx
test eax, eax
je 0x476491
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x476493
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x18384ac
Capabilities:
Encode data using xor

Disassembly:
jmp 0x18384b6
pushal
call 0x18384bc
pop ebp
sub ebp, 0x10
sub ebp, 0x14384ac
in eax, dx
lodsb al, byte [esi]
test byte [ebx + 1], al
jmp 0x18384d2
mov eax, 0x14384ac
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c2
mov edx, 0x1fea04fb
ljmp 0xf49:0x4010301f
xor byte [eax], dl
inc eax
dec ecx
jne 0x18384e9
jmp 0x18384fc
jo 0x1838534
jo 0x1838572
invalid
jbe 0x18384c4
fild word [edi]
jb 0x1838528
invalid
fist word [ebx - 0x43aa29d]
xchg ebx, eax
call 0xfc7e845a
cli
xlatb
fist word [ebx + 0x555ddd0]
adc edi, esi
sti
sti
sti
adc cl, ch
sti
sti
sti
jbe 0x18384e7
fild word [edi]
jb 0x1838523
xlatb
fbstp tbyte [esi - 0x69]
invalid
jo 0x183854b
fbstp tbyte [esi - 0x61]
invalid
Function at 0x41dbb7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0040e179
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x41dbf3
call fcn.0041ddd6
mov dword [esi + 0xc], 1
jmp 0x41dbf8
call fcn.0041ddd6
cmp dword [esi], 0
je 0x41dc41
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x41dc1b
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0040526f
jmp 0x41dc2c
push 0xff
mov ecx, esi
call fcn.004041d0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00405292
jmp 0x41dc65
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41dc65
push dword [esi]
push dword [ebp - 4]
call fcn.00416542
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41dd2b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0041ddd6
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x41dd73
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040526f
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00405292
jmp 0x41dd7e
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00416542
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x423653
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00414cc9
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42368a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004236ab
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8