joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d3be0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x100d3da4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x74000]
push edi
or ebp, 0xffffffff
jmp 0x100d3c0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100d3c11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100d3c00
mov eax, 1
add ebx, ebx
jne 0x100d3c23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100d3c18
jne 0x100d3c34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100d3c18
xor ecx, ecx
sub eax, 3
jb 0x100d3c48
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100d3cba
mov ebp, eax
add ebx, ebx
jne 0x100d3c53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100d3c60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x100d3c84
inc ecx
add ebx, ebx
jne 0x100d3c70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100d3c65
jne 0x100d3c81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100d3c65
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100d3ca4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x100d3c95
jmp 0x100d3c06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100d3ca4
add edi, ecx
jmp 0x100d3c06
pop esi
mov edi, esi
mov ecx, 0xb76
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100d3cc2
cmp byte [edi], 8
jne 0x100d3cc2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x100d3cc7
lea edi, [esi + 0xc6000]
mov eax, dword [edi]
or eax, eax
je 0x100d3d36
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd31d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd323c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100d3cf4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd3240]
or eax, eax
je 0x100d3d30
mov dword [ebx], eax
add ebx, 4
jmp 0x100d3d11
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x100d3d67
cmp al, 0xef
ja 0x100d3d5a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100d3d3c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100d3d49
mov ebp, dword [esi + 0xd3244]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x100d3d9b
sub esp, 0xffffff80
jmp 0x10070d0f
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x68623387
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
mov eax, section..reloc
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x373c789c
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0xaf25c2
Capabilities:
Execute anti-debugging instructions

Disassembly:
push edi
cwd
push ebx
pushfd
mov eax, 0
push eax
mov si, bp
clc
mov edi, dword [esp + 0x28]
btc dx, 0x58
ror dh, 0xb4
bswap bp
rol edi, 1
cwd
xor edi, 0x53a038cd
rol edi, 1
cmp dx, bp
btr si, bp
xor edi, 0x776c574a
cmp cx, 0x5d9
bswap edi
add edi, eax
cmp esi, 0x5db07731
shl ebp, 0x8b
add edx, eax
mov esi, esp
bswap dx
sub dh, 0x7f
sub esp, 0xc0
rdtsc
mov ebx, edi
rol ax, 0x39
jmp 0x791d44
inc edx
rol edx, 1
neg edx
jmp 0xbd0d15
mov eax, 0
btc bp, cx
rol edx, 0
sub ebx, eax
rcr edx, 0xd0
lea ebp, [0x791d55]
sbb dh, ch
neg edx
cmovl edx, edi
mov edx, dword [edi]
clc
lea edi, [edi + 4]
cmc
xor edx, ebx
jmp 0x77baca
push esi
not esi
push ebp
push eax
bswap bp
push edx
push ecx
rdtsc
lahf
jmp 0x768c6d
inc edx
xor ebx, edx
stc
cmp esi, esp
add ebp, edx
jmp ebp
Function at 0x428760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
jmp 0x42877a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x428781
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x428770
mov eax, 1
add ebx, ebx
jne 0x428793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x428788
jne 0x4287a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428788
xor ecx, ecx
sub eax, 3
jb 0x4287b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42882a
mov ebp, eax
add ebx, ebx
jne 0x4287c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4287d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4287f4
inc ecx
add ebx, ebx
jne 0x4287e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4287d5
jne 0x4287f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4287d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428814
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428805
jmp 0x428776
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428814
add edi, ecx
jmp 0x428776
pop esi
mov edi, esi
mov ecx, 0xed
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428832
cmp byte [edi], 3
jne 0x428832
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428837
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4288a6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x28028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x428864
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2802c]
or eax, eax
je 0x4288a0
mov dword [ebx], eax
add ebx, 4
jmp 0x428881
call dword [esi + 0x2803c]
mov ebp, dword [esi + 0x28030]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4288da
sub esp, 0xffffff80
jmp 0x401613
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
nop
push 1
nop
pop eax
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
sub ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
push esi
pop edi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
push edi
pop ecx
jns 0x41989b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401207
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x41b2f8]
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [0x41b2fc]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0xc], edx
mov esi, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], 0x9e3779b9
mov dword [ebp - 0x18], eax
call fcn.00401200
add dword [ebp - 0xc], 0x23f
cmp dword [0xb2e60c], 0x14
jne 0x401263
push edx
lea eax, [ebp - 0x84c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov ecx, dword [0x41b300]
mov edx, dword [0x41b304]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov eax, esi
mov dword [ebp - 8], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xb2e60c], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0xb2e608]
cmove eax, dword [ebp - 8]
and dword [ebp - 8], 0
cmp dword [0xb2e60c], 0x3eb
mov dword [0xb2e608], eax
mov eax, dword [0xb2e560]
cmove eax, dword [ebp - 8]
mov dword [0xb2e560], eax
mov eax, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0x10], eax
add dword [ebp - 0x10], edx
xor edx, edx
mov eax, dword [ebp - 4]
mov dword [0xb2e604], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor ecx, eax
cmp dword [0xb2e60c], 0x213
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
jne 0x40135a
push edx
push edx
push edx
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CompareStringA]
lea eax, [ebp - 0x44c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
mov ecx, dword [ebp - 0x10]
sub ebx, ecx
mov eax, ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xc]
shr edx, cl
add eax, ebx
mov ecx, dword [ebp - 4]
add edx, edi
xor ecx, eax
mov dword [ebp - 0x10], edx
cmp dword [0xb2e60c], 0xb03
mov dword [ebp - 4], ecx
jne 0x40139d
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
xor ecx, edx
sub esi, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0xc], eax
dec dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
jne 0x40127f
mov edi, dword [ebp - 0x28]
mov dword [edi], esi
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c634
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a5a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407f65
mov dword [ebp - 0x14], eax
cmp dword [0x489df0], esi
jne 0x40c727
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c6b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c807
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c807
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c807
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x489df0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x489df4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x489df8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x489e00], eax
test eax, eax
je 0x40c724
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x489dfc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c74c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c73f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c761
push 4
pop eax
jmp 0x40c809
cmp dword [ebp - 0x14], esi
je 0x40c761
push dword [0x489df0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c746
mov eax, dword [0x489dfc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c7bf
cmp dword [0x489e00], edi
je 0x40c7bf
push eax
call ebx
push dword [0x489e00]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c7bf
test eax, eax
je 0x40c7bf
call ecx
test eax, eax
je 0x40c7b4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c7b4
test byte [ebp - 8], 1
jne 0x40c7bf
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c7ef
mov eax, dword [0x489df4]
cmp eax, edi
je 0x40c7ec
push eax
call ebx
test eax, eax
je 0x40c7ec
call eax
mov esi, eax
test esi, esi
je 0x40c7ec
mov eax, dword [0x489df8]
cmp eax, edi
je 0x40c7ec
push eax
call ebx
test eax, eax
je 0x40c7ec
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x489df0]
call ebx
test eax, eax
je 0x40c807
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c809
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040394e
mov esp, ebp
pop ebp
ret
Function at 0x4051eb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4a61e8], 0
je 0x405253
mov eax, dword [0x4a61e8]
mov dword [ebp - 4], eax
mov ecx, dword [0x4a61e8]
mov edx, dword [ecx + 0xa6]
mov dword [0x4a61e8], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0xa6], 0
cmp dword [0x4a61ec], 0
je 0x405237
mov ecx, dword [0x4a61ec]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xa6], edx
mov eax, dword [ebp - 4]
mov dword [0x4a61ec], eax
cmp dword [0x4a61e4], 0
jne 0x405251
mov ecx, dword [ebp - 4]
mov dword [0x4a61e4], ecx
jmp 0x405267
mov dword [ebp - 4], 0
push str.CITY_node_overflow
call fcn.004504c0
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40b22d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x4869a8], 1
jne 0x40b2d5
mov eax, dword [0x4bd3cc]
push eax
mov ecx, dword [0x4bd3c4]
push ecx
mov edx, dword [0x4bd3b8]
push edx
mov eax, dword [0x4a6764]
push eax
call fcn.00451459
add esp, 0x10
push 1
call fcn.004515c9
add esp, 4
push 0
push 0x1e0
push 0x280
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [0x4a6764]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xffffffffffffffec
mov edx, dword [0x4a6764]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
or al, 8
push eax
push 0xffffffffffffffec
mov eax, dword [0x4a6764]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 8
push 0xffffffffffffffec
mov ecx, dword [0x4a6764]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push DirectSoundCreate
push 0xfffffffffffffff0
mov edx, dword [0x4a6764]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x40b438
push 0
call fcn.004515c9
add esp, 4
mov eax, dword [0x4bd3cc]
push eax
mov ecx, dword [0x4bd3c4]
push ecx
mov edx, dword [0x4bd3b8]
push edx
mov eax, dword [0x4a6764]
push eax
call fcn.00451459
add esp, 0x10
push 0xffffffffffffffec
mov ecx, dword [0x4a6764]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and al, 0xf7
push eax
push 0xffffffffffffffec
mov edx, dword [0x4a6764]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xcf0000
push 0xfffffffffffffff0
mov eax, dword [0x4a6764]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x60
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0
push 0
push 0xfffffffffffffffe
mov ecx, dword [0x4a6764]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
mov edx, dword [0x4c39dc]
sub edx, dword [0x4c39d4]
push edx
mov eax, dword [0x4c39d8]
sub eax, dword [0x4c39d0]
push eax
mov ecx, dword [0x4c39d4]
push ecx
mov edx, dword [0x4c39d0]
push edx
push 0xfffffffffffffffe
mov eax, dword [0x4a6764]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [0x4a6764]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x4c39d0
mov eax, dword [0x4a6764]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, 0x280
sub ecx, dword [ebp - 8]
mov edx, dword [0x4c39d8]
add edx, ecx
mov dword [0x4c39d8], edx
mov eax, 0x1e0
sub eax, dword [ebp - 4]
mov ecx, dword [0x4c39dc]
add ecx, eax
mov dword [0x4c39dc], ecx
push 6
mov edx, dword [0x4c39dc]
sub edx, dword [0x4c39d4]
push edx
mov eax, dword [0x4c39d8]
sub eax, dword [0x4c39d0]
push eax
mov ecx, dword [0x4c39d4]
push ecx
mov edx, dword [0x4c39d0]
push edx
push 0xfffffffffffffffe
mov eax, dword [0x4a6764]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x4a6764]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [0x4c39e4]
push edx
mov eax, dword [0x4a6764]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x10
push 0x1e0
push 0x280
mov ecx, dword [0x4a6764]
push ecx
call fcn.00451019
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x40bba8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push 0x14
push str.ODIN
push str.NIDO
call fcn.0046ea00
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0x4871c0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40bcb8
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x4871e4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40bc22
mov ecx, dword [ebp - 4]
mov dword [0x486dd4], ecx
mov dword [ebp - 8], 4
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4871ec
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40bc51
mov edx, dword [ebp - 4]
mov dword [0x486dd8], edx
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0x4871f8
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40bc7f
mov eax, dword [ebp - 4]
mov dword [0x486ddc], eax
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x487204
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40bcae
mov ecx, dword [ebp - 4]
mov dword [0x486de0], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x40bcbc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareODINSOFTSango2Settings
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40bdb2
mov edx, dword [0x486dd4]
mov dword [ebp - 4], edx
mov dword [ebp - 8], 4
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.Status
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [0x486dd8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 4
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 4
push 0
push str.SoundVolume
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [0x486ddc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 4
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.MusicVolume
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [0x486de0]
mov dword [ebp - 4], edx
mov dword [ebp - 8], 4
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.Effect
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret