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

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
push edi
xor edi, edi
mov dword [esi + 0x6af80], 2
lea ebp, [ebx + 1]
cmp dword [esi + 0x6af90], ebx
je 0x40ee72
cmp dword [esi + 0x6af90], 3
jb 0x40ecd9
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebx, ebx
je 0x40ed19
mov edx, dword [esi + 0x6af84]
sub edx, ebx
cmp edx, 0x7efa
ja 0x40ed19
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x40ed01
mov dword [esi + 0x6afa0], eax
push ebx
push esi
call fcn.0040c5c0
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x40ed19
mov edi, eax
cmp edi, 3
jb 0x40edf0
mov ecx, dword [esi + 0x6af84]
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
push eax
push ecx
push esi
call fcn.0040c030
sub dword [esi + 0x6af90], edi
mov ecx, dword [esi + 0x6af90]
add esp, 0xc
cmp edi, dword [esi + 0x6af98]
ja 0x40edb8
cmp ecx, 3
jb 0x40edb8
sub edi, ebp
jmp 0x40ed60
add dword [esi + 0x6af84], ebp
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov ebx, dword [esi + 0x6af7c]
shl ebx, 5
xor ecx, ebx
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ebx, dword [esi + ecx*4 + 0x4af70]
and edx, 0x7fff
sub edi, ebp
mov dword [esi + edx*4 + 0x2af70], ebx
mov edx, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + edx*4 + 0x4af70], ecx
jne 0x40ed60
jmp 0x40ee10
add dword [esi + 0x6af84], edi
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
add edx, esi
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + 0x1af71]
shl ecx, 5
xor edx, ecx
xor edi, edi
and edx, 0x7fff
mov dword [esi + 0x6af7c], edx
jmp 0x40ee16
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
push ecx
push 0
push esi
call fcn.0040c030
add esp, 0xc
dec dword [esi + 0x6af90]
add dword [esi + 0x6af84], ebp
test eax, eax
je 0x40ee50
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x40ee2d
lea ecx, [eax + esi + 0x1af70]
jmp 0x40ee2f
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.0040eaa0
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x40ee65
push esi
call fcn.0040c760
add esp, 4
cmp dword [esi + 0x6af90], 0
jne 0x40ec85
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x40ee85
lea ecx, [eax + esi + 0x1af70]
jmp 0x40ee87
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push ebp
sub edx, eax
push edx
push ecx
push esi
call fcn.0040eaa0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40fc80
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x414104
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x41c404]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x40c]
push 0x3ff
lea eax, [ebp + 1]
push 0
push eax
mov esi, ecx
mov dword [ebp - 4], 0
mov byte [ebp], 0
call sub.MSVCR90.dll_memset
mov edx, dword [esi + 4]
add esp, 0xc
push 0
push 0x400
lea ecx, [ebp]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x40fda8
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_310]
push edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc90.dll_Ordinal_310]
push 3
lea ecx, [ebp - 0x1c]
push ecx
mov bl, 2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90.dll_Ordinal_4392]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 3
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_4392]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_1607]
lea ecx, [ebp - 0x18]
test eax, eax
jne 0x40fd99
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov al, 1
jmp 0x40fdaa
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00411bf6
add ebp, 0x404
mov esp, ebp
pop ebp
ret 4
Function at 0x410130
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x410166
mov ecx, dword [esi + 4]
push 2
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
pop esi
ret
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x410197
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x411bf6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41c404]
jne 0x411c00
repz ret
jmp fcn.00412197

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

Disassembly:
sub esp, 0x138
push ebx
push esi
mov esi, dword [fcn.01001280]
push edi
mov edi, dword [esp + 0x14c]
push 0x3f5
push edi
call esi
push 0x3f6
push edi
mov dword [esp + 0x28], eax
call esi
push 0x3f7
push edi
mov dword [esp + 0x2c], eax
call esi
push 0x3f8
push edi
mov dword [esp + 0x1c], eax
call esi
mov edi, dword [esp + 0x148]
mov ecx, dword [edi + 8]
xor ebx, ebx
cmp dword [ecx], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
jne 0x1004d67
xor eax, eax
jmp 0x1004ef5
push ebp
mov ebp, dword [fcn.01001160]
push ebx
push ebx
push 0x14b
push eax
call ebp
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x5c]
mov esi, dword [0x100118c]
push ebx
push dword [esp + 0x28]
mov dword [esp + 0x28], eax
call esi
push ebx
push dword [esp + 0x2c]
call esi
push ebx
push dword [esp + 0x1c]
call esi
cmp dword [esp + 0x20], 0
jbe 0x1004ec5
push 0
lea eax, [esp + 0x34]
push eax
mov eax, dword [edi + 8]
mov dword [esp + 0x38], 0x118
mov dword [esp + 0x3c], ebx
push dword [eax + 4]
call dword [0x10012e8]
test eax, eax
jne 0x1004eba
cmp dword [esp + 0x48], 4
jne 0x1004e19
cmp dword [esp + 0x1c], eax
jne 0x1004e60
push 1
push dword [esp + 0x28]
call esi
cmp ebx, dword [edi + 0xc]
jne 0x1004e06
mov eax, 0x3f5
push eax
push 0x3f7
push eax
push dword [esp + 0x15c]
call dword [0x1001248]
mov eax, dword [edi + 8]
mov dword [eax + 8], ebx
mov dword [esp + 0x1c], 1
jmp 0x1004eba
cmp dword [esp + 0x48], 7
jne 0x1004e60
cmp dword [esp + 0x14], 0
jne 0x1004e60
push 1
push dword [esp + 0x2c]
call esi
cmp ebx, dword [edi + 0xc]
jne 0x1004e50
push 0x3f6
push 0x3f7
push 0x3f5
push dword [esp + 0x15c]
call dword [0x1001248]
mov eax, dword [edi + 8]
mov dword [eax + 0xc], ebx
mov dword [esp + 0x14], 1
jmp 0x1004eba
push 1
push dword [esp + 0x1c]
call esi
lea eax, [esp + 0x78]
push eax
push 0
push 0x143
push dword [esp + 0x1c]
call ebp
push ebx
push eax
push 0x151
push dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
call ebp
cmp ebx, dword [edi + 0xc]
jne 0x1004eba
mov eax, 0x3f7
push eax
push eax
push 0x3f5
push dword [esp + 0x15c]
call dword [0x1001248]
push 0
push dword [esp + 0x30]
push 0x14e
push dword [esp + 0x1c]
call ebp
inc ebx
cmp ebx, dword [esp + 0x20]
jb 0x1004da8
push 0x3f7
push dword [esp + 0x154]
call dword [0x1001244]
test eax, eax
jne 0x1004ef1
xor edi, edi
push edi
push edi
push 0x14e
push dword [esp + 0x1c]
call ebp
push edi
push dword [esp + 0x14]
call esi
xor eax, eax
inc eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x138
ret 8
Function at 0x413330
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a65e6
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x11c], ecx
push 0x5e6910
mov ecx, dword [ebp - 0x11c]
add ecx, 0x30
call fcn.004a9a72
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 0x780], eax
push 0x5e6924
mov ecx, dword [ebp - 0x11c]
add ecx, 0x30
call fcn.004a9a72
mov edx, dword [ebp - 0x11c]
mov dword [edx + 0x77c], eax
push str.foreImage
mov ecx, dword [ebp - 0x11c]
add ecx, 0x30
call fcn.004a9a72
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 0x7fc], eax
push 0x5e6948
mov ecx, dword [ebp - 0x11c]
add ecx, 0x30
call fcn.004a9a72
mov edx, dword [ebp - 0x11c]
mov dword [edx + 0x78c], eax
lea ecx, [ebp - 0x94]
call fcn.004b3525
mov dword [ebp - 4], 0
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x78c]
mov eax, dword [ebp - 0x11c]
mov edx, dword [edx]
mov ecx, dword [eax + 0x78c]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x124]
push edx
lea ecx, [ebp - 0x94]
call fcn.004b3686
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.004b3603
mov ecx, dword [ebp - 0x11c]
add ecx, 0x7c0
call fcn.00413640
push eax
lea ecx, [ebp - 0x94]
call fcn.004b37eb
push 0
push 0x32
push 0x3e8
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0
mov edx, dword [ebp - 0x11c]
push edx
push 0x413310
push 0
push 0
call fcn.0057dd1e
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004b3603
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret
Function at 0x4197b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6e53
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], 0
jmp 0x4197fc
mov eax, dword [ebp - 0x90]
add eax, 1
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x90]
cmp edx, dword [ecx + 0x588]
jge 0x419909
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x94]
add ecx, 0x56c
call fcn.0041a180
push eax
lea ecx, [ebp - 0x28]
call fcn.004138a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x90]
add ecx, 1
push ecx
lea edx, [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0x584]
call fcn.00469290
mov ecx, eax
call fcn.00426d50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0041a3e0
movzx ecx, al
test ecx, ecx
jne 0x41989c
lea ecx, [ebp - 0x44]
call fcn.00413640
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41989c
lea ecx, [ebp - 0x44]
call fcn.00413640
push eax
lea ecx, [ebp - 0x28]
call fcn.00413680
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x94]
add ecx, 0x56c
call fcn.0041a180
mov ecx, eax
call fcn.004136a0
push 0x5eb008
mov ecx, dword [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x94]
add ecx, 0x56c
call fcn.0041a180
add eax, 0x18
mov ecx, eax
call fcn.00413680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.00419930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413710
jmp 0x4197ed
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret
Function at 0x41d5e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x41d5f0
xor al, al
jmp 0x41d630
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x41d607
xor al, al
jmp 0x41d630
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x41d615
mov byte [ebp - 2], 1
jmp 0x41d62d
mov edx, dword [ebp - 8]
and edx, 0x10
jne 0x41d623
mov byte [ebp - 1], 0
jmp 0x41d627
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov byte [ebp - 2], al
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret

Function at 0x41d640
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7258
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.0041a3e0
movzx eax, al
test eax, eax
je 0x41d67e
xor al, al
jmp 0x41d762
push 0
mov ecx, dword [ebp + 8]
call fcn.00411740
push eax
call fcn.0041d5e0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x41d69f
mov al, 1
jmp 0x41d762
mov dword [ebp - 0x38], 0xffffffff
mov ecx, dword [ebp + 8]
call fcn.00411740
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x28]
call fcn.0042a5c0
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [0x640038]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0057d756
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41d72e
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x28]
call fcn.0042a370
mov eax, dword [0x640038]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042a370
lea ecx, [ebp - 0x28]
call fcn.00411740
push eax
call fcn.00583a39
add esp, 4
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [0x640038]
push edx
push 0
call fcn.0057d756
add esp, 0xc
mov dword [ebp - 0x30], eax
jmp 0x41d6e0
cmp dword [ebp - 0x38], 0xffffffff
jne 0x41d74c
mov byte [ebp - 0x29], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411780
mov al, byte [ebp - 0x29]
jmp 0x41d762
mov byte [ebp - 0x2a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411780
mov al, byte [ebp - 0x2a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret
Function at 0x428160
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a864b
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x21c], 0
push 0x10
call dword [sym.imp.KERNEL32.DLL_GetUserGeoID]
mov dword [ebp - 0x224], eax
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultLCID]
mov dword [ebp - 0x220], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0057a870
add esp, 0xc
movzx edx, word [ebp - 0x220]
push edx
push 0x104
lea eax, [ebp - 0x218]
push eax
push 4
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetGeoInfoW]
mov dword [ebp - 0x234], eax
push 0
push 2
push str.class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t______thiscall_CConfigure::GetSystemRegion_void_
push 0x3bc
push str........._srcCConfigureCConfigure.cpp
push 0x80
lea ecx, [ebp - 0x26c]
call fcn.00422610
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x22c], edx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
push str._System_Region_info_is_:
mov ecx, dword [0x64003c]
push ecx
push 1
mov edx, dword [ebp - 0x22c]
push edx
call fcn.004226f0
add esp, 0xc
mov ecx, eax
call fcn.0043ac80
mov ecx, eax
call fcn.0043aec0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x26c]
call fcn.00422690
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.00418610
mov ecx, dword [ebp - 0x21c]
or ecx, 1
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret 4
Function at 0x42f810
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a89b8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x42f850
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x42f85c
mov al, 1
jmp 0x42f9ff
mov dword [ebp - 0x48], 8
call fcn.0041b250
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0041b250
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0041b1d0
add esp, 8
movzx eax, al
test eax, eax
je 0x42f89f
xor al, al
jmp 0x42f9ff
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.0042a550
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x28]
call fcn.0042a270
mov ecx, eax
call fcn.00415d20
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00411720
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042a270
mov ecx, eax
call fcn.00415d20
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.00431810
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x42f91a
cmp dword [ebp - 0x38], 1
je 0x42f921
cmp dword [ebp - 0x38], 3
je 0x42f9bb
jmp 0x42f9d3
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0042a270
mov ecx, eax
call fcn.00415d20
mov edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x42f984
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042a270
mov ecx, eax
call fcn.00415d20
push eax
call fcn.00582e51
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x42f984
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411780
mov al, byte [ebp - 0x2d]
jmp 0x42f9ff
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x42f9a7
mov byte [ebp - 0x2e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411780
mov al, byte [ebp - 0x2e]
jmp 0x42f9ff
cmp dword [ebp - 0x34], 0
jne 0x42f9b9
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.0042f4a0
jmp 0x42f9eb
mov byte [ebp - 0x2f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411780
mov al, byte [ebp - 0x2f]
jmp 0x42f9ff
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411780
mov al, byte [ebp - 0x30]
jmp 0x42f9ff
jmp 0x42f8b2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret
Function at 0x449fd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9868
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x63f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x449e30
push 0
push 0
call fcn.0057dd1e
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44a08e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x1c], eax
push 0
push 2
push str.int___thiscall_CThread::init_void_
push 0x4c
push str.F:JenkinsWorkSpaceworkspaceCommon_DownloaderBranchesInstallWithoutUninstall_srcCThread.h
push 0x80
lea ecx, [ebp - 0x58]
call fcn.00422610
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1c]
push edx
push str.__creat_thread_error_code_
mov eax, dword [0x640078]
push eax
push 1
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004226f0
add esp, 0xc
mov ecx, eax
call fcn.0043ac80
mov ecx, eax
call fcn.0043ad10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00422690
xor eax, eax
jmp 0x44a09c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x44ae90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a99e6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x63f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.0042a5c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0042a5c0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
push str.0.0B_S
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.0042a3d0
mov edx, dword [ebp - 0x10]
xorps xmm0, xmm0
movsd qword [edx + 0x28], xmm0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
push str.0.0B_S
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0042a3d0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret