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

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1000f24a
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1000f3ec
cmp edi, dword [ebp + 0x10]
jb 0x1000f3ec
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1000ed14
inc edi
jmp 0x1000f2d3
jmp 0x1000f2e0
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000ed14
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000ed14
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1000f334
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1000f318
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000f362
add dword [eax], 0x39
jle 0x1000f33e
sub al, 0xf5
mov ch, al
call fcn.1000f377
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1001104f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10011065
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10011076
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100110b7
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x10013423
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1001336c
add ebx, 0
push ecx
call 0x10013381
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x1004a17c
sub ebx, dword [0x100699bb]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x100699ab
call fcn.1000ee4b
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1000e359
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100134df
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100134df
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x10013496
mov eax, 1
lock xchg dword [0x100699b7], eax
push 0x3dd1fc71
call 0x10013423
push esi
add esp, 8
cmp eax, 0
jne 0x1001340c
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x10013432
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10013447
cmp ecx, edx
cmp eax, 0
je 0x1001346c
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x10013456
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.10013485
dec eax
loope 0x10013488
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x100699b7], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x100134bc
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100134d1
jmp 0x100134dc
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100133ca
Function at 0x1001a544
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1001a81a
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x1005662f
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x1004d5f5
push 0xffffffffffffffff
call fcn.10011744
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1001a5ae
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1001a5c6
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1001a80e
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1001a7e2
Function at 0x1002a014
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1002a036
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1002a036
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1002a036
ret
cmp word [ebx + 4], 0x14c
jne 0x1002a036
test word [ebx + 0x16], 2
je 0x1002a036
test word [ebx + 0x16], 0x100
je 0x1002a036
cmp word [ebx + 0x18], 0x10b
jne 0x1002a036
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1002a036
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1002a0c2
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1002a056
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10010fa1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1002a036
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1002a0c2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1002a036
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1002a036
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1002a036
ret
cmp word [ebx + 4], 0x14c
jne 0x1002a036
test word [ebx + 0x16], 2
je 0x1002a036
test word [ebx + 0x16], 0x100
je 0x1002a036
cmp word [ebx + 0x18], 0x10b
jne 0x1002a036
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1002a036
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1002a0c2
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1002a056
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10010fa1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1002a036
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1002a179
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1002a1d2
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1002a179
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1002a188
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042fe2b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1002a1d9
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001104f
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1002a278
add edi, 4
add eax, 2
dec ecx
jne 0x1002a1be
call 0x1002a225
loope 0x1002a21b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1002a275
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1002a286
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1002a239
cmp eax, ecx
ja 0x1002a239
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1002a2c3
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1002a2b9
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1001152e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1002a188
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1002a1d2
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1002a179
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1002a188
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042fe2b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1002a1d9
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001104f
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1002a278
add edi, 4
add eax, 2
dec ecx
jne 0x1002a1be
call 0x1002a225
loope 0x1002a21b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1002a275
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1002a286
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1002a239
cmp eax, ecx
ja 0x1002a239
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1002a2c3
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1002a2b9
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1001152e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10008e33
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10008e72
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10008e72
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10008e72
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10008e72
cmp dword [ecx + 0x74], 0xe
jbe 0x10008e72
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000baef
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 0x1000bb8c
push ebx
push esi
call fcn.1000bab8
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.1000ba4c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000bb39
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000bb8b
push edi
push eax
call fcn.1000caaa
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000bb59
call fcn.1000a594
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000bb8a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000ba4c
add esp, 0x20
test eax, eax
jne 0x1000bb78
push edi
call fcn.1000a594
jmp 0x1000bb80
push ebx
call fcn.1000a594
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 0x1000bdf9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013668
push 0x10013660
push str.FlsAlloc
push 0x1f
call fcn.1000bd15
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000be2d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10012140]
call esi
jmp 0x1000be33
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000be77
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013678
push 0x10013670
push str.FlsGetValue
push 0x21
call fcn.1000bd15
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000beae
push dword [ebp + 8]
mov ecx, esi
call dword [0x10012140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000beb6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013680
push 0x10013678
push str.FlsSetValue
push 0x22
call fcn.1000bd15
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000bef0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10012140]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10011570
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001159d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001159d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x462e0d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
bswap si
rep stosd dword es:[edi], eax
bswap ecx
bswap si
mov esi, dword [ebp + 8]
lea ecx, [ebx*8 - 0x48180190]
push edx
jmp 0x49a0a7
pushfd
lea esp, [esp + 0x28]
jle 0x46010e
rep stosd dword es:[edi], eax
movzx cx, cl

Function at 0x464241
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.004995fa
popal
jbe 0x4642ab
jo 0x4642b5
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [ebp + 0xf0c2464], cl
test byte [edi - 0x63fffffb], ah
cmp ebx, 3
mov word [esp], di
push eax
push dword [esp + 4]
lea esp, [esp + 0xc]
je 0x49920c
pushal
pushfd
mov byte [esp], 0x61
pushal
lea esp, [esp + 0x44]
jmp 0x49922e
mov ah, 0x79
mov bh, 0xa6
cli
or byte [esi + 0xf], ah
mov edx, 0xc0690ffa
add byte [ebx], al
add byte [eax], al
Function at 0x490a67
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub al, 0x87
stc
neg al
clc
add al, 0xee
pushfd
push dword [esp + 4]
shl edi, 8
bt si, bx
add edi, eax
lea esp, [esp + 0x3c]
jns 0x496077
sub ecx, 1
jmp 0x49935a
lea esp, [esp + 8]
jne 0x490aa4
bts dx, di
call fcn.00491a7c
add byte [eax], al
inc ebx
jb 0x491974
add dword [eax], eax
add byte [eax], al
add byte [ebx + 0x72], al
popal
popal
je 0x491977
push eax
outsd dx, dword [esi]
jo 0x49198b
jo 0x491965
outsb dx, byte gs:[esi]
jne fcn.0049191c
and dl, byte [edi]
push 0xffffffffffffffed
in al, dx
stosd dword es:[edi], eax
push ss
xchg esp, eax
pop ebp
loope 0x491907
or eax, 0xb9ce3ed8
test al, 0xa6
jns 0x4919c1
dec ecx
jb 0x491946
shl ch, 1
les edi, [edi + 0x5b]
mov ah, byte [0xfac41389]
shl dword [edx - 0x52a21696], 0xa5
movsd dword es:[edi], dword [esi]
sbb eax, dword [ebp + 0x7c802c58]
sahf
daa
pop ds
insd dword es:[edi], dx
add esi, esi
mov cl, 0x91
nop
xchg esi, eax
inc ebp
je 0x4919e3
jb 0x4919db
pop eax
das
insb byte es:[edi], dx
call fcn.00491644
add byte [eax], al
inc edi
je 0x491a1f
je 0x491a2f
jb 0x491a44
jne 0x491a42
dec ecx
outsb dx, byte [esi]
outsw dx, word [esi]
inc ecx
add byte [eax], al
add byte [ebp + 0x6e], dl
outsb dx, byte [esi]
jb 0x491a43
imul esi, dword [bp + di + 0x74], 0x6c437265
jb 0x491a28
insb byte es:[edi], dx
popal
jae 0x491a5c
inc ecx
add byte [eax], al
add byte [edi + 0x65], al
je 0x491a48
imul ebp, dword [esi + 0x64], 0x6c50776f
popal
arpl word [ebp + 0x6d], sp
outsb dx, byte gs:[esi]
je fcn.00491a00
and al, 4
mov esi, dword [eax]
add eax, dword [eax]
add cl, ch
sub edi, ebp
push dword [edi + 0x73]
outsd dx, dword [esi]
arpl word [ebx + 0x33], bp
xor ch, byte [esi]
insb byte es:[edi], dx
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [edi + esi*8 - 0x52b61f3b], bl
loopne 0x491a93
lodsd eax, dword [esi]
mov cl, 0x9c
inc esp
and al, 8
or ecx, eax
mov byte [ebp - 2], al
shr ecx, cl
or dl, dl
not cx
shrd edx, ecx, cl
mov ecx, eax
neg dh
mov dword [ebp - 0x20], eax
shr dh, 5
and dl, 0xae
pop edx
sal dx, 3
mov dword [ebp - 0x24], eax
cmc
bsf dx, ax
and dl, ah
cmc
mov dword [ebp - 0x28], eax
clc
seta dl
stc
mov dword [ebp - 0x14], eax
bswap dx
sub eax, 1
movsx dx, bl
mov dword [ebp - 0x18], eax
bts dx, ax
bt si, 2
mov dl, 0xce
mov edx, edi
test dx, bp
cwde
clc
sub edx, dword [ebp + 0xc]
bsf ax, bp
sar al, 4
lea eax, [ecx + 0x54483fc6]
daa
and edx, 3
sbb ax, 0xde8a
pushfd
not eax
cmp ecx, esi
mov eax, ecx
mov byte [esp], cl
push edx
shl eax, 4
mov word [esp], 0x1eab
call fcn.00464241
wait
xor dword es:[ebx + 0x72], 0x31142f4a
invalid
pushfd
clc
push dword [esp]
stc
sub ecx, 1
jmp 0x4918f7

Function at 0x49588d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea eax, [ecx + 0x1bc12cfe]
call 0x499ce5
Function at 0x4958f7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.00498f55
add byte [eax], al
inc edi
je 0x49594e
popal
jae 0x495979
inc ecx
arpl word [ecx + ebp*2 + 0x76], si
push eax
outsd dx, dword [esi]
jo 0x495984
jo fcn.00495911
add byte [eax], al
leave
sub cl, bh
xchg dword [esp], esi
bts cx, 1
setne cl
rcl si, cl
lea ecx, [eax + 2]
setno al
call fcn.0049545b
pushal
add dword [ebp - 0x20], eax
mov dword [esp + 8], esp
bt esp, ecx
cmp ch, cl
cmp dword [ebp - 0x20], 0xffffffff
jmp 0x490b66

Function at 0x495911
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 4]
jb 0x4a0c8f

Function at 0x4995fa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
stc
add eax, edx
push dword [esp + 4]
call fcn.00499df9

Function at 0x499691
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea eax, [ebx + edx*4 + 0x400]
pushfd
lea esp, [esp + 8]
call fcn.00491257
pushal
mov byte [esp + 4], 0x1a
push ebp
mov byte [esp], bl
adc dl, dl
push dword [esp]
push dword [esp]
pushfd
lea esp, [esp + 0x30]
jb 0x464021
pushal
cmc
pushfd
xor dh, dl
cmc
clc
call fcn.004a0cab

Function at 0x4a0cab
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushfd
push edx
lea esp, [esp + 8]
je 0x49a93d
cwde
setnp ah
lahf
lea eax, [ebx + edx*4]
call fcn.0049990c
add byte [eax], al
inc edi
insb byte es:[edi], dx
outsd dx, dword [esi]
bound esp, qword [ecx + 0x6c]
push edx
inc ecx
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [eax], ax
pushfd
lea esp, [esp + 0x28]
jb 0x4a0c8f
pushfd
push ebp
push dword [esp + 4]
lea esp, [esp + 0xc]
jmp 0x49591b
push edi
test dh, 1
push dword [esp]
mov dh, 0
mov byte [esp + 4], al
pushfd
push esp
lea esp, [esp + 0x38]
jp 0x461fd3
je 0x49a93d
Function at 0x4056d4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x42b050], 0
je 0x405735
cmp word [0x42b32c], 0xd7b2
jne 0x4056fd
cmp dword [0x42b334], 0
jbe 0x4056fd
mov eax, 0x42b328
call dword [0x42b344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x405760
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x42a02c], 0
jne 0x405751
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4072ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x407413
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00405f10
cmp si, word [0x42a7c0]
jb 0x407346
cmp si, word [0x42a9c0]
ja 0x407346
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x407346
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x42a7c0]
jae 0x407320
mov edi, ebx
dec edi
jmp 0x407341
cmp si, word [ebx*8 + 0x42a7c0]
jbe 0x407330
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x407341
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x42a7c4]
call fcn.004071bc
jmp 0x407346
cmp edi, dword [ebp - 0xc]
jae 0x40730a
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x4073f5
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4073f5
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.004060f8
push dword [ebp - 0x164]
push 0x407430
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.004060f8
push dword [ebp - 0x168]
push 0x407440
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.004060f8
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.004063e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40741a
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00405f08
ret