joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a4a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push edi
mov edi, dword [0x49ad48]
call fcn.00401900
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, esi
call fcn.0043ad40
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00405620
test al, al
jne 0x42a50c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.00401810
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, edi
push esi
push dword [ebp - 0x24]
call fcn.004298d0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x20]
call fcn.00401850
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00450164
mov esp, ebp
pop ebp
ret 4

Function at 0x42bb20
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, edx
mov byte [ebp - 1], 1
mov esi, ecx
mov dword [ebp - 0xc], ebx
push edi
cmp esi, ebx
je 0x42bbd9
nop dword [eax]
movzx eax, byte [esi]
push eax
call fcn.0045cad8
add esp, 4
test eax, eax
je 0x42bb5e
inc esi
mov byte [ebp - 1], 0
cmp esi, ebx
jne 0x42bb40
jmp 0x42bbd9
cmp esi, ebx
je 0x42bbd9
mov al, byte [esi]
cmp al, 0x2d
jne 0x42bbd4
mov edi, dword [ebp + 8]
lea eax, [esi + 1]
mov dword [ebp - 8], eax
mov dword [edi], 0
cmp eax, ebx
je 0x42bbc8
mov esi, eax
xor eax, eax
nop
mov dl, byte [esi]
lea ecx, [edx - 0x30]
cmp cl, 9
ja 0x42bbc8
sub dl, 0x30
cmp esi, dword [ebp - 8]
je 0x42bbaa
cmp eax, 0xf3333334
jl 0x42bbc2
jne 0x42bba5
mov eax, 0xf3333334
cmp dl, 8
ja 0x42bbc2
lea eax, [eax + eax*4]
add eax, eax
movzx ecx, dl
inc esi
sub eax, ecx
mov dword [edi], eax
cmp esi, ebx
jne 0x42bb80
pop edi
mov al, 1
and al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], closesocket
pop edi
xor al, al
and al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 0x2b
jne 0x42bbd9
inc esi
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
cmp esi, ebx
je 0x42bc49
mov ecx, esi
xor edi, edi
mov dword [ebp - 8], ecx
nop dword [eax]
mov bl, byte [ecx]
lea eax, [ebx - 0x30]
cmp al, 9
ja 0x42bc49
sub bl, 0x30
cmp ecx, esi
je 0x42bc22
call fcn.004013d0
cdq
mov ecx, 0xa
idiv ecx
cmp edi, eax
jg 0x42bc3f
jne 0x42bc1a
movzx eax, bl
cmp eax, edx
jg 0x42bc3f
mov ecx, dword [ebp - 8]
lea edi, [edi + edi*4]
add edi, edi
movzx eax, bl
inc ecx
add edi, eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [eax], edi
cmp ecx, dword [ebp - 0xc]
jne 0x42bbf0
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004013d0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bcd0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x49ba1c]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
test eax, 0xfffffffe
jne 0x42bde5
push 0
push 1
push 0x49ba1c
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x42bd33
mov eax, dword [0x49ba1c]
cmp eax, 1
jne 0x42bde5
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push 0
call esi
mov eax, dword [0x49ba1c]
cmp eax, 1
je 0x42bd20
jmp 0x42bde5
cmp dword [0x49ad14], 1
jne 0x42bd9c
cmp dword [0x49ad28], 3
jg 0x42bd9c
mov eax, 0x49ba20
mov dword [ebp - 0xc], 0
and eax, 3
mov dword [ebp - 8], eax
je 0x42bd9c
push str.reinterpret_cast_uintptr_t__instance______alignof_Type____1___0u
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
call fcn.00423cb0
add esp, 4
test eax, eax
je 0x42bd9c
push eax
push ecx
push 0x3f
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_baselazy_instance.h
lea ecx, [ebp - 0xc0]
call fcn.00425a60
mov edx, str.:_Bad_boy__the_buffer_passed_to_placement_new_is_not_aligned__nThis_may_break_some_stuff_like_SSE_based_optimizations_assuming_the__Type__objects_are_word_aligned.
lea ecx, [eax + 8]
call fcn.00407b40
lea ecx, [ebp - 0xc0]
call fcn.00425b00
push 0x49ba20
push 0x5c
call fcn.004013c0
add esp, 8
mov esi, eax
push 0x7d0
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea ecx, [esi + 0x18]
call fcn.0042c870
lea ecx, [esi + 0x38]
call fcn.0042c870
mov dword [esi + 0x58], 0x4989d4
mov edx, 0x49ba1c
mov ecx, 0x42c910
mov dword [0x49ba1c], esi
call fcn.0042f730
mov edi, dword [0x49ba1c]
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp - 4]
movzx eax, bl
xor eax, 0x811c9dc5
mov edx, dword [edi + 0x24]
imul ecx, eax, 0x1000193
movzx eax, bh
xor ecx, eax
movzx eax, byte [ebp - 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 1]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x30]
mov edi, dword [edi + 0x1c]
and ecx, eax
mov esi, dword [edx + ecx*8]
lea eax, [ecx + ecx]
mov ecx, dword [edx + eax*4]
lea edx, [edx + eax*4]
cmp ecx, edi
jne 0x42be48
mov eax, edi
jmp 0x42be4d
mov eax, dword [edx + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x42be5a
cmp dword [esi + 8], ebx
je 0x42be5c
mov esi, dword [esi]
jmp 0x42be40
mov esi, edi
cmp esi, edi
je 0x42be9d
lea ecx, [esi + 0xc]
call fcn.00401a00
mov esi, dword [ebp - 0x10]
cmp esi, eax
je 0x42be89
call fcn.00401a00
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42be7e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00401a50
push dword [ebp - 8]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
xor bl, bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bec0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x49ba1c]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
test eax, 0xfffffffe
jne 0x42bfd5
push 0
push 1
push 0x49ba1c
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x42bf23
mov eax, dword [0x49ba1c]
cmp eax, 1
jne 0x42bfd5
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push 0
call esi
mov eax, dword [0x49ba1c]
cmp eax, 1
je 0x42bf10
jmp 0x42bfd5
cmp dword [0x49ad14], 1
jne 0x42bf8c
cmp dword [0x49ad28], 3
jg 0x42bf8c
mov eax, 0x49ba20
mov dword [ebp - 0xc], 0
and eax, 3
mov dword [ebp - 8], eax
je 0x42bf8c
push str.reinterpret_cast_uintptr_t__instance______alignof_Type____1___0u
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
call fcn.00423cb0
add esp, 4
test eax, eax
je 0x42bf8c
push eax
push ecx
push 0x3f
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_baselazy_instance.h
lea ecx, [ebp - 0xc0]
call fcn.00425a60
mov edx, str.:_Bad_boy__the_buffer_passed_to_placement_new_is_not_aligned__nThis_may_break_some_stuff_like_SSE_based_optimizations_assuming_the__Type__objects_are_word_aligned.
lea ecx, [eax + 8]
call fcn.00407b40
lea ecx, [ebp - 0xc0]
call fcn.00425b00
push 0x49ba20
push 0x5c
call fcn.004013c0
add esp, 8
mov esi, eax
push 0x7d0
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea ecx, [esi + 0x18]
call fcn.0042c870
lea ecx, [esi + 0x38]
call fcn.0042c870
mov dword [esi + 0x58], 0x4989d4
mov edx, 0x49ba1c
mov ecx, 0x42c910
mov dword [0x49ba1c], esi
call fcn.0042f730
mov edi, dword [0x49ba1c]
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp - 4]
movzx eax, bl
xor eax, 0x811c9dc5
mov edx, dword [edi + 0x44]
imul ecx, eax, 0x1000193
movzx eax, bh
xor ecx, eax
movzx eax, byte [ebp - 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 1]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x50]
mov edi, dword [edi + 0x3c]
and ecx, eax
mov esi, dword [edx + ecx*8]
lea eax, [ecx + ecx]
mov ecx, dword [edx + eax*4]
lea edx, [edx + eax*4]
cmp ecx, edi
jne 0x42c038
mov eax, edi
jmp 0x42c03d
mov eax, dword [edx + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x42c04a
cmp dword [esi + 8], ebx
je 0x42c04c
mov esi, dword [esi]
jmp 0x42c030
mov esi, edi
cmp esi, edi
je 0x42c08d
lea ecx, [esi + 0xc]
call fcn.00401a00
mov esi, dword [ebp - 0x10]
cmp esi, eax
je 0x42c079
call fcn.00401a00
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42c06e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00401a50
push dword [ebp - 8]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
xor bl, bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c730
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0xc], ebx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
nop dword [eax]
cmp ebx, esi
jne 0x42c798
mov ecx, esi
jmp 0x42c79d
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x42c7b0
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x42c7ac
mov eax, dword [eax]
jmp 0x42c790
mov ecx, eax
jmp 0x42c7b4
mov eax, esi
mov ecx, esi
cmp ecx, esi
jne 0x42c84e
mov eax, dword [esi]
mov dword [ebp + 8], eax
push 0x24
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
call fcn.00450175
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
mov esi, ebx
push ebx
push 4
cmovne esi, eax
call fcn.004013c0
cmp dword [ebp + 8], 0
mov dword [eax], esi
lea eax, [ebx + 4]
push eax
mov esi, ebx
cmovne esi, dword [ebp - 8]
push 4
call fcn.004013c0
mov dword [eax], esi
lea eax, [ebx + 8]
push eax
push 0x1c
call fcn.004013c0
mov ecx, dword [edi]
add esp, 0x1c
mov dword [eax], ecx
lea ecx, [eax + 4]
call fcn.00401900
mov ecx, dword [ebp - 0xc]
mov eax, 0x71c71c6
mov edx, dword [ecx + 8]
sub eax, edx
cmp eax, 1
jb 0x42c85a
lea eax, [edx + 1]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 8]
mov dword [eax], ebx
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042cf90
mov eax, dword [ebp - 0x10]
pop edi
pop esi
add eax, 0xc
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.0044efb2
int3
Function at 0x42e840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x42e86b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004226d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x42e88d
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x42e88f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x42e913
jg 0x42e8a4
test esi, esi
je 0x42e913
test ecx, ecx
jl 0x42e8ed
jg 0x42e8ae
test eax, eax
je 0x42e8ed
cmp edi, ecx
jg 0x42e8c2
jl 0x42e8b8
cmp esi, eax
jae 0x42e8c2
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.004023d0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x42e8f0
mov edx, dword [ebp + 8]
test edi, edi
jl 0x42e913
jg 0x42e8fa
test esi, esi
je 0x42e913
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x42e913
push eax
push esi
push 1
push edx
call fcn.0045d9d2
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42e930
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x42e95b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004227d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x42e97d
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x42e97f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x42ea1e
jg 0x42e99c
test esi, esi
je 0x42ea1e
test ecx, ecx
jl 0x42e9e9
jg 0x42e9a6
test eax, eax
je 0x42e9e9
cmp ebx, ecx
jg 0x42e9ba
jl 0x42e9b0
cmp esi, eax
jae 0x42e9ba
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.004023d0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x42e9f0
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x42ea1e
jg 0x42e9fa
test esi, esi
je 0x42ea1e
cmp dword [edi + 0x4c], 0
je 0x42ea1e
mov ecx, edi
call fcn.0042f100
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.0045df7c
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42ee60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
call fcn.00402450
mov edi, eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
push eax
call fcn.00402430
add esp, 8
test al, al
je 0x42eeb6
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x42efb2
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450164
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x42eef3
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ebx + ecx]
cmp ecx, eax
jae 0x42eef3
lea eax, [ebx - 1]
mov dword [edx], eax
mov ecx, dword [esi + 0x20]
pop ebx
pop edi
pop esi
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov byte [edx], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450164
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x42efaf
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x42ef1b
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
mov ebx, dword [ebp + 8]
test ecx, ecx
jne 0x42ef3c
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0045d43c
add esp, 8
cmp eax, 0xffffffff
cmovne edi, ebx
jmp 0x42efaf
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
mov edx, dword [ecx]
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 [edx + 0x1c]
test eax, eax
js 0x42efaf
cmp eax, 1
jle 0x42ef83
cmp eax, 3
jne 0x42efaf
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.0042e2e0
add esp, 8
test al, al
cmovne edi, ebx
jmp 0x42efaf
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x42efa0
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.0045d9d2
add esp, 0x10
cmp ebx, eax
jne 0x42efaf
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
jne 0x42efb1
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00450164
mov esp, ebp
pop ebp
ret 4
Function at 0x42f130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x42f1f2
cmp byte [edi + 0x3d], 0
je 0x42f1f2
call fcn.00402450
mov edx, dword [edi]
mov esi, eax
push esi
mov ecx, edi
call dword [edx + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
push eax
call fcn.00402430
add esp, 8
test al, al
jne 0x42f1a8
mov ecx, dword [edi + 0x38]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [edi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x42f1ba
sub eax, 1
je 0x42f1be
sub eax, 2
je 0x42f1f2
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450164
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x3d], 0
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x42f1db
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.0045d9d2
add esp, 0x10
cmp esi, eax
jne 0x42f1a8
cmp byte [edi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450164
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00450164
mov esp, ebp
pop ebp
ret
Function at 0x434f90
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push edx
push dword [ecx]
xor ebx, ebx
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x435021
cmp dword [0x49ad28], 4
jg 0x435013
sub esp, 8
mov dword [esp + 0x10], 4
lea ecx, [esp + 0x18]
call fcn.004235a0
mov dword [esp + 0xac], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_base_threading_thread_local_win.cc
mov dword [esp + 0xb0], 0x24
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x24
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_base_threading_thread_local_win.cc
lea ecx, [esp + 0x10]
mov dword [esp + 0xbc], eax
call fcn.00426000
mov edx, str.Failed_to_TlsSetValue__.
lea ecx, [esp + 0x10]
call fcn.00407b40
mov ebx, 1
test bl, 1
je 0x435021
lea ecx, [esp + 8]
call fcn.00425b00
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4376c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd8
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x10], ebx
call fcn.00421f10
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
cmp byte [eax + 0xc0], bl
lea eax, [esp + 0x18]
je 0x437725
push 0xf
push 0xf
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x437721
push 1
push 0x113
push 0x113
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x437721
xor al, al
jmp 0x437737
mov al, 1
jmp 0x437737
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne al
cmp dword [0x49ad14], 1
mov byte [esp + 0xf], al
jne 0x43778b
cmp dword [0x49ad28], 3
jg 0x43778b
test al, al
je 0x43778b
cmp dword [esp + 0x18], 0x401
jne 0x43778b
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x30]
jne 0x43778b
push 3
push 0x185
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basemessage_pump_win.cc
lea ecx, [esp + 0x3c]
call fcn.00425970
mov edx, str.Check_failed:__have_message__kMsgHaveWork___msg.message__msg.hwnd___message_hwnd_.
lea ecx, [eax + 8]
call fcn.00407b40
mov ebx, 1
test bl, 1
je 0x43779c
lea ecx, [esp + 0x30]
and ebx, 0xfffffffe
call fcn.00425b00
push 0
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x49ad14], 1
jne 0x437819
cmp dword [0x49ad28], 3
jg 0x437819
test eax, eax
jne 0x437819
sub esp, 8
mov dword [esp + 0x38], 3
lea ecx, [esp + 0x40]
or ebx, 2
call fcn.004235a0
mov dword [esp + 0xd4], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basemessage_pump_win.cc
mov dword [esp + 0xd8], 0x189
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x189
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basemessage_pump_win.cc
lea ecx, [esp + 0x38]
mov dword [esp + 0xe4], eax
call fcn.00426000
mov edx, str.Check_failed:_old_have_work.
lea ecx, [esp + 0x38]
call fcn.00407b40
test bl, 2
je 0x437827
lea ecx, [esp + 0x30]
call fcn.00425b00
cmp byte [esp + 0xf], 0
jne 0x437836
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.00437610
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], 0
mov esi, edx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x43a3de
cmp dword [0x49badc], 0
jne 0x43a3cb
push 0x28
call fcn.00450175
add esp, 4
mov ecx, eax
call fcn.00425160
push 0
mov esi, eax
push esi
push 0x49badc
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x43a3c8
test esi, esi
je 0x43a3c8
push 0x28
push esi
call fcn.004501a5
add esp, 8
mov esi, dword [ebp - 4]
mov eax, dword [0x49badc]
cmp dword [eax], 1
jl 0x43a3de
mov dword [ebp - 8], 0x10000
jmp 0x43a3e0
xor ebx, ebx
push 8
call fcn.00450175
add esp, 4
mov edi, eax
push 0
push dword [ebp - 8]
mov dword [edi], esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
push 0x43a340
push ebx
setne cl
push 0
mov byte [edi + 4], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x43a425
push 8
push edi
call fcn.004501a5
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x43a434
mov dword [esi], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret