joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100352d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100354a0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100353ad
mov edx, dword [ebp - 4]
cmp edx, dword [0x10068014]
jb 0x1003531a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10068018]
ja 0x1003531a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100352ea
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10039ec0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1003533f
jmp 0x100353ad
cmp dword [ebp - 0x14], 0x10000
jne 0x10035393
cmp dword [ebp - 0x18], 0x10000
jb 0x10035393
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10035376
mov eax, dword [ebp - 8]
jmp 0x100353af
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10035386
xor eax, eax
jmp 0x100353af
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100353a8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100354a0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100352ea
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100353c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100354d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10035495
mov edx, dword [ebp - 4]
cmp edx, dword [0x10068014]
jb 0x10035405
mov eax, dword [ebp - 4]
cmp eax, dword [0x10068018]
ja 0x10035405
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100353d5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10039ec0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1003542a
jmp 0x10035495
cmp dword [ebp - 0x14], 0x10000
jne 0x1003547e
cmp dword [ebp - 0x18], 0x10000
jb 0x1003547e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10035461
mov eax, dword [ebp - 8]
jmp 0x10035497
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10035471
xor eax, eax
jmp 0x10035497
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10035490
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100354d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100353d5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10035500
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100358f0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1006aa74], 0
jne 0x1003553d
cmp dword [0x1006aa70], 0
je 0x1003553d
mov eax, dword [0x1006aa70]
mov dword [0x1006aa74], eax
cmp dword [0x1006aa74], 0
je 0x100355ba
mov ecx, dword [0x1006aa74]
cmp dword [ecx + 8], 0
je 0x100355ba
mov edx, dword [0x1006aa74]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100355ba
mov ecx, dword [0x1006aa74]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x100355ba
mov eax, dword [0x1006aa74]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10035589
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10035590
xor eax, eax
jmp 0x100356d9
mov ecx, dword [0x1006aa74]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.10039ec0
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x100356d9
mov edx, dword [0x1006aa70]
mov dword [0x1006aa74], edx
jmp 0x100355d6
mov eax, dword [0x1006aa74]
mov ecx, dword [eax + 4]
mov dword [0x1006aa74], ecx
cmp dword [0x1006aa74], 0
je 0x10035616
cmp dword [0x1006aa74], 0
je 0x10035614
mov edx, dword [0x1006aa74]
cmp dword [edx + 8], 0
je 0x10035614
mov eax, dword [0x1006aa74]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10035614
mov edx, dword [0x1006aa74]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10035614
jmp 0x1003556e
jmp 0x100355c8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100356e0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100356d7
mov eax, dword [ebp - 0x18]
mov dword [0x1006aa74], eax
mov ecx, dword [0x1006aa74]
mov dword [ecx], 0x52727464
mov edx, dword [0x1006aa74]
mov dword [edx + 8], 0
mov eax, dword [0x1006aa74]
mov ecx, dword [0x1006aa70]
mov dword [eax + 4], ecx
mov edx, dword [0x1006aa74]
mov dword [0x1006aa70], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1006aa74]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x100356a7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x100356c7
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1003569e
mov eax, dword [0x1006aa74]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1003556e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10036420
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1006aa70]
mov dword [ebp - 4], eax
jmp 0x10036439
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10036460
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1003645e
call sub.KERNEL32.dll_GetLastError
jmp 0x10036462
jmp 0x10036430
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10036900
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1006aa80], eax
je 0x10036924
mov eax, 0x10dd
jmp 0x10036acc
cmp dword [0x1006aa84], 0
je 0x10036937
mov eax, dword [0x1006aa84]
jmp 0x10036acc
cmp dword [ebp + 0xc], 0
jne 0x10036947
mov eax, 0x57
jmp 0x10036acc
cmp dword [ebp + 8], 0
jne 0x10036957
mov eax, 6
jmp 0x10036acc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10036980
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x1006aa84], ecx
mov edx, dword [ebp + 8]
mov dword [0x1006aa88], edx
mov eax, dword [ebp - 8]
jmp 0x10036acc
push 0x18
call fcn.10037fb3
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100369db
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x1006aa84], ecx
cmp dword [ebp - 4], 0
je 0x100369ca
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.10038006
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x1006aa88], ecx
mov eax, dword [ebp - 8]
jmp 0x10036acc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.100368e0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.100368e0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x10036a1b
cmp dword [ebp - 0xc], 0x1e
jbe 0x10036a37
mov dword [ebp - 8], 9
cmp dword [0x1006aa78], 0
je 0x10036a32
jmp 0x100369a9
jmp 0x100369a0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x10036a5e
mov dword [ebp - 8], 9
cmp dword [0x1006aa78], 0
je 0x10036a59
jmp 0x100369a9
jmp 0x100369a0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10036a89
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x100369a0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x1006aa90]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1006aa90], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10036ae0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1006aa80], eax
je 0x10036afd
mov eax, 0x10dd
jmp 0x10036be0
mov eax, dword [0x1006aa90]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10036b7c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10036b58
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10036b58
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10035980
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.10038006
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10036b05
mov dword [0x1006aa90], 0
call fcn.10036260
mov ecx, dword [0x1006aa8c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10036bca
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10038006
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10036b94
mov dword [0x1006aa8c], 0
mov dword [0x1006aa80], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100370c0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1006aa84], 0
je 0x100370d9
mov eax, dword [0x1006aa84]
jmp 0x10037178
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x100370ea
xor eax, eax
jmp 0x10037178
push 8
call fcn.10037fb3
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10037142
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1003712b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.10038006
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1006aa84], eax
mov dword [0x1006aa88], 0
mov eax, dword [ebp - 8]
jmp 0x10037178
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1003715a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1003710a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1006aa8c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1006aa8c], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1003d1b8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1003d1f7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003d1f7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003d1f7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1003d1f7
cmp dword [ecx + 0x74], 0xe
jbe 0x1003d1f7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10044c42
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10059070
push 0x10059068
push str.FlsAlloc
push 0x1f
call fcn.10044b0a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10044c76
push dword [ebp + 8]
mov ecx, esi
call dword [0x100551b0]
call esi
jmp 0x10044c7c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10044cc0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10059080
push 0x10059078
push str.FlsGetValue
push 0x21
call fcn.10044b0a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10044cf7
push dword [ebp + 8]
mov ecx, esi
call dword [0x100551b0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10044cff
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10059088
push 0x10059080
push str.FlsSetValue
push 0x22
call fcn.10044b0a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10044d39
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100551b0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10049195
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10049232
push ebx
push esi
call fcn.1004915e
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10048026
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100491df
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10049231
push edi
push eax
call fcn.100452f4
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100491ff
call fcn.1004430a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10049230
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10048026
add esp, 0x20
test eax, eax
jne 0x1004921e
push edi
call fcn.1004430a
jmp 0x10049226
push ebx
call fcn.1004430a
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1004b369
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100428ac
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1004b3d8
cmp esi, dword [ebp - 4]
je 0x1004b3d3
cmp dword [ebp + 0xc], 0
je 0x1004b3d3
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1004b3b0
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1004aebb
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1004b3da
xor eax, eax
inc eax
jmp 0x1004b3da
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1004b43f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10068040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100428ac
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100428ac
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1004b4b6
cmp word [ecx], dx
je 0x1004b4b6
mov eax, dword [0x100597bc]
push edi
dec eax
push eax
push 0x100596a8
call fcn.1004b3de
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1004b529
cmp word [eax], dx
je 0x1004b529
mov eax, dword [edi]
test eax, eax
je 0x1004b4da
cmp word [eax], dx
je 0x1004b4da
lea eax, [ebp - 0x10]
push eax
call fcn.1004adc1
jmp 0x1004b4e3
lea eax, [ebp - 0x10]
push eax
call fcn.1004ae5c
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1004b553
mov eax, dword [0x100596a4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10059398
call fcn.1004b3de
add esp, 0xc
test al, al
je 0x1004b553
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1004b51e
cmp word [eax], di
je 0x1004b51e
lea eax, [ebp - 0x10]
push eax
call fcn.1004adc1
pop ecx
jmp 0x1004b555
lea eax, [ebp - 0x10]
push eax
call fcn.1004ae5c
jmp 0x1004b51b
mov eax, dword [edi]
test eax, eax
je 0x1004b540
cmp word [eax], dx
je 0x1004b540
lea eax, [ebp - 0x10]
push eax
call fcn.1004ad76
pop ecx
jmp 0x1004b553
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1004b61e
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1004b263
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1004b61e
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1004b61e
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1004b61e
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1004b5ab
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10044e3f
test ebx, ebx
je 0x1004b619
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10044e3f
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1004b61e
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1004b61e
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1004efc1
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1004b620
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10037fa5
leave
ret
Function at 0x10050c90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10050cbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10050cbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x46bb10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4d000]
push edi
or ebp, 0xffffffff
jmp 0x46bb32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x46bb39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46bb28
mov eax, 1
add ebx, ebx
jne 0x46bb4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x46bb40
jne 0x46bb5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46bb40
xor ecx, ecx
sub eax, 3
jb 0x46bb70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46bbe2
mov ebp, eax
add ebx, ebx
jne 0x46bb7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x46bb88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x46bbac
inc ecx
add ebx, ebx
jne 0x46bb98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46bb8d
jne 0x46bba9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46bb8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46bbcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46bbbd
jmp 0x46bb2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46bbcc
add edi, ecx
jmp 0x46bb2e
pop esi
mov edi, esi
mov ecx, 5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46bbea
cmp byte [edi], 0x30
jne 0x46bbea
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 0x46bbef
lea edi, [esi + 0x69000]
mov eax, dword [edi]
or eax, eax
je 0x46bc67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6e4f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6e52c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46bc1c
mov ecx, edi
jns 0x46bc4b
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 + 0x6e530]
or eax, eax
je 0x46bc61
mov dword [ebx], eax
add ebx, 4
jmp 0x46bc39
call dword [esi + 0x6e540]
mov ebp, dword [esi + 0x6e534]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x46bc9b
sub esp, 0xffffff80
jmp 0x4010b0

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

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
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
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x2a32bc0
Capabilities:
Encode data using xor

Disassembly:
xor al, al
cmp dword [esp + 8], 0
push ebp
mov ebp, dword [esp + 8]
je 0x2a32c57
test ebp, ebp
je 0x2a32c57
mov eax, ebp
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x2a32be0
sub eax, edx
push ebx
sar eax, 1
shr eax, 1
push esi
mov ebx, eax
push edi
lea edi, [ebx + 2]
push edi
call fcn.02a3374f
mov esi, eax
add esp, 4
test esi, esi
je 0x2a32c52
push edi
push 0
push esi
call fcn.02a36370
push esi
push ebp
mov eax, ebx
call fcn.02a320d0
add esp, 0x14
xor eax, eax
test ebx, ebx
jbe 0x2a32c2b
xor byte [eax + esi], bl
inc eax
cmp eax, ebx
jb 0x2a32c23
mov ecx, dword [esp + 0x18]
lea eax, [ebx + ebx]
push eax
push ecx
push ebx
push esi
push 0
push 0
call dword [0x2a3f018]
push esi
mov bl, 1
call fcn.02a3574e
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret