joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434940
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45ad86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
push ebx
xor ebx, ebx
push ebx
lea eax, [esp + 0x224]
push str.IsNetwaitingRunning_entry__n
push eax
call fcn.0043a4a0
add esp, 0xc
mov ecx, 0x475b68
call fcn.0042f5e0
lea ecx, [esp + 0x220]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
push str.NETWAITING.EXE
lea ecx, [esp + 0x18]
call fcn.0044a442
mov edx, dword [0x471df4]
mov dword [esp + 0x42c], ebx
mov dword [esp + 4], edx
lea eax, [esp + 0x10]
mov byte [esp + 0x42c], 1
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x434a92
push ebp
push esi
lea ecx, [esp + 0x10]
push edi
lea edx, [esp + 0x28]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push ebx
lea edx, [esp + 0x33c]
push ecx
push edx
mov ebp, 0x104
push ebx
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov esi, 1
call edi
test eax, eax
jne 0x434a84
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.0044a511
lea ecx, [esp + 0x10]
call fcn.0044a88a
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call fcn.00449464
cmp eax, 0xffffffff
jne 0x434a7f
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x28]
push edx
push ecx
lea edx, [esp + 0x24]
push 0
lea ecx, [esp + 0x33c]
mov eax, esi
push edx
mov edx, dword [esp + 0x30]
push ecx
push eax
push edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
inc esi
call edi
test eax, eax
je 0x434a1e
jmp 0x434a84
mov ebx, 1
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
push ebx
lea ecx, [esp + 0x124]
push str.IsNetwaitingRunning_exit_:_bRetVal___d_n
push ecx
call fcn.0043a4a0
add esp, 0xc
lea edx, [esp + 0x120]
mov ecx, 0x475b68
push edx
call fcn.0042f820
mov ecx, 0x475b68
call fcn.0042f5f0
lea ecx, [esp + 4]
mov byte [esp + 0x42c], 0
call fcn.0044a3d4
lea ecx, [esp + 0x14]
mov dword [esp + 0x42c], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x424]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x42c
ret
Function at 0x4350b0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x45ae18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x41c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x434], 1
xor edi, edi
call fcn.0044a8d2
mov eax, dword [esp + 0x43c]
mov edx, dword [esp + 0x440]
push eax
lea ecx, [esp + 0x48]
push 0x3e8
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x24], ecx
jle 0x4352b4
mov eax, dword [0x471df4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov bl, 6
mov byte [esp + ecx + 0x44], 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x434], bl
call fcn.0044a35f
mov ebp, dword [esp + 0x444]
xor esi, esi
mov dword [esp + 0x20], esi
mov al, byte [esp + esi + 0x44]
test al, al
je 0x435167
push eax
lea ecx, [esp + 0x14]
call fcn.0044a78b
jmp 0x43524c
push 0x46bec8
lea ecx, [esp + 0x14]
call fcn.00449464
mov esi, eax
cmp esi, 0xffffffff
je 0x43523f
lea eax, [esp + 0x28]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.004493ca
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x438], 7
call fcn.0044a4c1
lea ecx, [esp + 0x28]
mov byte [esp + 0x434], bl
call fcn.0044a3d4
lea ecx, [esp + 0x14]
call fcn.00449849
lea ecx, [esp + 0x14]
call fcn.004497fd
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044a4c1
inc esi
lea ecx, [esp + 0x10]
push esi
push 0
call fcn.004490eb
lea ecx, [esp + 0x10]
call fcn.00449849
lea ecx, [esp + 0x10]
call fcn.004497fd
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
call fcn.0044a4c1
sub esp, 8
lea eax, [esp + 0x20]
mov esi, esp
mov dword [esp + 0x38], esp
push eax
mov ecx, esi
mov dword [esp + 0x3c], esi
call fcn.0044a149
lea ecx, [esp + 0x24]
mov byte [esp + 0x43c], 8
push ecx
lea ecx, [esi + 4]
call fcn.0044a149
mov ecx, ebp
mov byte [esp + 0x43c], bl
call fcn.00435ad0
mov edi, 1
lea ecx, [esp + 0x10]
call fcn.0044a35f
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edx, esi
inc esi
cmp edx, eax
mov dword [esp + 0x20], esi
jl 0x435150
lea ecx, [esp + 0x1c]
mov byte [esp + 0x434], 9
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x434], 5
call fcn.0044a3d4
lea ecx, [esp + 0x14]
mov byte [esp + 0x434], 4
call fcn.0044a3d4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x434], 3
call fcn.0044a3d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x434], 2
call fcn.0044a3d4
lea ecx, [esp + 0x34]
mov byte [esp + 0x434], 1
call fcn.0044a927
lea ecx, [esp + 0x43c]
mov byte [esp + 0x434], 0
call fcn.0044a3d4
lea ecx, [esp + 0x440]
mov dword [esp + 0x434], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x42c]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x428
ret
Function at 0x4357d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x45af58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x364
mov eax, dword [0x471df4]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x378], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x26c]
push 0x104
push eax
push edi
mov byte [esp + 0x384], 2
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x274]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov ecx, dword [esp + 0x24]
push 0x46ae0c
mov byte [ecx], 0
lea ecx, [esp + 0x14]
call fcn.0044a442
mov esi, eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x37c], 3
call fcn.0044a442
push esi
push eax
lea eax, [esp + 0x28]
mov bl, 4
push eax
mov byte [esp + 0x384], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x37c], 5
call fcn.0044a4c1
lea ecx, [esp + 0x20]
mov byte [esp + 0x378], bl
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x378], 3
call fcn.0044a3d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x378], 2
call fcn.0044a3d4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x12c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x435998
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, 1
mov bl, 6
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x20]
push eax
call fcn.0044a442
lea ecx, [esp + 0x15c]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x388], bl
call fcn.0044a61d
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x380], 7
call fcn.0044a4c1
lea ecx, [esp + 0x14]
mov byte [esp + 0x37c], bl
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x37c], 2
call fcn.0044a3d4
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.004359f0
add esp, 8
test eax, eax
je 0x43597a
mov edx, dword [esp + 0x18]
push str.MEDIA
push edx
call fcn.0043a540
add esp, 8
test eax, eax
jne 0x43598e
lea eax, [esp + 0x130]
push eax
push esi
call ebp
test eax, eax
je 0x435990
jmp 0x4358f3
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x378], 1
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x378], 0
call fcn.0044a3d4
lea ecx, [esp + 0xc]
mov dword [esp + 0x378], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x370]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x370
ret
Function at 0x436400
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x45aff3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x24]
push ebx
push esi
push edi
mov esi, ecx
push eax
push 0x8e
mov dword [esp + 0x14], esi
call fcn.0044bbfb
lea edi, [esi + 0x5c]
push 0x40a5a0
push 0x432f40
push 0x64
lea ecx, [edi + 4]
push 8
push ecx
mov dword [esp + 0x2c], 0
call fcn.0043b1c0
mov edx, dword [esp + 0x2c]
mov dword [esi], method.CDialog.virtual_0
mov byte [esp + 0x18], 1
mov dword [edx], 1
call fcn.0045247b
call fcn.0045247b
mov eax, dword [eax + 0xc]
push 0x8c
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x380], eax
mov eax, dword [esp + 0x28]
mov dword [edi], 0
mov dword [esi + 0x390], 0
mov dword [esi + 0x384], ecx
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x394]
mov dword [ebx], edx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x398], edx
mov edx, dword [ebx]
test edx, 0x20000000
je 0x436502
push str.CXT1034___HCF_PCI_Modem
lea ecx, [esi + 0x60]
mov dword [edi], 1
call fcn.0044a511
mov eax, dword [esi + 0x384]
test eax, eax
je 0x4364f2
cmp eax, 2
je 0x4364f2
mov dword [esi + 0x64], 9
mov dword [esi + 0x6c], 4
jmp 0x43656e
mov dword [esi + 0x64], 8
mov dword [esi + 0x6c], 4
jmp 0x43656e
test ecx, ecx
jne 0x43651b
mov ecx, dword [esp + 0x20]
push ebx
push edi
push 0
mov dword [esi + 0x388], ecx
call fcn.00409b30
jmp 0x43656e
cmp ecx, 1
jne 0x436535
mov ecx, dword [esp + 0x20]
push ebx
push edi
push 1
mov dword [esi + 0x388], ecx
call fcn.00409b30
jmp 0x43656e
cmp ecx, 2
jne 0x436556
mov ecx, dword [esp + 0x20]
push eax
mov dword [esi + 0x38c], ecx
call fcn.00429670
mov ecx, dword [esi + 0x38c]
push ebx
push edi
push 2
jmp 0x436569
cmp ecx, 3
jne 0x43656e
mov ecx, dword [esp + 0x20]
push ebx
push edi
mov dword [esi + 0x38c], ecx
push 3
call fcn.0042a430
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x4365b0
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x45b013
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x20]
push esi
push edi
mov esi, ecx
push eax
push 0x8e
mov dword [esp + 0x10], esi
call fcn.0044bbfb
lea edi, [esi + 0x5c]
push 0x40a5a0
push 0x432f40
push 0x64
lea ecx, [edi + 4]
push 8
push ecx
mov dword [esp + 0x28], 0
call fcn.0043b1c0
mov byte [esp + 0x14], 1
mov dword [esi], method.CDialog.virtual_0
call fcn.0045247b
call fcn.0045247b
mov eax, dword [eax + 0xc]
push 0x8c
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
mov dword [esi + 0x380], eax
mov dword [edi], 0
mov dword [esi + 0x390], 0
mov dword [esi + 0x384], 1
mov dword [esi + 0x394], 0
mov dword [esi + 0x398], edx
mov dword [esi + 0x388], ecx
call fcn.00411dc0
test eax, eax
je 0x436677
mov eax, dword [esp + 0x24]
mov dword [eax], 1
jmp 0x436687
mov ecx, dword [esp + 0x24]
mov dword [ecx], 0
mov dword [edi], 0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x437d60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45b42e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
mov eax, dword [0x471df4]
push esi
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi + 4], eax
mov ecx, dword [0x471df4]
mov dword [esp + 0x1b4], 0
mov dword [esi + 8], ecx
mov edx, dword [0x471df4]
mov dword [esi + 0xc], edx
mov eax, dword [0x471df4]
mov dword [esi + 0x10], eax
mov ecx, dword [0x471df4]
mov dword [esi + 0x14], ecx
mov edx, dword [0x471df4]
mov dword [esi + 0x18], edx
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1b4], 5
call fcn.00413770
lea ecx, [esi + 0x168]
mov byte [esp + 0x1b4], 6
call fcn.00421bb0
lea eax, [esp + 0x14]
mov byte [esp + 0x1b4], 7
push eax
mov dword [esi + 0x170], 0
mov dword [esp + 0x18], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x24], 2
jne 0x437e2e
mov dword [esi], 6
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
add esp, 0x1b4
ret
mov dword [esi], 2
mov ecx, dword [0x471df4]
mov dword [esp + 4], ecx
lea edx, [esp + 8]
mov byte [esp + 0x1b4], 8
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x437f60
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xac]
push eax
push ecx
push 0
push 0
push 0x46a894
push edx
mov dword [esp + 0x28], 0x104
call edi
test eax, eax
jne 0x437ee0
lea eax, [esp + 0xac]
lea ecx, [esp + 8]
push eax
call fcn.0044a511
lea ecx, [esp + 8]
call fcn.0044a88a
push str.MILLENNIUM
lea ecx, [esp + 0xc]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x437eda
push 0x46c020
lea ecx, [esp + 0xc]
call fcn.00449464
cmp eax, 0xffffffff
je 0x437ee0
mov dword [esi], 4
cmp dword [esi], 2
jne 0x437f54
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xac]
push ecx
push edx
push 0
push 0
push str.ProductName
push eax
mov dword [esp + 0x28], 0x104
call edi
test eax, eax
jne 0x437f54
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0xc]
call fcn.0044a511
lea ecx, [esp + 8]
call fcn.0044a88a
push str.MILLENNIUM
lea ecx, [esp + 0xc]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x437f4e
push 0x46c020
lea ecx, [esp + 0xc]
call fcn.00449464
cmp eax, 0xffffffff
je 0x437f54
mov dword [esi], 4
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
lea ecx, [esp + 4]
mov byte [esp + 0x1b4], 7
call fcn.0044a3d4
mov ecx, dword [esp + 0x1ac]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1b4
ret

Function at 0x43b050
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x43b06c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43b06e
xor eax, eax
test eax, eax
je 0x43b07f
push eax
call fcn.0043d020
add esp, 4
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x43b860
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45dbc0
push 0x4408cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x477f80], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x477f7c], ecx
shl ecx, 8
add ecx, edx
mov dword [0x477f78], ecx
shr eax, 0x10
mov dword [0x477f74], eax
call fcn.00441c00
test eax, eax
jne 0x43b8ca
push 0x1c
call fcn.0043ba40
add esp, 4
call fcn.0043f2f0
test eax, eax
jne 0x43b8dd
push 0x10
call fcn.0043ba40
add esp, 4
mov dword [ebp - 4], 0
call fcn.004415f0
call fcn.0043e880
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x478658], eax
call fcn.00442c30
mov dword [0x477f5c], eax
test eax, eax
je 0x43b910
mov eax, dword [0x478658]
test eax, eax
jne 0x43b91a
push 0xffffffffffffffff
call fcn.0043dac0
add esp, 4
call fcn.00442980
call fcn.00442890
call fcn.0043da90
mov esi, dword [0x478658]
mov dword [ebp - 0x64], esi
cmp byte [esi], 0x22
jne 0x43b9f9
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
cmp al, 0x22
je 0x43b961
test al, al
je 0x43b961
and eax, 0xff
push eax
call fcn.00442830
add esp, 4
test eax, eax
je 0x43b93b
inc esi
mov dword [ebp - 0x64], esi
jmp 0x43b93b
cmp byte [esi], 0x22
jne 0x43b96a
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
test al, al
je 0x43b97a
cmp al, 0x20
ja 0x43b97a
inc esi
mov dword [ebp - 0x64], esi
jmp 0x43b96a
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x43b99b
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x43b9a0
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.0043dac0
jmp 0x43b9de
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x43b96a
inc esi
mov dword [ebp - 0x64], esi
jmp 0x43b9f9

Function at 0x43ba40
Capabilities:
Terminate process

Disassembly:
cmp dword [0x477f64], 1
jne 0x43ba4e
call fcn.0051c000
mov eax, dword [esp + 4]
push eax
call fcn.00442dd0
add esp, 4
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x43c800
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 0x74
push 1
xor edi, edi
call fcn.00441800
mov esi, eax
add esp, 8
test esi, esi
je 0x43c860
push esi
call fcn.0043f350
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x10]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x14]
push eax
push esi
push 0x43c880
push ecx
push edx
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x43c878
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call fcn.0043b470
add esp, 4
test edi, edi
je 0x43c876
push edi
call fcn.0043d020
add esp, 4
xor eax, eax
pop edi
pop esi
ret

Function at 0x43db00
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.0043dbc0
mov eax, dword [0x477fb0]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x43db24
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x477fac], 1
mov byte [0x477fa8], bl
jne 0x43db7e
mov ecx, dword [0x478654]
test ecx, ecx
je 0x43db6c
mov esi, dword [0x478650]
sub esi, 4
cmp esi, ecx
jb 0x43db6c
mov eax, dword [esi]
test eax, eax
je 0x43db65
call eax
mov ecx, dword [0x478654]
sub esi, 4
cmp esi, ecx
jae 0x43db57
push 0x46a0b0
push 0x46a0a8
call fcn.0043dbe0
add esp, 8
push 0x46a0bc
push 0x46a0b4
call fcn.0043dbe0
add esp, 8
test ebx, ebx
je 0x43db9d
call fcn.0043dbd0
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x477fb0], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x43f2f0
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.004401b0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x472980], eax
je 0x43f348
push 0x74
push 1
call fcn.00441800
mov esi, eax
add esp, 8
test esi, esi
je 0x43f348
mov eax, dword [0x472980]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x43f348
push esi
call fcn.0043f350
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x43f370
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x472980]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x43f3de
push 0x74
push 1
call fcn.00441800
mov esi, eax
add esp, 8
test esi, esi
je 0x43f3d4
mov ecx, dword [0x472980]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x43f3d4
push esi
call fcn.0043f350
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret
push 0x10
call fcn.0043ba10
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret

Function at 0x43f3f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x472980]
cmp eax, 0xffffffff
je 0x43f49f
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x43f414
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x43f490
mov eax, dword [esi + 0x24]
test eax, eax
je 0x43f424
push eax
call fcn.0043b470
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x43f434
push eax
call fcn.0043b470
add esp, 4
mov eax, dword [esi + 0x30]
test eax, eax
je 0x43f444
push eax
call fcn.0043b470
add esp, 4
mov eax, dword [esi + 0x38]
test eax, eax
je 0x43f454
push eax
call fcn.0043b470
add esp, 4
mov eax, dword [esi + 0x40]
test eax, eax
je 0x43f464
push eax
call fcn.0043b470
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x43f474
push eax
call fcn.0043b470
add esp, 4
mov eax, dword [esi + 0x50]
cmp eax, 0x474e30
je 0x43f487
push eax
call fcn.0043b470
add esp, 4
push esi
call fcn.0043b470
add esp, 4
mov eax, dword [0x472980]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
ret
Function at 0x442c30
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x4783c0]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x442c72
call edi
mov esi, eax
test esi, esi
je 0x442c5c
mov eax, 1
jmp 0x442c6d
call ebp
mov ebx, eax
test ebx, ebx
je 0x442d7f
mov eax, 2
mov dword [0x4783c0], eax
cmp eax, 1
jne 0x442d12
test esi, esi
jne 0x442c8b
call edi
mov esi, eax
test esi, esi
je 0x442d7f
cmp word [esi], 0
mov eax, esi
je 0x442ca5
add eax, 2
cmp word [eax], 0
jne 0x442c93
add eax, 2
cmp word [eax], 0
jne 0x442c93
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x442d04
push edi
call fcn.0043b4e0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x442d04
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x442cf6
push ebx
call fcn.0043b470
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x442d7f
test ebx, ebx
jne 0x442d23
call ebp
mov ebx, eax
test ebx, ebx
je 0x442d7f
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x442d3b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442d2b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x442d2b
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.0043b4e0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x442d5d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret