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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x100295f6
pop dword [ebp - 0x10]
mov eax, 0x2c508815
add eax, 0xe3b20de1
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xa1a02600
add dword [ebp - 0x20], 0xacb21f4b
mov dword [ebp - 0x1c], 0x71a07e55
add dword [ebp - 0x1c], 0xc092cdf0
mov dword [ebp - 0x18], 0xf9e38a9e
sub dword [ebp - 0x18], 0xad974670
mov dword [ebp - 0x14], 0x95ab40af
sub dword [ebp - 0x14], 0x95ab40af
lea eax, [ebp - 0x20]
push eax
mov eax, 0xab496191
add eax, 0x64bb6d4f
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x624a9b01
add dword [ebp - 0x20], 0x1227ce55
mov dword [ebp - 0x1c], 0x9a8b0fa1
sub dword [ebp - 0x1c], 0x591eae2c
mov dword [ebp - 0x18], 0x4b3bad89
sub dword [ebp - 0x18], 0xe7cc411d
mov dword [ebp - 0x14], 0xa4db310b
sub dword [ebp - 0x14], 0xa4db310b
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3dc01
push 0
call eax
mov ecx, 0x4886d34f
sub ecx, 0x4886933c
xor edi, edi
add edi, eax
mov edx, 0x7b08cd92
sub edx, 0x6b031992
add edx, dword [ebp - 0x10]
mov esi, 0x60df0730
sub esi, 0x60e46c84
sub dword [ebp - 4], ebx
mov ebx, dword [edx]
xor dword [ebp - 4], 0x7d476f02
sub ebx, esi
add dword [ebp - 8], eax
mov dword [edi], ebx
xor dword [ebp - 8], eax
add edi, 4
add edx, 4
loop 0x10029715
add eax, 0xf31f
xor ebx, ebx
add ebx, eax
add eax, 0xf902ffd2
add eax, 0x6fd0033
mov ecx, 0xdc7fa56
sub ecx, 0xfdc7fa56
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x4056f0
Capabilities:
Encode data using xor

Disassembly:
dec edx
cmp al, 0x89
or byte [ecx + 0x5e5f3c5d], cl
adc eax, 0xf1c25d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
mov ebx, dword [edi]
or byte [esi - 0x75], dl
jne 0x4056da
push edi
mov edi, dword [ebp - 0x5c]
push esi
push edi
push eax
call 0xc5640
push edi
adc dh, 0x83
les eax, [edi + esi*2]
pop esi
pop ebp
ret 0xc
fmul dword [ebx + 0x758b56cf]
or byte [ebx + 0x74c08506], cl
adc al, 0x8b
or byte [edi + 0x4508b0e], dl
push edx
push dword [0x83068b08]
les eax, [eax*4 + 0xec75c0]
pop ebp
ja 0x4056a5
nop
lahf
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4062e5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40b508
cmp edx, dword [eax]
je 0x406307
add eax, 8
inc ecx
cmp eax, 0x40b598
jl 0x4062f8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40b508]
jne 0x406435
mov eax, dword [0x40ba54]
cmp eax, 1
je 0x40640f
test eax, eax
jne 0x406338
cmp dword [0x40b1b4], 1
je 0x40640f
cmp edx, 0xfc
je 0x406435
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40636f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004037b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004038a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4063b2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004038a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40957c
push edi
call fcn.004077b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004037b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004037c0
lea eax, [ebp - 0xa0]
push 0x40955c
push eax
call fcn.004037c0
push dword [esi + 0x40b50c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004037c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407726
add esp, 0x2c
pop edi
jmp 0x406435
lea eax, [ebp + 8]
lea esi, [esi + 0x40b50c]
push 0
push eax
push dword [esi]
call fcn.004038a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408e84
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x398f1c97
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1a78626d
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x37971936
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x3cb91239
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4bf841d6
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..text_1
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x29566b97
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40de38
nop
mov ecx, 0x2637543e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x63ad49d0
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x470b5353
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x6ad4622e
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4356d4
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
sub esp, 0xa34
mov eax, dword [0x4b59f4]
xor eax, esp
mov dword [esp + 0xa30], eax
push esi
mov esi, ecx
lea eax, [esp + 7]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x13]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x13], 0x20
call fcn.004327f0
test eax, eax
jl 0x43572c
mov eax, dword [esp + 8]
cmp eax, 9
jb 0x435723
cmp dword [esp + 0xc], 0
jne 0x435723
cmp byte [esp + 7], 0x62
jge 0x435899
cmp eax, 0xa
jae 0x435899
push str.UILM_MSG_DETECTED_ABNORMAL_DIRECTX
mov ecx, 0x4b8fb0
call fcn.00448f40
cmp dword [eax + 0x18], 0x10
jb 0x435746
mov eax, dword [eax + 4]
jmp 0x435749
add eax, 4
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4b8fb0
call fcn.00447f00
cmp dword [eax + 0x18], 0x10
jb 0x435764
mov eax, dword [eax + 4]
jmp 0x435767
add eax, 4
push eax
lea ecx, [esp + 0x238]
push ecx
call fcn.0047052a
mov eax, dword [esp + 0x30]
add esp, 8
cmp eax, 0x10
jb 0x435792
mov edx, dword [esp + 0x14]
add eax, 1
push eax
push edx
call fcn.00406020
add esp, 8
push 0x14
push str.Silkroad_Online
lea eax, [esp + 0x23c]
push eax
mov ecx, esi
call fcn.004556d4
cmp eax, 6
jne 0x435873
lea ecx, [esp + 0x2c]
push str.IEXPLORE.EXE
push ecx
call fcn.0047052a
lea edx, [esp + 0x18]
push 4
push edx
call fcn.00446680
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp dword [esp + 0x28], 0x10
jae 0x4357de
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x134]
push eax
call fcn.0047052a
add esp, 8
push 1
push 0
lea ecx, [esp + 0x138]
push ecx
lea edx, [esp + 0x38]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jge 0x43583f
push eax
lea eax, [esp + 0x638]
push str.Explorer_Execute_Error___d_
push eax
call fcn.0047052a
add esp, 0xc
push 0
push str.Silkroad_Online
lea ecx, [esp + 0x63c]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x28]
cmp eax, 0x10
jb 0x435903
mov edx, dword [esp + 0x14]
add eax, 1
push eax
push edx
call fcn.00406020
add esp, 8
pop esi
mov ecx, dword [esp + 0xa30]
xor ecx, esp
call fcn.0046fe25
add esp, 0xa34
ret
mov eax, dword [esi + 0x20]
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
mov ecx, dword [esp + 0xa30]
xor ecx, esp
call fcn.0046fe25
add esp, 0xa34
ret
push str.Ready
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4358e1
push 0x10
push str.Silkroad_Online
push str.Critical_Error___Mutex_already_created__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, esi
call fcn.00435580
mov ecx, 0x4b8cc0
call fcn.00430cb0
push 0
call fcn.004710b3
mov ecx, esi
call fcn.00433940
push 5
lea ecx, [esi + 0x1d4]
call fcn.004537fe
mov ecx, dword [esi + 0x20]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0xa34]
pop esi
xor ecx, esp
call fcn.0046fe25
add esp, 0xa34
ret
Function at 0x444970
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
push edi
mov edi, dword [esp + 0x14]
cmp esi, edi
sete al
mov ebx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x444a04
push ebp
lea ebp, [eax - 1]
shr ebp, 3
add ebp, 1
lea ebx, [ebx]
cmp dword [esp + 0x14], 0
je 0x4449b8
lea ecx, [esi + 4]
push ecx
push esi
mov ecx, ebx
call fcn.00444020
add esi, 8
jmp 0x4449fe
movzx edx, byte [esi]
mov byte [edi], dl
mov al, byte [esi + 1]
mov byte [edi + 1], al
movzx ecx, byte [esi + 2]
mov byte [edi + 2], cl
movzx edx, byte [esi + 3]
mov byte [edi + 3], dl
movzx ecx, byte [esi + 4]
lea eax, [edi + 4]
mov byte [eax], cl
movzx edx, byte [esi + 5]
mov byte [edi + 5], dl
movzx ecx, byte [esi + 6]
mov byte [edi + 6], cl
movzx edx, byte [esi + 7]
push eax
push edi
mov ecx, ebx
mov byte [edi + 7], dl
call fcn.00444020
add esi, 8
add edi, 8
sub ebp, 1
jne 0x4449a0
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x44b960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x487a21
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b59f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.CHTMLAtom.0
call fcn.0045ae51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44b9ab
push 0x80004005
call fcn.00430160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
lea ebx, [esi + 8]
mov ecx, ebx
mov dword [esp + 0x20], 0
call fcn.0044fda0
mov byte [esp + 0x20], 1
lea ebp, [esi + 0x44]
call fcn.0045ae51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44b9ee
push 0x80004005
call fcn.00430160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov edi, dword [esp + 0x28]
lea ecx, [edi + 4]
push ecx
lea ecx, [esi + 4]
mov byte [esp + 0x24], 2
call fcn.0044b8c0
lea edx, [edi + 8]
push edx
mov ecx, ebx
call fcn.0044ff00
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov dx, word [edi + 0x3c]
lea ecx, [edi + 0x44]
mov word [esi + 0x3c], dx
mov eax, dword [edi + 0x40]
push ecx
mov ecx, ebp
mov dword [esi + 0x40], eax
call fcn.0044b8c0
mov dl, byte [edi + 0x48]
mov byte [esi + 0x48], dl
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x4501d0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4b59f4]
xor eax, esp
mov dword [esp + 0x28], eax
lea eax, [esp + 0xc]
push eax
call fcn.00433ff0
mov eax, dword [esp + 0x14]
add esp, 4
cmp dword [esp + 0x24], 0x10
jae 0x4501fa
lea eax, [esp + 0x10]
lea ecx, [esp]
push ecx
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45025f
cmp dword [esp + 0x24], 0x10
mov eax, dword [esp + 0x10]
jae 0x450224
lea eax, [esp + 0x10]
lea edx, [esp + 8]
push edx
lea ecx, [esp + 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x45025f
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jb 0x4502a8
mov edx, dword [esp + 0x10]
add eax, 1
push eax
push edx
jmp 0x4502a0
movzx eax, byte [0x4b8f65]
mov edx, dword [esp]
push 4
lea ecx, [esp + 8]
push ecx
push 4
push 0
push str.Division
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jb 0x4502a8
mov ecx, dword [esp + 0x10]
add eax, 1
push eax
push ecx
call fcn.00406020
add esp, 8
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0046fe25
add esp, 0x2c
ret

Function at 0x450500
Capabilities:
Resolve dns

Disassembly:
cmp dword [esp + 0x1c], 0x10
mov eax, dword [esp + 8]
jae 0x45050f
lea eax, [esp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x450552
cmp dword [esp + 0x1c], 0x10
mov eax, dword [esp + 8]
jae 0x45052a
lea eax, [esp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x450552
mov eax, dword [esp + 0x1c]
cmp eax, 0x10
jb 0x45054f
add eax, 1
push eax
mov eax, dword [esp + 0xc]
push eax
call fcn.00406020
add esp, 8
xor eax, eax
ret
mov eax, dword [esp + 0x1c]
cmp eax, 0x10
jb 0x45056c
mov ecx, dword [esp + 8]
add eax, 1
push eax
push ecx
call fcn.00406020
add esp, 8
mov eax, 1
ret

Function at 0x4526a0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x404
mov eax, dword [0x4b59f4]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 4], edi
je 0x4526e8
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je 0x4526e8
push ecx
push eax
lea eax, [esp + 0x10]
push 0x496860
push eax
call fcn.0047052a
add esp, 0x10
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x408]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
pop edi
pop esi
xor ecx, esp
call fcn.0046fe25
add esp, 0x404
ret

Function at 0x4527b0
Capabilities:
Print debug messages

Disassembly:
mov dword [ecx], vtable.CMStream.0
jmp fcn.004526a0
Function at 0x453d3a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x48853d
call fcn.00472ffa
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x453d5f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x453dab
call fcn.0045ae51
push eax
lea ecx, [ebp - 0x10]
call fcn.00430360
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045365a
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00430180
mov eax, esi
call fcn.004730d2
ret 8

Function at 0x457857
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x457890
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045781a
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0044ad80
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x4594a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4594ea
call fcn.0045e4f1
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4594ea
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x459505
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0045905e
test ebx, ebx
mov esi, eax
je 0x459503
test edi, edi
je 0x459503
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x45b7cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4b59f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x45b80c
push 0x497c88
push 4
push eax
call fcn.004719b7
push eax
call fcn.0043f180
add esp, 0x10
jmp 0x45b81e
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x45b88c
push edi
call fcn.00473416
mov edi, dword [eax]
call fcn.00473416
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.004705c1
add esp, 0x18
mov ebx, eax
call fcn.00473416
cmp dword [eax], 0
je 0x45b86c
call fcn.00473416
push dword [eax]
call fcn.004540e2
pop ecx
jmp 0x45b873
call fcn.00473416
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x45b88c
cmp ebx, esi
jae 0x45b88c
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x45b88e
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046fe25
leave
ret
Function at 0x404870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4048c9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4048c9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4048ba
cmp esi, edx
jae 0x4048c9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4048a8
cmp esi, edx
jae 0x4048c9
cmp word [esi], 0
je 0x4048c9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret