joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437900
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub esp, 0x18
push ebp
mov ebp, ecx
push esi
xor esi, esi
mov dword [esp + 0xc], ebp
xor ecx, ecx
nop
mov eax, 1
shl eax, cl
or esi, eax
inc ecx
cmp ecx, 0x20
jl 0x437910
mov ecx, dword [ebp + 8]
test ecx, ecx
mov dword [esp + 8], esi
jne 0x437935
mov eax, dword [ebp]
pop esi
pop ebp
add esp, 0x18
ret 4
jl 0x437951
cmp esi, ecx
jne 0x437951
mov ecx, dword [esp + 0x24]
call fcn.004377c0
mov ecx, dword [ebp]
pop esi
add eax, ecx
pop ebp
add esp, 0x18
ret 4
test ecx, ecx
jl 0x437a62
cmp esi, ecx
jae 0x437a62
push edi
mov edi, dword [esp + 0x28]
push ebx
cmp ecx, 0x7fffffff
jne 0x437989
mov ecx, dword [ebp + 8]
mov eax, ecx
cdq
lea ebx, [esi + 1]
idiv ebx
mov ebp, eax
mov eax, ecx
cdq
idiv esi
inc edx
cmp edx, esi
jne 0x437992
inc ebp
jmp 0x437992
lea eax, [ecx + 1]
cdq
inc esi
idiv esi
mov ebp, eax
mov esi, 1
xor ebx, ebx
cmp ebp, esi
jl 0x437a0a
lea ecx, [ecx]
mov eax, dword [edi + 0x1380]
cmp eax, 0x270
jne 0x4379b1
push 0
jmp 0x4379ba
cmp eax, 0x4e0
jl 0x4379c1
push 1
mov ecx, edi
call fcn.00437400
mov ecx, dword [edi + 0x1380]
mov eax, dword [edi + ecx*4]
inc ecx
mov dword [edi + 0x1380], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov eax, dword [esp + 0x10]
imul edx, esi
add ebx, edx
inc eax
imul esi, eax
cmp esi, ebp
jle 0x4379a0
cmp esi, ebp
je 0x437a47
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp + 8]
cdq
idiv esi
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.00437900
imul eax, esi
mov ecx, dword [ebp + 8]
add ebx, eax
cmp ebx, ecx
jle 0x437a53
mov esi, dword [esp + 0x10]
jmp 0x437967
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4
mov eax, dword [ebp]
add eax, ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4
xor edx, edx
mov eax, esi
div ecx
cmp eax, 4
jbe 0x437a91
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x24]
mov eax, dword [ebp]
mov dword [esp + 0x10], ecx
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.00437820
pop esi
pop ebp
add esp, 0x18
ret 4
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.004377c0
mov ecx, eax
cmp ecx, dword [ebp + 8]
ja 0x437a95
mov eax, dword [ebp]
pop esi
add eax, ecx
pop ebp
add esp, 0x18
ret 4
Function at 0x438130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x451fa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
lea ecx, [esp + 0x1c]
call fcn.004380c0
xor ebx, ebx
mov dword [esp + 0x84], ebx
call dword [fcn.00456094]
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x43817a
lea edx, [esp + 0xc]
push edx
push 0x20018
push eax
call ecx
cmp eax, ebx
jne 0x43819e
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x438189
push eax
call dword [fcn.004560dc]
xor al, al
pop ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
push edi
mov edi, dword [esp + 0x28]
cmp edi, ebx
je 0x4381b7
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push ebx
push ebx
push 2
push ecx
call edi
call dword [fcn.00456250]
cmp eax, 0x7a
je 0x4381e7
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4381d1
push eax
call dword [fcn.004560dc]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
mov eax, dword [esp + 0xc]
push esi
lea edx, [esp + 0xf]
push edx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x17], 0
call fcn.0040d7d0
cmp edi, ebx
mov esi, dword [esp + 0x38]
mov byte [esp + 0x8c], 1
je 0x438228
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push edx
push esi
push 2
push eax
call edi
cmp eax, ebx
jne 0x43825b
cmp esi, ebx
je 0x438235
push esi
call fcn.00445550
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x438244
push eax
call dword [fcn.004560dc]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
cmp dword [esi], ebx
push ebp
jbe 0x4382c8
mov ebp, dword [esp + 0x34]
lea edi, [esi + 4]
jmp 0x438270
test ebp, ebp
mov eax, 0x20
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
je 0x4382be
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x58]
push ecx
push eax
push 0
call ebp
test eax, eax
je 0x4382be
mov edx, dword [esp + 0x98]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00448394
add esp, 8
test eax, eax
je 0x4382fb
mov eax, dword [esi]
inc ebx
add edi, 8
cmp ebx, eax
jb 0x438270
push esi
call fcn.00445550
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
je 0x4382e0
push eax
call dword [fcn.004560dc]
xor al, al
mov ecx, dword [esp + 0x88]
pop ebp
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret
push esi
call fcn.00445550
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
je 0x438313
push eax
call dword [fcn.004560dc]
mov al, 1
jmp 0x4382e2
Function at 0x4386e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x451fb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x424]
push edi
mov dword [esp + 0xc], edi
call dword [fcn.0045606c]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x24], eax
mov ecx, esi
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], 0xc
mov byte [esp + 0x24], 1
mov byte [esi + 4], 1
call fcn.00438600
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x438759
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
call fcn.0043b330
mov ecx, dword [esi + 0x20]
call fcn.0043c930
push edi
call dword [fcn.00456070]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x43c987
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x452376
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x460050
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, 0xffffffff
mov dword [esp + 0x14], 1
je 0x43c9ce
cmp eax, ebx
je 0x43c9ce
push eax
call dword [fcn.00456248]
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x18]
mov dword [esi + 4], 0xffffffff
call fcn.00402800
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x34]
call fcn.00402800
cmp dword [esi + 0x4c], 0x10
jb 0x43c9e0
mov eax, dword [esi + 0x38]
push eax
call fcn.00445550
add esp, 4
mov dword [esi + 0x4c], 0xf
mov dword [esi + 0x48], ebx
mov byte [esi + 0x38], bl
cmp dword [esi + 0x30], 0x10
jb 0x43c9ff
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.00445550
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43ed10
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x452548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
add esi, 0x424
push esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
call dword [fcn.0045606c]
mov eax, dword [edi + 0xc]
mov edi, dword [eax]
cmp eax, edi
mov dword [esp + 0x18], 0
je 0x43ee66
push ebx
push ebp
jmp 0x43ed60
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
call dword [eax + 8]
test al, al
mov ecx, dword [edi + 0x28]
je 0x43edb7
test ecx, ecx
je 0x43ee08
call fcn.0043e9d0
mov ecx, dword [esp + 0x28]
mov esi, eax
lea edx, [eax + 2]
sub esi, ecx
mov ebp, 4
lea esp, [esp]
mov al, byte [esi + ecx]
xor byte [ecx], al
mov al, byte [edx - 1]
xor byte [ecx + 1], al
mov al, byte [edx]
xor byte [ecx + 2], al
mov al, byte [edx + 1]
xor byte [ecx + 3], al
mov al, byte [edx + 2]
xor byte [ecx + 4], al
add ecx, 5
add edx, 5
dec ebp
jne 0x43ed90
jmp 0x43ee08
mov edx, dword [ecx]
call dword [edx + 4]
test al, al
je 0x43ee08
mov ebp, dword [edi + 0x28]
test ebp, ebp
je 0x43ee08
mov eax, dword [ebp]
mov esi, dword [0x45ff88]
mov ecx, ebp
call dword [eax + 0xc]
mov edx, esi
lea ebx, [edx + 1]
lea ebx, [ebx]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x43ede0
mov ecx, dword [eax + 0x14]
sub edx, ebx
push edx
push esi
push ecx
push 0
mov ecx, eax
call fcn.00437ae0
test eax, eax
je 0x43ee08
mov edx, dword [esp + 0x28]
push edx
mov ecx, ebp
call fcn.0043ed10
mov al, byte [edi + 0x2d]
test al, al
jne 0x43ee53
mov ecx, dword [edi + 8]
mov al, byte [ecx + 0x2d]
test al, al
jne 0x43ee31
mov eax, dword [ecx]
mov dl, byte [eax + 0x2d]
test dl, dl
jne 0x43ee2d
mov ecx, eax
mov eax, dword [ecx]
mov dl, byte [eax + 0x2d]
test dl, dl
je 0x43ee22
mov edi, ecx
jmp 0x43ee53
mov eax, dword [edi + 4]
mov cl, byte [eax + 0x2d]
test cl, cl
jne 0x43ee51
jmp 0x43ee40
cmp edi, dword [eax + 8]
jne 0x43ee51
mov edi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x2d]
test cl, cl
je 0x43ee40
mov edi, eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xc], edi
jne 0x43ed60
mov esi, dword [esp + 0x14]
pop ebp
pop ebx
push esi
call dword [fcn.00456070]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x444010
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
call fcn.00444fb0
add esp, 4
test eax, eax
jne 0x444028
pop edi
pop esi
pop ebp
ret
mov eax, dword [eax + 0x54]
mov ebp, dword [esp + 0x10]
push eax
push esi
push ebp
call fcn.00443d80
push ebp
call fcn.00444fb0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x44404a
pop edi
pop esi
pop ebp
ret
xor ecx, ecx
push ebx
mov cx, word [edi + 0x14]
xor ebx, ebx
cmp word [edi + 6], bx
lea eax, [ecx + edi + 0x18]
jbe 0x44408d
lea esi, [eax + 0x14]
mov eax, dword [esi - 4]
test eax, eax
je 0x44407f
mov edx, dword [esi]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esi - 8]
add edx, ecx
add eax, ebp
push edx
push eax
call fcn.00443d80
add esp, 0xc
xor ecx, ecx
inc ebx
mov cx, word [edi + 6]
add esi, 0x28
cmp ebx, ecx
jl 0x444060
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
ret

Function at 0x4440a0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
push ebx
push eax
call fcn.00444fb0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4440b6
pop ebx
ret
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x38], 0x1000
mov dword [ebx + 0x3c], 0x200
mov ax, word [ebx + 6]
xor edx, edx
push ebp
mov dx, word [ebx + 0x14]
lea eax, [eax + eax*4]
shl eax, 3
push esi
lea esi, [edx + ebx + 0x18]
push eax
push 0
push esi
call fcn.00443d40
mov eax, dword [esp + 0x28]
add esp, 0xc
xor ebp, ebp
mov word [ebx + 6], ax
test ax, ax
jbe 0x444140
push edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 4]
mov dword [esi + 8], edx
mov eax, dword [edi + 8]
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x24], 0xe0000060
mov edx, dword [edi + 0x10]
push edx
push esi
call fcn.00444150
xor eax, eax
add esp, 8
mov ax, word [ebx + 6]
inc ebp
add esi, 0x28
add edi, 0x14
cmp ebp, eax
jl 0x444103
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x444fb0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x444fbb
xor eax, eax
ret
cmp word [ecx], 0x5a4d
je 0x444fc5
xor eax, eax
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
xor ecx, ecx
cmp dword [eax], 0x4550
setne cl
dec ecx
and eax, ecx
ret
Function at 0x4492af
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x4492dd
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x4492e4
cmp ebx, dword [eax + 4]
jae 0x4492e4
xor eax, eax
jmp 0x4494d4
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4492f5
xor eax, eax
inc eax
jmp 0x4494d3
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x44930b
cmp ecx, edx
jae 0x449450
cmp dword [eax + 4], 0
je 0x449314
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x4492fc
cmp dword [ebp + 8], 0
je 0x449336
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x449450
cmp eax, esi
jae 0x449450
mov eax, dword [0x48a400]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x44935b
cmp dword [esi*4 + 0x48a408], edi
je 0x449454
inc esi
cmp esi, eax
jl 0x449349
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x456180]
test eax, eax
je 0x4494d0
cmp dword [ebp - 8], 0x1000000
jne 0x4494d0
test byte [ebp - 0xc], 0xcc
je 0x4493d9
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4494d0
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4494d0
cmp word [eax + 0x18], 0x10b
jne 0x4494d0
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4494d0
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4493d9
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4493d9
test byte [ecx + 0x27], 0x80
jne 0x449450
push 1
push 0x48a448
call dword [0x45623c]
test eax, eax
jne 0x4492ed
mov ecx, dword [0x48a400]
test ecx, ecx
mov edx, ecx
jle 0x44940d
lea eax, [ecx*4 + 0x48a404]
cmp dword [eax], edi
je 0x44940d
dec edx
sub eax, 4
test edx, edx
jg 0x449401
test edx, edx
jne 0x44943e
push 0xf
pop ebx
cmp ecx, ebx
jg 0x44941a
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x449432
lea eax, [edx*4 + 0x48a408]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x449420
cmp ecx, 0x10
jge 0x44943e
inc ecx
mov dword [0x48a400], ecx
push 0
push 0x48a448
call dword [0x45623c]
jmp 0x4492ed
xor eax, eax
jmp 0x4494d3
test esi, esi
jle 0x4492ed
mov ebx, dword [0x45623c]
push 1
push 0x48a448
call ebx
test eax, eax
jne 0x4492ed
cmp dword [esi*4 + 0x48a408], edi
je 0x4494aa
mov eax, dword [0x48a400]
lea esi, [eax - 1]
test esi, esi
jl 0x449498
cmp dword [esi*4 + 0x48a408], edi
je 0x449494
dec esi
jns 0x449488
test esi, esi
jge 0x4494a8
cmp eax, 0x10
jge 0x4494a3
inc eax
mov dword [0x48a400], eax
lea esi, [eax - 1]
jmp 0x4494aa
je 0x4494c2
xor ecx, ecx
test esi, esi
jl 0x4494c2
lea eax, [ecx*4 + 0x48a408]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4494b0
push 0
push 0x48a448
call ebx
jmp 0x4492ed
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x453126
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pushal
pushfd
call fcn.004552d4
mov edi, dword [ebp + 8]
add edi, dword [edi + 0x3c]
mov dword [0x45305e], edi
push dword [edi + 0x80]
pop dword [0x453062]
push dword [edi + 0x28]
pop dword [0x454547]
push dword [edi + 0x34]
pop dword [0x454543]
xor eax, eax
mov ecx, 4
lea edi, [edi + 0xd0]
stosd dword es:[edi], eax
loop 0x453167
push dword [0x453062]
push dword [ebp + 8]
call fcn.00453492
or eax, eax
jne 0x453181
jmp 0x453338
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
push dword [ebp + 0x10]
push eax
call fcn.004533b5
pushal
push 0x30
push 0x4541ce
push 0x453381
call fcn.004552e0
push 0x4541ce
push 0x30
call fcn.004553e8
popal
mov esi, 0x454567
push dword [ebp + 0x14]
pop dword [esi]
push dword [ebp + 0x18]
pop dword [esi + 4]
add esi, 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ebp + 8]
mov ebx, 0
mov esi, 0x454567
mov esi, dword [esi]
add esi, dword [ebp + 8]
pushal
call fcn.004541ae
popal
mov esi, 0x454567
pushal
call fcn.004541ae
popal
mov esi, 0x454557
pushal
call fcn.004541ae
popal
mov edi, dword [0x45305e]
push 0xa0
pop dword [edi + 0x84]
push dword [ebp + 0x10]
pop dword [edi + 0x80]
mov eax, dword [ebp + 0x10]
add eax, 0xa0
mov dword [edi + 0x28], eax
push dword [ebp + 0xc]
pop dword [0x45454b]
mov eax, dword [ebp + 0x10]
add eax, 0xa0
add eax, 0x1ca1
mov edi, dword [ebp + 0x10]
add edi, 0xa0
add edi, dword [ebp + 8]
mov esi, 0x453546
mov ecx, 0x1ca1
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
add edi, dword [ebp + 0x10]
add edi, 0xa0
add edi, 0xf1f
mov esi, edi
mov ecx, 0xd2
xor ebx, ebx
lodsb al, byte [esi]
ror al, 2
add al, bl
xor al, 0x42
stosb byte es:[edi], al
inc ebx
loop 0x45326e
mov edi, dword [ebp + 8]
add edi, dword [ebp + 0x10]
add edi, 0xa0
add edi, 0x1c0f
mov esi, edi
mov ecx, 0x92
xor ebx, ebx
lodsb al, byte [esi]
ror al, 2
add al, bl
xor al, 0x44
stosb byte es:[edi], al
inc ebx
loop 0x453295
push 0x30
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0x10]
add eax, 0xa0
add eax, 0x7c
push eax
push 0x4532f0
call fcn.004552e0
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0x10]
add eax, 0xa0
add eax, 0x7c
push eax
push 0x30
call fcn.004553e8
mov edi, dword [ebp + 8]
add edi, dword [ebp + 0x10]
add edi, 0xa0
add edi, 0x468
mov ecx, 0x17a7
mov esi, edi
lodsb al, byte [esi]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
stosb byte es:[edi], al
loop 0x4532ef
popfd
popal
mov eax, 1
mov dword [0x453066], 0
leave
ret 0x14
mov dword [0x453066], 1
jmp 0x453344
popfd
popal
xor eax, eax
jmp 0x453334
Function at 0x454142
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov esi, eax
mov ebx, 0xffffffff
xor edx, edx
xor eax, eax
lodsb al, byte [esi]
add edx, eax
xor eax, ebx
and eax, 0xff
shl eax, 2
lea edi, [ebp + 0x454577]
add edi, eax
mov eax, dword [edi]
shr ebx, 8
xor ebx, eax
loop 0x45414b
not ebx
mov eax, ebx
ret
Function at 0x40894d
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
and esi, esi
call fcn.00408973
mov ebx, ebx
sub ebx, esi
xor dword [ecx], eax
add ecx, 1
dec ebx
add ebx, ebx
cmp ecx, edi
jne fcn.0040894d
add ebx, 0x16d2b1c9
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ed0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5080638c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x103b50fa
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4051fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405235
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40523e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4069dc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406a24
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406978
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a2b
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x406c2c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406cba
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x406c77
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.00403278
jmp 0x406ca4
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x406c8b
lea eax, [ebp - 4]
call fcn.00403198
jmp 0x406c9a
lea edx, [ebp - 4]
call fcn.00406af0
test ebx, ebx
je 0x406c9a
dec ebx
jmp 0x406c7c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040322c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406cc1
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x406cc8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00404dd0
add esp, 0x104
pop ebx
ret