joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414155
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x476d78]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x414198
cmp word [esi], dx
jne 0x414198
or byte [edi + eax + 0x28], 4
jmp 0x41419d
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4142f0
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4142d0
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4141df
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x414215
cmp eax, edx
jae 0x414221
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4141b7
jmp 0x4142f0
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4142cc
cmp dword [ebp - 0x14], 0
je 0x4142cc
mov eax, dword [ebx*4 + 0x476d78]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4142a4
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41426d
mov word [esi], cx
jmp 0x4142a0
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x476d78]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x476d78]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x476d78]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4142f0
pop ebx
cmp word [ebp - 4], bx
jne 0x4142b5
cmp esi, dword [ebp + 0xc]
jne 0x4142b5
mov word [esi], bx
jmp 0x4142ed
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00414b89
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4142f0
push 0xd
jmp 0x4142e9
mov ecx, dword [ebx*4 + 0x476d78]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4142e7
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4142f0
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4173bf
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x428040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41740a
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041755e
test al, al
jne 0x417404
sub edx, 2
cmp edx, edi
jne 0x4173ea
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41742c
lea eax, [edi + 2]
cmp edx, eax
je 0x41742c
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041730b
add esp, 0x10
jmp 0x417526
push esi
lea ecx, [ebp - 0x255]
call fcn.0041755e
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41746f
push dword [ebp - 0x25c]
jmp 0x41741c
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4174ac
cmp word [ebp - 0x226], 0
je 0x4174cd
cmp word [ebp - 0x226], ax
jne 0x4174ac
cmp word [ebp - 0x224], 0
je 0x4174cd
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041730b
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x417519
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x417486
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x417501
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x417526
push 0x41713b
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041b220
add esp, 0x10
jmp 0x4174f6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406c76
leave
ret

Function at 0x41d080
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41d0ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41d0ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
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
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x10002fc0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x10002fcb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x100030ce
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x21cb710]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x21cb710]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x21cb710]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x21cb710]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x21cb710]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x21cb710]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x21cb710]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x21cb710]
xor eax, edx
inc ecx
dec edi
jne 0x10002fe6
pop edi
test esi, esi
je 0x100030f0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x21cb710]
xor eax, edx
inc ecx
dec esi
jne 0x100030d2
pop esi
pop ebx
not eax
ret
Function at 0x1002079d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x21c9128
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x40]
test edx, edx
setne bl
inc ebx
test eax, eax
je 0x100207b3
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.1000e740
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.1000ec40
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.10020820
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x21cbf1c
call fcn.1000e940
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x6ece491f
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
mov eax, section..text_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x30506d1
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x70305e29
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx*8 + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
jmp 0x70305e81
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x70305ec9
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.70305dc9
add esp, 8
cmp eax, dword [ebp + 0x10]
jne 0x70305ec7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x70305ecb
jmp 0x70305e78
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x70305ed9
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
je 0x70305f3c
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.70305949
add esp, 4
cmp dword [ebp + 8], eax
jne 0x70305f32
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x18]
jmp 0x70305f3e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
jmp 0x70305f08
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x70313bae
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x70313bbe
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x70339d12
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
call fcn.7033942b
mov ecx, eax
mov dword [ebp - 0xc], ecx
call sym.UXCore.dll_public:_void____thiscall_DirectUI::SBAlloc::Alloc_void_
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x70339d3a
xor eax, eax
jmp 0x70339dc1
push ebx
push 0x80
push 3
push ebx
push 1
push 1
push dword [ebp + 8]
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x70339db1
push edi
push ebx
push ebx
push ebx
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 8], eax
je 0x70339da6
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
je 0x70339da1
or byte [esi + 0x14], 1
mov word [esi + 4], 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 8], 1
mov byte [ebp - 1], 1
push dword [ebp + 8]
call edi
push dword [ebp - 8]
call edi
cmp byte [ebp - 1], bl
pop edi
jne 0x70339dbf
mov ecx, dword [ebp - 0xc]
push esi
call sym.UXCore.dll_public:_void___thiscall_DirectUI::SBAlloc::Free_void__
jmp 0x70339d33
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x7033b6c4
Capabilities:
Get thread local storage value

Disassembly:
push dword [sym.UXCore.dll_unsigned_long_int_DirectUI::g_dwElSlot]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x7033b6d5
ret
mov eax, dword [eax + 0xc]
ret
Function at 0x7033cca9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push dword [sym.UXCore.dll_unsigned_long_int_DirectUI::g_dwElSlot]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x7033ce79
cmp byte [ebp + 0xc], 0
push ebx
push edi
mov edi, dword [eax + 0xc]
je 0x7033cd6e
test dword [ebp + 8], 0x10000
je 0x7033cd4b
mov ecx, esi
call fcn.7033b4d1
test al, al
je 0x7033cd0f
mov ecx, esi
call fcn.7033c4ce
mov ebx, eax
mov edi, 0xf000
test edi, ebx
je 0x7033cd0f
call fcn.7033b6a1
test al, al
je 0x7033cd0f
push edi
push ebx
mov ecx, esi
call sym.UXCore.dll_public:_void___thiscall_DirectUI::Element::InvokeAnimation_int__unsigned_int_
jmp 0x7033cd4b
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.7033c41f
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.7033c442
push 0xb
push dword [eax + 4]
push dword [eax]
push dword [edi + 4]
push dword [edi]
push dword [esi + 4]
call sym.UXCore.dll_SetGadgetRect
mov ecx, dword [ebp + 0xc]
call fcn.70313a92
mov ecx, dword [ebp - 4]
call fcn.70313a92
test dword [ebp + 8], 0x20000
je 0x7033ce77
mov esi, dword [esi + 4]
test esi, esi
je 0x7033ce77
push esi
call sym.UXCore.dll_InvalidateGadget
jmp 0x7033ce77
test edi, edi
je 0x7033ce77
test byte [ebp + 8], 5
je 0x7033cdea
mov dword [ebp + 0xc], esi
mov ecx, dword [ebp + 0xc]
mov ebx, ecx
call fcn.7033b4fb
mov ecx, ebx
mov dword [ebp + 0xc], eax
call fcn.7033b58c
cmp dword [ebp + 0xc], 0
je 0x7033cd9e
cmp eax, 0xfffffffe
jne 0x7033cd7f
test byte [ebp + 8], 1
je 0x7033cdc0
or byte [esi + 0x30], 4
mov ecx, dword [edi + 0x14]
push ebx
call fcn.7033c2a0
test eax, eax
jne 0x7033cdc0
mov ecx, dword [edi + 0x14]
push 1
push ebx
call fcn.7033c2c3
test byte [ebp + 8], 4
je 0x7033cdea
mov eax, dword [esi + 0x34]
and eax, 0xfffffffd
or eax, 1
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x10]
push ebx
call fcn.7033c2a0
test eax, eax
jne 0x7033cdea
mov ecx, dword [edi + 0x10]
push 1
push ebx
call fcn.7033c2c3
test byte [ebp + 8], 0xa
je 0x7033ce77
mov ebx, esi
xor esi, esi
mov ecx, ebx
mov dword [ebp + 0xc], ebx
call fcn.7033b4fb
mov ebx, eax
test ebx, ebx
je 0x7033ce0e
test esi, esi
jne 0x7033ce0e
mov esi, ebx
mov ecx, dword [ebp + 0xc]
call fcn.7033b58c
test ebx, ebx
je 0x7033ce1f
cmp eax, 0xfffffffe
jne 0x7033cdf8
test esi, esi
je 0x7033ce77
test byte [ebp + 8], 2
je 0x7033ce49
or byte [esi + 0x30], 4
push dword [ebp + 0xc]
mov ecx, dword [edi + 0x14]
call fcn.7033c2a0
test eax, eax
jne 0x7033ce49
mov ecx, dword [edi + 0x14]
push 1
push dword [ebp + 0xc]
call fcn.7033c2c3
test byte [ebp + 8], 8
je 0x7033ce77
mov eax, dword [esi + 0x34]
push dword [ebp + 0xc]
and eax, 0xfffffffd
or eax, 1
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x10]
call fcn.7033c2a0
test eax, eax
jne 0x7033ce77
mov ecx, dword [edi + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.7033c2c3
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x70344811
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x703c1050]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x703b7814]
cmp ax, 0xffff
jne 0x7034485f
push 5
lea eax, [ebp - 0x10]
push eax
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
and dword [ebp - 0x14], 0
push 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.MSVCR80.dll_wcstol]
add esp, 0xc
mov word [0x703b7814], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.7038fba1
leave
ret

Function at 0x70344870
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x703c1050]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x703b7818], 0xffffffff
jne 0x703448c7
call fcn.70344811
and dword [0x703b7818], 0
movzx eax, ax
test ax, ax
je 0x703448c7
push 0x10
lea ecx, [ebp - 0x24]
push ecx
movzx eax, ax
push 0x58
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x703448c7
test word [ebp - 0x16], 0x800
je 0x703448c7
mov dword [0x703b7818], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x703b7818]
xor ecx, ebp
call fcn.7038fba1
leave
ret
Function at 0x7034532e
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
push edi
jne 0x703453e3
push 8
pop edi
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], 0xff
mov dword [ebp - 8], edi
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push SysStringLen
push ebx
push 0x70304100
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp eax, ebx
mov dword [esi + 0x44], eax
je 0x703453cf
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push eax
call edi
and eax, 0xffafcfff
push eax
push 0xffffffffffffffec
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
call fcn.7033b618
cmp eax, 1
jne 0x703453be
push 0xffffffffffffffec
push dword [esi + 0x44]
call edi
or eax, 0x400000
push eax
push 0xffffffffffffffec
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x13
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xc8
push ebx
push 0x418
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x44]
cmp edi, ebx
je 0x703454d9
test byte [ebp + 0xc], 1
je 0x70345440
push dword [ebp + 8]
mov ecx, esi
call fcn.703448dd
mov eax, dword [ebp + 0xc]
shr eax, 1
and al, 1
mov byte [esi + 0x68], al
je 0x7034541d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x6c]
cmp eax, 0xa
ja 0x7034541d
push 0x14
pop eax
jmp 0x7034542e
push ebx
push 3
push 0x415
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push eax
push 1
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x703454d9
push 0x2c
lea eax, [ebp - 0x34]
push ebx
push eax
mov dword [ebp - 0x38], 0x30
call sub.MSVCR80.dll_memset
mov eax, dword [esi + 0x40]
add esp, 0xc
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
push ebx
push 0x411
push edi
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x38]
push eax
push ebx
push 0x434
push dword [esi + 0x44]
call edi
lea eax, [ebp - 0x38]
push eax
push ebx
push 0x411
push dword [esi + 0x44]
mov dword [ebp - 0x2c], 1
call edi
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x50]
jne 0x703454c8
push ebx
mov ecx, esi
call fcn.703448dd
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 1
push dword [esi + 0x40]
call edi
push 2
push dword [esi + 0x40]
call edi
cmp byte [esi + 0x69], bl
je 0x703454d9
mov byte [esi + 0x69], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x6c], eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x70345da4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x703954b0
call fcn.7038fbb5
mov dword [ebp - 0x14], ecx
and dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
test ecx, ecx
jne 0x70345dcc
mov esi, 0x80070057
jmp 0x70345ef9
cmp dword [ebp + 0xc], 0
je 0x70345dc2
push 1
push dword [ebp + 0xc]
call sym.UXCore.dll_public:_class_DirectUI::Value____thiscall_DirectUI::Element::GetValue_struct_DirectUI::PropertyInfo_const___int_const
push eax
lea ecx, [ebp - 0x10]
call fcn.7033e57e
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x70345df6
mov esi, 0x80004005
jmp 0x70345ef9
cmp word [eax + 4], 5
jne 0x70345dec
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [ebp + 8], eax
je 0x70345dec
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x70345e0a
sub eax, edx
sar eax, 1
mov esi, eax
lea eax, [esi + esi + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x70345e58
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x70345e43
call esi
mov esi, eax
jmp 0x70345eea
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x70345eea
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x70345e81
push dword [ebp + 8]
inc esi
push esi
push ebx
call fcn.703369b8
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x70345e9d
call edi
test eax, eax
jg 0x70345e8d
call edi
mov esi, eax
jmp 0x70345e9d
call edi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
test esi, esi
jl 0x70345eea
mov eax, dword [ebp - 0x14]
push dword [eax + 0x40]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 0xc]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x70345ec8
and dword [ebp + 0xc], 0
jmp 0x70345ee4
call edi
test eax, eax
jg 0x70345ed4
call edi
mov esi, eax
jmp 0x70345ee4
call edi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp + 0xc], 0
je 0x70345ef9
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x70345f09
call fcn.70313a92
mov eax, esi
call fcn.7038fc63
ret 8