joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41685e
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x18]
lea eax, [ecx - 0x3b8a]
add ebx, 0xffffa914
push ebp
add ecx, 0x727
mov dword [esp + 0x10], eax
push esi
mov ebp, edx
mov dword [esp + 0x28], ecx
push edi
xor ebp, 0x3c1b
lea eax, [ecx + 0x24f]
lea edi, [edx + 0x17f8]
mov dword [esp + 0x10], edi
lea esi, [edx + 0x1ad1]
mov dword [esp + 0x24], esi
cmp ebp, eax
jge 0x416a27
mov eax, esi
xor eax, 0x145d
cmp edi, eax
jle 0x416a27
mov edx, dword [esp + 0x18]
lea eax, [esi - 0xb4c]
cmp edx, eax
je 0x416954
mov esi, dword [esp + 0x30]
xor ecx, 0x905
mov eax, dword [esi + 0x114]
add eax, 0x1bece4
add dword [esi + 0xd8], eax
mov eax, ebx
xor eax, 0x49f5
xor ebx, 0x56ec
push eax
push ecx
lea eax, [ebp + 0x5413]
push eax
push esi
push ebx
lea eax, [edi - 0xf13]
push eax
lea eax, [edx + 0x4c7b]
push eax
call fcn.00416596
mov ecx, eax
mov eax, dword [esp + 0x48]
xor eax, 0x7eaa
push eax
lea eax, [ebp + 0x4191]
push eax
push ecx
lea eax, [ebp + 0x50ec]
push eax
push dword [0x603bec]
call fcn.004010c0
add esp, 0x30
mov ebx, eax
xor dword [esi + 0xd8], 0x9f99c
jmp 0x416a27
mov ecx, dword [esp + 0x30]
mov eax, ebx
mov dword [esp + 0x2c], edi
sub eax, dword [ecx + 0x68]
imul eax, ebp
cmp edi, eax
je 0x416a27
mov eax, edx
mov ecx, dword [ecx + 0xac]
mov edx, ecx
imul edx, ebx
xor ecx, ebp
push ecx
imul edx, eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x70]
and eax, ebp
or eax, dword [0x60d834]
push eax
mov eax, dword [esp + 0x20]
imul eax, edi
sub eax, 0x41f3
push eax
lea eax, [ebx + 0x4c7b]
push eax
push dword [0x603bec]
push edx
call fcn.00416e51
mov ecx, dword [0x603bec]
mov edx, eax
mov eax, dword [esp + 0x48]
sub esi, dword [ecx + 0xd4]
mov edi, dword [eax + 0xb0]
or esi, 0x4161
mov eax, dword [ecx + 0x88]
or edi, 0x5278
add eax, 0x4500
push eax
mov eax, dword [esp + 0x40]
xor eax, edx
and eax, ebx
push eax
push ecx
push esi
lea eax, [ebx - 0x42b1]
push edi
push eax
call fcn.004082d7
mov edx, dword [esp + 0x60]
mov ecx, ebx
mov esi, dword [esp + 0x5c]
add esp, 0x30
mov edi, dword [esp + 0x10]
add esi, 2
mov dword [esp + 0x2c], esi
sub ecx, dword [edx + 0x68]
imul ecx, ebp
mov dword [esp + 0x18], eax
cmp esi, ecx
mov esi, dword [esp + 0x24]
mov ecx, edx
jne 0x41696e
pop edi
pop esi
pop ebp
lea eax, [ebx - 0x798]
pop ebx
pop ecx
ret
Function at 0x417624
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, eax
push ebx
mov ebx, dword [esp + 8]
xor ecx, 0x64d
push ebp
push esi
mov esi, dword [esp + 0x1c]
lea ebp, [eax - 0xbfa]
push edi
mov edi, ebx
mov dword [esp + 0x14], ebp
xor edi, 0x3c1b
cmp ebp, ecx
je 0x4176e4
lea eax, [ecx - 0x6a0]
cmp edi, eax
jg 0x417679
mov eax, dword [0x60d764]
add eax, 0xd95b178c
mov dword [esi + 0xf4], 0x4a2000
xor dword [esi + 0x64], eax
jmp 0x4176e4
mov ecx, dword [esi + 0xb4]
mov eax, dword [esp + 0x24]
add ecx, edi
add eax, 0xffffb213
cmp eax, ecx
jae 0x4176e4
push 0xa9
push 0x3399
call fcn.00413f85
mov word [0x60e00c], ax
mov eax, dword [esi + 0xfc]
imul eax, dword [0x60d7d0]
pop ecx
pop ecx
sub eax, 0x4500
push eax
mov eax, dword [esi + 0x9c]
xor eax, dword [esi + 0x68]
sub eax, edi
push eax
mov eax, dword [esp + 0x30]
lea eax, [eax*2 - 0x8562]
push eax
lea eax, [ebx + 0x411]
or eax, 0x4161
add eax, edi
push eax
call dword [0x418038]
xor edi, edi
mov ebp, edi
mov eax, dword [esi + 0xf4]
mov ecx, dword [0x603bec]
mov edx, dword [eax + ebp]
xor eax, eax
inc eax
add ebp, 4
sub eax, dword [esi + 0xc8]
add dword [ecx + 0x3c], eax
mov eax, dword [0x603bec]
mov eax, dword [eax + 0xb4]
xor eax, dword [0x60d730]
sub eax, 0x8f4cb
or dword [esi + 0xe8], eax
mov eax, 0x1f925b20
sub eax, dword [esi + 0x78]
add dword [0x60d788], eax
xor eax, eax
inc eax
sub eax, dword [0x60d74c]
add dword [esi + 0xfc], eax
mov ecx, dword [0x603bec]
mov eax, dword [esi + 0xd8]
sub eax, 0x15b690
add dword [ecx + 0xd8], eax
mov ebx, dword [esi + 0x64]
mov eax, dword [0x60d79c]
mov ecx, dword [esi + 0xf8]
imul ebx, edx
mov edx, ebx
shr edx, 0x10
mov byte [eax + ecx], dl
mov edx, ebx
inc dword [0x60d79c]
mov eax, dword [0x603bec]
shr edx, 8
mov ecx, dword [eax + 0xf8]
mov eax, dword [esi + 0x7c]
mov byte [ecx + eax], dl
inc dword [esi + 0x7c]
mov eax, dword [0x603bec]
mov ecx, dword [eax + 0x68]
add ecx, dword [eax + 0x60]
xor dword [esi + 0x3c], ecx
mov eax, dword [0x60d79c]
mov ecx, dword [esi + 0xf8]
mov byte [eax + ecx], bl
inc dword [0x60d79c]
mov eax, dword [esi + 0x78]
sub eax, dword [esi + 0xfc]
sub eax, 0x1f925b20
add dword [esi + 0xa8], eax
mov eax, dword [0x60d7e0]
add eax, 0xffffffb7
or dword [esi + 0xc0], eax
cmp ebp, 0x49f0
jl 0x4176e8
mov ebp, dword [esp + 0x14]
mov dword [0x60d830], 0x60d720
xor eax, eax
inc eax
sub eax, dword [esi + 0xa4]
add dword [esi + 0x60], eax
mov eax, dword [0x60d744]
add eax, dword [esi + 0x10]
xor eax, 0x25
add dword [esi + 0x10], eax
mov eax, dword [0x603bec]
mov eax, dword [eax + 0x24]
imul eax, dword [esi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [0x603bec]
mov eax, dword [eax + 0x100]
mov ecx, dword [eax + edi]
mov eax, dword [0x60d820]
xor ecx, dword [esi + 0x80]
mov dword [edi + eax], ecx
add edi, 4
mov ecx, dword [esi + 0x104]
add dword [esi + 0x80], ecx
cmp edi, 0x12b8c
jl 0x4177ec
pop edi
xor ebp, 0x171f
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x593008], 0x8088405
inc edx
mov dword [ebx + 0x593008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f05c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x57754a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ab
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
jmp 0x41f0ca
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f13c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f125
test esi, esi
jbe 0x41f13c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f117
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f13c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0f4
jmp 0x41f13c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f13c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x577551
ret
Function at 0x420294
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x5788af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202cf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202e8
lea eax, [ebp - 0x10]
mov edx, dword [0x595348]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202fb
lea eax, [ebp - 0x10]
mov edx, dword [0x595348]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x420307
adc edx, 0
mov edx, dword [edx*4 + 0x594178]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420481
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420474
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420474
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420412
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420412
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420412
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420412
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420474
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420474
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420499
inc ebx
cmp ebx, 0x19
jne 0x4202c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5788b6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x621008], 0x8088405
inc edx
mov dword [ebx + 0x621008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f04c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x60553a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f09b
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ba
mov ecx, edx
add ecx, ebx
jmp 0x41f0ba
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ba
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f12c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f115
test esi, esi
jbe 0x41f12c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f107
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f12c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0e4
jmp 0x41f12c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f12c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x605541
ret
Function at 0x420284
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x60689f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202bf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202d8
lea eax, [ebp - 0x10]
mov edx, dword [0x623348]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202eb
lea eax, [ebp - 0x10]
mov edx, dword [0x623348]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4202f7
adc edx, 0
mov edx, dword [edx*4 + 0x622178]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420471
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420464
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420464
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420402
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420402
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420402
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420402
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420464
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420464
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420489
inc ebx
cmp ebx, 0x19
jne 0x4202b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6068a6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x1019b008
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101b2cf8]
jne 0x1019b012
repz ret
jmp fcn.1019eadb

Function at 0x101a0c8f
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.1019b0a3
and dword [ebp - 4], 0
cmp dword [0x101b4628], 0
mov ebx, eax
jne 0x101a0d40
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101a0df1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101a0df1
push eax
call fcn.1019b031
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101b4628], eax
call esi
push eax
call fcn.1019b031
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101b462c], eax
call esi
push eax
call fcn.1019b031
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101b4630], eax
call esi
push eax
call fcn.1019b031
pop ecx
mov dword [0x101b4638], eax
test eax, eax
je 0x101a0d40
push 0x101adc04
push edi
call esi
push eax
call fcn.1019b031
pop ecx
mov dword [0x101b4634], eax
mov eax, dword [0x101b4634]
cmp eax, ebx
je 0x101a0d98
cmp dword [0x101b4638], ebx
je 0x101a0d98
push eax
call fcn.1019b0ac
push dword [0x101b4638]
mov esi, eax
call fcn.1019b0ac
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101a0d98
test edi, edi
je 0x101a0d98
call esi
test eax, eax
je 0x101a0d8f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101a0d8f
test byte [ebp - 0xc], 1
jne 0x101a0d98
or dword [ebp + 0x10], 0x200000
jmp 0x101a0dd1
mov eax, dword [0x101b462c]
cmp eax, ebx
je 0x101a0dd1
push eax
call fcn.1019b0ac
pop ecx
test eax, eax
je 0x101a0dd1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101a0dd1
mov eax, dword [0x101b4630]
cmp eax, ebx
je 0x101a0dd1
push eax
call fcn.1019b0ac
pop ecx
test eax, eax
je 0x101a0dd1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101b4628]
call fcn.1019b0ac
pop ecx
test eax, eax
je 0x101a0df1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101a0df3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101ab451
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x101b2778], 0x1dce
mov dword [ebp - 0x10], eax
call fcn.101ac369
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x101ab497
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101b2774], 0x18ed
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
jne 0x101ab532
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x36]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x101ab546
mov al, byte [ebp - 0x36]
test al, 1
jne 0x101ab5a1
jmp 0x101ab574
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [0x101b2778], 0x1dce
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x3c], edx
jmp 0x101ab546
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
jmp 0x101ab50c
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x50]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x36], cl
je 0x101ab4ff
jmp 0x101ab4d7
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 2
mov edx, dword [ebp - 0x4c]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], ecx
jb 0x101ab50c
jmp 0x101ab4cc
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov dword [0x101b2774], 0x1941
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101b2778], 0x92b
mov dword [ebp - 0x30], edi
jmp 0x101ab4cc