joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428cbd
Capabilities:
Create process on windows
Persist via run registry key

Disassembly:
push 8
mov eax, 0x45ce64
call fcn.0044806b
push str.Run_SpeedLauncher:
lea ecx, [ebp - 0x10]
call fcn.00402060
xor edi, edi
push edi
push esi
lea eax, [ebp - 0x10]
push eax
push 2
pop ebx
push ebx
mov dword [ebp - 4], edi
call fcn.00411b31
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x428d2b
push str.Empty_sl_path:
lea ecx, [ebp - 0x10]
call fcn.00402060
mov dword [ebp - 4], 1
push edi
push esi
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.00411b31
add esp, 0x10
jmp 0x428df2
mov eax, esi
call fcn.00401000
test eax, eax
jne 0x428d48
push str.sl_not_found:
lea ecx, [ebp - 0x10]
call fcn.00402060
mov dword [ebp - 4], ebx
jmp 0x428d17
call fcn.00434892
push eax
lea ecx, [ebp - 0x10]
call fcn.0040210b
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], 3
mov eax, dword [eax]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.0042e34e
mov eax, dword [ebp - 0x10]
add esp, 0x10
cmp dword [eax - 0xc], edi
je 0x428dad
push 0x22
lea eax, [ebp - 0x10]
push eax
call fcn.0040c498
push dword [esi]
lea ecx, [ebp - 0x10]
call fcn.00409001
test eax, eax
jne 0x428dad
push str.Registered_in_Run_already___will_not_launch:
lea ecx, [ebp - 0x14]
call fcn.00402060
mov byte [ebp - 4], 4
jmp 0x428dd8
mov eax, dword [esi]
push 5
push edi
push edi
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
mov eax, str.Unable_to_launch:
jl 0x428dcb
mov eax, str.Launched:
push eax
lea ecx, [ebp - 0x14]
call fcn.00402060
mov byte [ebp - 4], 5
push edi
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.00411b31
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
call fcn.00448143
ret
Function at 0x42a98b
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x498d50]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push esi
push edi
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x74], ax
xor edi, edi
lea eax, [ebp - 0x72]
push edi
push eax
call fcn.004462a0
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push edi
push eax
call fcn.004462a0
add esp, 0x18
mov eax, 0x105
push eax
lea ecx, [ebp + 0x198]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
push 0x486950
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov esi, 0x104
test eax, eax
je 0x42aa24
push 0xa
push esi
push ebx
push dword [ebp - 0x78]
call fcn.00446adb
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x42aa3e
push str.thsnYaViMRAeBoda
mov eax, esi
mov ecx, ebx
call fcn.004126db
mov ecx, dword [ebp + 0x3a4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044546a
add ebp, 0x3a8
leave
ret
Function at 0x5017e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x501805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x501878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x50183a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x50186d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x50186b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x501831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x5017fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x4058d5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x4058e4
pop dword [ebp - 0x20]
mov eax, 0xa420ec88
add eax, 0x5c1f6c5c
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x2485937
sub dword [ebp - 0x30], 0xb3f613ec
mov dword [ebp - 0x2c], 0x6d6aa6d7
sub dword [ebp - 0x2c], 0x3b375a92
mov dword [ebp - 0x28], 0xaa88630a
add dword [ebp - 0x28], 0xa1c3e124
mov dword [ebp - 0x24], 0x8c09cffb
sub dword [ebp - 0x24], 0x8c09cffb
lea eax, [ebp - 0x30]
push eax
mov eax, 0x9bfa920
add eax, 0xf680d7e4
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x464dfc8d
add dword [ebp - 0x30], 0x2e246cc9
mov dword [ebp - 0x2c], 0x611546fc
sub dword [ebp - 0x2c], 0x1fa8e587
mov dword [ebp - 0x28], 0x44c9aaf6
sub dword [ebp - 0x28], 0xe15a3e8a
mov dword [ebp - 0x24], 0xbce721a1
sub dword [ebp - 0x24], 0xbce721a1
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xeac595f4
sub eax, 0xea8514f4
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x38f9c
push 0
call eax
mov ecx, 0x7a9512f7
add ecx, 0x856b3d13
xor edi, edi
add edi, eax
mov ebx, 0xd28c7578
sub ebx, 0xd2473378
add ebx, dword [ebp - 0x20]
mov esi, 0xaa46aaa3
sub dword [ebp - 4], edx
mov edx, dword [ebx]
xor dword [ebp - 8], 0x7b051a15
sub edx, esi
add dword [ebp - 0xc], edx
mov dword [edi], edx
add dword [ebp - 0x18], edx
add edi, 0xddcd185b
add edi, 0x2232e7a9
add ebx, 4
loop 0x405a02
add eax, 0x62053c69
sub eax, 0x6204096e
mov ebx, eax
add eax, 5
mov ecx, 0x478ddf0e
sub ecx, 0x474ddf0e
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x405ba0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42fa50
push esi
call fcn.004060e4
push esi
call fcn.00405b43
mov edi, eax
test edi, edi
jne 0x405bc1
xor eax, eax
jmp 0x405c19
push edi
call fcn.00406378
test byte [0x434ef8], 0x80
je 0x405bde
mov ax, word [edi]
test ax, ax
je 0x405bbd
cmp ax, 0x5c
je 0x405bbd
sub edi, esi
sar edi, 1
jmp 0x405bf8
call fcn.00406427
test eax, eax
je 0x405bf2
test byte [eax], 0x10
je 0x405bbd
push esi
call fcn.00405ae4
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405be4
call fcn.00405a98
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405c94
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405cb3
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405cb9
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x45cf70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x32000]
push edi
or ebp, 0xffffffff
jmp 0x45cf92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45cf99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45cf88
mov eax, 1
add ebx, ebx
jne 0x45cfab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45cfa0
jne 0x45cfbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45cfa0
xor ecx, ecx
sub eax, 3
jb 0x45cfd0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45d042
mov ebp, eax
add ebx, ebx
jne 0x45cfdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45cfe8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45d00c
inc ecx
add ebx, ebx
jne 0x45cff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45cfed
jne 0x45d009
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45cfed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45d02c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45d01d
jmp 0x45cf8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45d02c
add edi, ecx
jmp 0x45cf8e
pop esi
mov edi, esi
mov ecx, 0x57
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45d04a
cmp byte [edi], 0x1d
jne 0x45d04a
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 0x45d04f
lea edi, [esi + 0x5a000]
mov eax, dword [edi]
or eax, eax
je 0x45d0be
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5d25c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5d2d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45d07c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5d2d8]
or eax, eax
je 0x45d0b8
mov dword [ebx], eax
add ebx, 4
jmp 0x45d099
call dword [esi + 0x5d2d4]
mov ebp, dword [esi + 0x5d2dc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x45d0f2
sub esp, 0xffffff80
jmp 0x42c0f0
Function at 0x2981e2c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x2981e2d3
pop dword [ebp - 0x28]
mov eax, 0x29abd961
sub eax, 0x29f68e
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xceb1b491
add dword [ebp - 0x38], 0x7fa090ba
mov dword [ebp - 0x34], 0xd92e180b
add dword [ebp - 0x34], 0x5905343a
mov dword [ebp - 0x30], 0xad467e86
sub dword [ebp - 0x30], 0x60fa3a58
mov dword [ebp - 0x2c], 0xa2aa065f
sub dword [ebp - 0x2c], 0xa2aa065f
lea eax, [ebp - 0x38]
push eax
mov eax, 0xab8a5716
add eax, 0x7dfb19aa
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x64c0bb68
add dword [ebp - 0x38], 0xfb1adee
mov dword [ebp - 0x34], 0x74b3c785
add dword [ebp - 0x34], 0xccb899f0
mov dword [ebp - 0x30], 0xf5498abd
sub dword [ebp - 0x30], 0x91da1e51
mov dword [ebp - 0x2c], 0x8854170c
add dword [ebp - 0x2c], 0x77abe8f4
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x4b151
push 0
call eax
mov ecx, 0x91c68550
add ecx, 0x6e39cf20
mov esi, eax
mov edx, 0x29896400
add edx, dword [ebp - 0x28]
mov ebx, 0x97818d4a
sub ebx, 0xa6991869
mov dword [ebp - 4], 0x4efe0c06
mov edi, dword [edx]
sub dword [ebp - 4], 0x90e035ff
xor edi, ebx
add dword [ebp - 4], 0x53f44910
mov dword [esi], edi
add dword [ebp - 0x20], 0xd1eb8d6e
add esi, 0x54e31700
add esi, 0xab1ce904
add edx, 4
loop 0x2981e3ea
add eax, 0x14493
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x29800000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x29356b75
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x66e6090d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x81a030]
jne 0x401116
repz ret
jmp fcn.00401c81

Function at 0x40848e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406852
and dword [ebp - 4], 0
cmp dword [0x81c814], 0
mov ebx, eax
jne 0x40853f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4085f0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4085f0
push eax
call fcn.004067e0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x81c814], eax
call esi
push eax
call fcn.004067e0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x81c818], eax
call esi
push eax
call fcn.004067e0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x81c81c], eax
call esi
push eax
call fcn.004067e0
pop ecx
mov dword [0x81c824], eax
test eax, eax
je 0x40853f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004067e0
pop ecx
mov dword [0x81c820], eax
mov eax, dword [0x81c820]
cmp eax, ebx
je 0x408597
cmp dword [0x81c824], ebx
je 0x408597
push eax
call fcn.0040685b
push dword [0x81c824]
mov esi, eax
call fcn.0040685b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408597
test edi, edi
je 0x408597
call esi
test eax, eax
je 0x40858e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40858e
test byte [ebp - 0xc], 1
jne 0x408597
or dword [ebp + 0x10], 0x200000
jmp 0x4085d0
mov eax, dword [0x81c818]
cmp eax, ebx
je 0x4085d0
push eax
call fcn.0040685b
pop ecx
test eax, eax
je 0x4085d0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4085d0
mov eax, dword [0x81c81c]
cmp eax, ebx
je 0x4085d0
push eax
call fcn.0040685b
pop ecx
test eax, eax
je 0x4085d0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x81c814]
call fcn.0040685b
pop ecx
test eax, eax
je 0x4085f0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4085f2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40cc50
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x81a030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2ffa114]
push ebx
mov ebx, dword [0x2ff9f60]
push esi
mov esi, dword [0x81b050]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40cc91
push str.vudofijozeresudebomoke
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2ffa114]
mov dword [0x81c9ec], esi
cmp eax, 0x114e
jne 0x40ccbb
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
lea eax, [esp + 0x14]
push eax
push str.yubodumejuwal
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov eax, dword [0x2ffa114]
cmp eax, 0x2f
jne 0x40ccdd
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
call fcn.0040cba0
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x1001cfc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1001cfcf
pop dword [ebp - 0xc]
mov eax, 0xaf0edf71
add eax, 0x60f2f05e
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x70f0bfec
add dword [ebp - 0x1c], 0xdd61855f
mov dword [ebp - 0x18], 0xee890bb6
sub dword [ebp - 0x18], 0xbc55bf71
mov dword [ebp - 0x14], 0xdc15c163
add dword [ebp - 0x14], 0x703682cb
mov dword [ebp - 0x10], 0x5a1784b6
sub dword [ebp - 0x10], 0x5a1784b6
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x7333104f
add eax, 0x9cd10fe5
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x33f2f921
sub dword [ebp - 0x1c], 0xbf808fcb
mov dword [ebp - 0x18], 0x5d2bdba2
add dword [ebp - 0x18], 0xe44085d3
mov dword [ebp - 0x14], 0x7c748eb7
sub dword [ebp - 0x14], 0x1905224b
mov dword [ebp - 0x10], 0x68ae011c
sub dword [ebp - 0x10], 0x68ae011c
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xedeb5f43
sub eax, 0xdde73ef7
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x44467
push 0
call eax
mov ecx, 0xaa80ef61
sub ecx, 0xaa80b580
xor edx, edx
add edx, eax
mov ebx, 0x52da612f
add ebx, 0xbd2b1cd1
add ebx, dword [ebp - 0xc]
mov edi, 0x29db931a
mov esi, dword [ebx]
xor dword [ebp - 4], ecx
sub esi, edi
add dword [ebp - 8], edi
mov dword [edx], esi
sub dword [ebp - 4], ecx
add edx, 0xc306ec6e
add edx, 0x3cf91396
add ebx, 0x673efceb
add ebx, 0x98c10319
loop 0x1001d0ed
add eax, 0x3afebf4c
sub eax, 0x3afde4f5
xor ebx, ebx
add ebx, eax
add eax, 0x80fddeaa
add eax, 0x7f02215b
mov ecx, 0x413ebed
sub ecx, 0xf413ebed
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x100346a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100512d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x100346d0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10034700
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x10034700
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x100347fa
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10034729
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1003475d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x100347fa
cmp eax, 1
jle 0x100347bb
cmp eax, 3
jne 0x100347fa
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.1001cfc0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100347d9
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100347fa
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x100347fa
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
Function at 0x100396b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100412f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100512d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1005128c]
cmp eax, 0xffffffff
jne 0x100396e6
xor ebx, ebx
jmp 0x100396ef
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1003972f
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003976e
test esi, esi
jne 0x10039772
push 0x10038230
push 0x10052ad8
call fcn.1001cfc0
mov eax, dword [0x1005128c]
add esp, 8
cmp eax, 0xffffffff
je 0x1003972f
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003975c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003975c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100397b4
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1003979d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10039772
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10039700
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100397d9
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x100397d9
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.1001cfc0
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x100397c0
jmp 0x10039700