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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b90000]
push edi
or ebp, 0xffffffff
jmp 0x1c408b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1c408b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1c408a8
mov eax, 1
add ebx, ebx
jne 0x1c408cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1c408dc
jne 0x1c408fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1c408fb
dec eax
add ebx, ebx
jne 0x1c408e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1c408c0
add ebx, ebx
jne 0x1c408f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1c4094d
xor ecx, ecx
sub eax, 3
jb 0x1c40913
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1c40982
sar eax, 1
mov ebp, eax
jmp 0x1c4091e
add ebx, ebx
jne 0x1c4091e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1c408ec
inc ecx
add ebx, ebx
jne 0x1c4092c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1c408ec
add ebx, ebx
jne 0x1c40939
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1c4092e
jne 0x1c4094a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1c4092e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1c4096c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1c4095e
jmp 0x1c408ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1c4096c
add edi, ecx
jmp 0x1c408ae
pop esi
mov edi, esi
mov ecx, 0x774a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1c4098a
cmp byte [edi], 0x1e
jne 0x1c4098a
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 0x1c4098f
lea edi, [esi + 0x1bf4000]
mov eax, dword [edi]
or eax, eax
je 0x1c409fe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x36c90b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x36c91c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1c409bc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x36c91cc]
or eax, eax
je 0x1c409f8
mov dword [ebx], eax
add ebx, 4
jmp 0x1c409d9
call dword [esi + 0x36c91d4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1c40a2f
cmp al, 0xef
ja 0x1c40a22
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1c40a04
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1c40a11
mov ebp, dword [esi + 0x36c91d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1c40a63
sub esp, 0xffffff80
jmp 0x147d34
Function at 0x406142
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42d2c4], 0
jne 0x40617d
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406156
mov dword [ecx*4 + 0x42d2c0], eax
inc ecx
cmp ecx, 0x100
jl 0x406151
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4061aa
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42d2c0]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x40618b
not eax
pop ebp
ret 0xc
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4a02008], 0x8088405
inc edx
mov dword [ebx + 0x4a02008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41d330
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41d361
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d349
add dl, dl
jne 0x41d36c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d3bd
xor eax, eax
add dl, dl
jne 0x41d379
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d45a
add dl, dl
jne 0x41d388
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d393
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d39e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d3a9
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41d3b3
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41d358
mov eax, 1
add dl, dl
jne 0x41d3cb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d3d6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3c2
sub eax, ebx
mov ebx, 1
jne 0x41d409
mov ecx, 1
add dl, dl
jne 0x41d3ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d3fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3e6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d358
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d420
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d42b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d417
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d358
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d47b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41d358
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f5a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x49e5a8e
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f5ef
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f60e
mov ecx, edx
add ecx, ebx
jmp 0x41f60e
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f60e
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f680
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f669
test esi, esi
jbe 0x41f680
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088f4
test eax, eax
jne 0x41f65b
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f680
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f638
jmp 0x41f680
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f680
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e5a95
ret
Function at 0x4207ec
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x49e6e07
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420827
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x420840
lea eax, [ebp - 0x10]
mov edx, dword [0x4a0477c]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d30
jmp 0x420853
lea eax, [ebp - 0x10]
mov edx, dword [0x4a0477c]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42085f
adc edx, 0
mov edx, dword [edx*4 + 0x4a03568]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4209d9
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4209cc
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4209cc
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4209cc
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4209cc
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x42096a
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x42096a
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x42096a
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x42096a
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4209cc
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4209cc
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4209cc
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4209cc
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4209cc
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x4209f1
inc ebx
cmp ebx, 0x19
jne 0x420819
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e6e0e
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x4010f0
Capabilities:
Link many functions at runtime

Disassembly:
push str.QMSL_MSVC10R.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x405458], eax
test eax, eax
jne 0x401116
push str.Load_DLL_fail_r_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
or eax, 0xffffffff
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.QLIB_SetLibraryMode
push eax
call esi
mov dword [0x405444], eax
test eax, eax
je 0x401188
mov eax, dword [0x405458]
push str.QLIB_DisconnectServer
push eax
call esi
mov dword [0x405440], eax
test eax, eax
je 0x401188
mov ecx, dword [0x405458]
push str.QLIB_ConnectServer
push ecx
call esi
mov dword [0x40543c], eax
test eax, eax
je 0x401188
mov edx, dword [0x405458]
push str.QLIB_QPHONEMS_UploadSBMultiImage_ConfigureCallBack
push edx
call esi
mov dword [0x405438], eax
test eax, eax
je 0x401188
mov eax, dword [0x405458]
push str.QLIB_QPHONEMS_UploadEmmcUserParitionImageWithCDT
push eax
call esi
mov dword [0x405434], eax
test eax, eax
jne 0x40119b
push str.Load_Function_fail_r_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
or eax, 0xffffffff
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x402329
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x405018]
jne 0x402333
repz ret
jmp fcn.004026e6
Function at 0x10001900
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x3004]
mov eax, 0x3004
call fcn.1005e2a0
push 0xffffffffffffffff
push 0x100cae01
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10130aa4]
xor eax, ebp
mov dword [ebp + 0x3000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x3c
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.100621d0
mov edx, dword [ebx + 4]
lea eax, [ebp]
mov dword [ebp - 0x58], eax
mov ecx, 0x800
lea eax, [ebp + 0x1000]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x4c], eax
add esp, 0xc
mov dword [ebp - 0x54], ecx
lea eax, [ebp + 0x2000]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
test edx, edx
je 0x10001986
mov ecx, dword [edx]
jmp 0x10001988
mov ecx, edi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x1000198b
sub ecx, esi
sar ecx, 1
test edx, edx
je 0x100019a2
mov eax, dword [edx]
jmp 0x100019a4
mov eax, edi
lea edx, [ebp - 0x5c]
push edx
push edi
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov ax, word [ebp - 0x44]
lea ecx, [ebp - 0x20]
mov word [ebx + 0x1c], ax
lea eax, [ebp + 0x1000]
push eax
call fcn.10001719
mov edi, eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push 0x100d45ec
call fcn.10001719
mov esi, eax
lea eax, [ebp]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x18]
call fcn.10001719
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.1000182d
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.1000182d
push eax
lea ecx, [ebx + 0x18]
call fcn.10001787
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10001a29
call fcn.10001b13
xor esi, esi
mov dword [ebp - 0x10], esi
jmp 0x10001a2b
xor esi, esi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10001a3a
call fcn.10001b13
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10001a49
call fcn.10001b13
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10001a58
call fcn.10001b13
mov dword [ebp - 0x1c], esi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x10001a6b
call fcn.10001b13
mov dword [ebp - 0x20], esi
lea eax, [ebp + 0x1000]
push eax
lea ecx, [ebx + 0x14]
call fcn.100017b4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10001ab5
cmp eax, 1
je 0x10001ab5
movzx edx, word [ebp + eax*2 + 0x1ffe]
sub eax, 2
push 0x2f
pop esi
lea ecx, [ebp + 0x2000]
lea ecx, [ecx + eax*2]
cmp word [ecx], si
je 0x10001aa5
dec eax
jmp 0x10001a94
cmp dx, si
je 0x10001abb
lea ecx, [ebp + 0x2002]
lea ecx, [ecx + eax*2]
jmp 0x10001abb
lea ecx, [ebp + 0x2000]
mov eax, ebx
push ecx
lea ecx, [eax + 0xc]
call fcn.100017b4
add ebx, 0x10
cmp dword [ebp - 0x2c], 0
mov ecx, ebx
je 0x10001ad6
push dword [ebp - 0x30]
jmp 0x10001adb
push 0x100d45f4
call fcn.100017b4
cmp dword [ebp - 0x24], 0
je 0x10001af0
push dword [ebp - 0x28]
mov ecx, ebx
call fcn.100017b4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3000]
xor ecx, ebp
call fcn.1005e187
add ebp, 0x3004
leave
ret
Function at 0x1000609b
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1074
call fcn.1005e2a0
mov eax, dword [0x10130aa4]
xor eax, esp
mov dword [esp + 0x1070], eax
push esi
mov esi, dword [esp + 0x107c]
push edi
mov edi, dword [esp + 0x1084]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
push 0
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x58
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call esi
push 0x5a
push dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call esi
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x100d8f04]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x100d8f28]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x108c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x100d8f28]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
mov ecx, 0x800
cvtdq2pd xmm0, xmm0
push ecx
andps xmm0, xmmword [0x100d8f40]
divsd xmm0, qword [0x100d8f10]
addsd xmm0, qword [0x100d8f08]
cvttsd2si eax, xmm0
xorps xmm0, xmm0
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x7c]
push eax
push 0x1002
push ecx
movups xmmword [esp + 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 5
lea eax, [esp + 0x7c]
push 0x100d8594
push eax
call fcn.10089830
test eax, eax
mov ecx, 0x100d85a0
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.100897cc
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x1078]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1005e187
add esp, 0x1074
ret 0xc

Function at 0x100079d1
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10130aa4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x100079f0
xor eax, eax
jmp 0x10007a15
push esi
push 0x104
lea eax, [ebp - 0x20c]
xor esi, esi
push eax
push str.DISABLE_SILENT_DOWNLOAD
inc esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e187
leave
ret 4
Function at 0x1000a059
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ecx + 0x6c], eax
lea esi, [ecx - 0x28]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x1c], edi
mov dword [ecx + 0x20], edi
mov dword [ecx + 0x24], 1
mov ecx, esi
push eax
call fcn.100079d1
test eax, eax
jne 0x1000a0ab
push esi
call fcn.100088e1
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push eax
push edi
push esi
push 0x10006780
push edi
push edi
call fcn.1008a115
add esp, 0x18
neg eax
sbb eax, eax
neg eax
jmp 0x1000a0ae
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x100101fa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [0x10130aa4]
xor eax, ebp
mov dword [ebp + 0x1b4], eax
movzx eax, word [ebp + 0x1c0]
push esi
mov esi, dword [0x10133c40]
push edi
push 0xf0
push eax
xor edi, edi
mov dword [ebp - 0x58], ecx
push esi
inc edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10010347
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10010347
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10010347
push ebx
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x10010346
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x5c], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x100102e0
push 3
lea eax, [ebp + 0xb4]
push esi
lea ecx, [ebp + 0xb0]
mov dword [ebp + 0xb0], eax
call fcn.10010fb9
push dword [ebp + 0xb0]
mov eax, dword [ebp - 0x58]
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp + 0xb4]
cmove edi, ecx
cmp dword [ebp + 0xb0], eax
je 0x10010337
push dword [ebp + 0xb0]
call fcn.1006f635
pop ecx
jmp 0x10010337
mov ecx, 0x1234
cmp cx, ax
jne 0x10010337
or dword [ebp - 0x7c], 0xffffffff
lea eax, [ebp - 0x50]
push 3
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x54], eax
call fcn.10010fb9
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x78], eax
cmp eax, ecx
je 0x1001031a
push eax
call fcn.1006f635
pop ecx
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x58]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 0xffffffff
je 0x10010344
add esi, dword [ebp - 0x5c]
test edi, edi
jne 0x10010261
jmp 0x10010346
xor edi, edi
pop ebx
mov ecx, dword [ebp + 0x1b4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1005e187
add ebp, 0x1b8
leave
ret 4
Function at 0x10010362
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x4a8
mov eax, dword [0x10130aa4]
xor eax, esp
mov dword [esp + 0x4a4], eax
push ebx
mov ebx, dword [esp + 0x4b0]
lea eax, [esp + 0x2a0]
push ebp
push esi
mov esi, dword [esp + 0x4bc]
mov ebp, 0x208
push edi
push ebp
push 0
push eax
call fcn.100621d0
push ebp
lea eax, [esp + 0xb4]
push 0
push eax
call fcn.100621d0
push 0x44
pop edi
push edi
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.100621d0
push ebx
lea eax, [esp + 0x2d4]
mov dword [esp + 0x88], edi
push ebp
push eax
call fcn.10011ecc
push esi
push ebx
push str._s__s
lea eax, [esp + 0xe0]
push ebp
push eax
call fcn.10011ecc
add esp, 0x44
lea eax, [esp + 0x14]
xor ebp, ebp
push eax
lea eax, [esp + 0x64]
push eax
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x2d0]
push eax
call fcn.100349e3
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x28
test eax, eax
jne 0x100104a3
call edi
mov esi, eax
cmp esi, 0x2e4
jne 0x1001049c
lea eax, [esp + 0xa4]
mov dword [esp + 0x24], 0x3c
xorps xmm0, xmm0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
movlpd qword [esp + 0x48], xmm0
push eax
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
mov dword [esp + 0x2c], 0x40
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], 0x100dafbc
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], 5
mov dword [esp + 0x48], ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x100104d4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x100104d4
mov dword [esp + 0x14], eax
jmp 0x100104a7
call fcn.100101c0
jmp 0x100104d4
mov eax, dword [esp + 0x14]
push eax
call fcn.10004dd9
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x100104c6
mov esi, dword [esp + 0x10]
jmp 0x100104ca
call edi
mov esi, eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.10015186
pop ecx
mov ecx, dword [esp + 0x4b4]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005e187
add esp, 0x4a8
ret