joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424360
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc0
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 8], eax
cmp dword [0x49ad1c], 1
push edi
mov edi, ecx
jne 0x4243ec
cmp dword [0x49ad2c], 3
jg 0x4243ec
test esi, esi
jne 0x4243ec
sub esp, 8
mov dword [esp + 0x20], 3
lea ecx, [esp + 0x28]
call fcn.00422bb0
mov dword [esp + 0xbc], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basewin_registry.cc
mov dword [esp + 0xc0], 0x93
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x93
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basewin_registry.cc
lea ecx, [esp + 0x20]
mov dword [esp + 0xcc], eax
call fcn.00425610
mov edx, str.Check_failed:_out_value.
lea ecx, [esp + 0x20]
call fcn.00407130
mov eax, 1
test al, 1
je 0x4243f9
lea ecx, [esp + 0x18]
call fcn.00425110
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 4
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
push 0
push str.HummerSetup2012
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
jne 0x424450
mov ecx, dword [esp + 0x10]
cmp ecx, 4
je 0x424443
cmp ecx, 3
jne 0x42445a
cmp dword [esp + 0x14], 4
jne 0x42445a
mov eax, dword [esp + 0xc]
mov dword [esi], eax
mov eax, edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
mov eax, 0x3f4
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x424470
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1014
call fcn.004505e0
mov eax, dword [0x498068]
xor eax, esp
mov dword [esp + 0x1010], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov dword [esp + 0xc], eax
mov esi, ecx
cmp dword [0x49ad1c], 1
push edi
mov edi, dword [ebp + 0xc]
jne 0x424512
cmp dword [0x49ad2c], 3
jg 0x424512
test edi, edi
jne 0x424512
sub esp, 8
mov dword [esp + 0x20], 3
lea ecx, [esp + 0x28]
call fcn.00422bb0
mov dword [esp + 0xbc], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basewin_registry.cc
mov dword [esp + 0xc0], 0xb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb5
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basewin_registry.cc
lea ecx, [esp + 0x20]
mov dword [esp + 0xcc], eax
call fcn.00425610
mov edx, str.Check_failed:_out_value.
lea ecx, [esp + 0x20]
call fcn.00407130
mov eax, 1
test al, 1
je 0x42451f
lea ecx, [esp + 0x18]
call fcn.00425110
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 1
push eax
lea eax, [esp + 0x81c]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push ebx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x42457b
mov ecx, dword [esp + 0x14]
cmp ecx, 1
jne 0x424594
lea eax, [esp + 0x818]
push eax
call fcn.00401c50
add esp, 4
push eax
lea eax, [esp + 0x81c]
push eax
mov ecx, edi
call fcn.00401a50
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1010]
xor ecx, esp
call fcn.0044f786
mov esp, ebp
pop ebp
ret 8
cmp ecx, 2
jne 0x4245f0
push 0x400
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4245d4
cmp eax, 0x400
ja 0x4245d4
lea eax, [esp + 0x18]
push eax
call fcn.00401c50
add esp, 4
push eax
lea eax, [esp + 0x1c]
jmp 0x424573
mov eax, 0xea
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1010]
xor ecx, esp
call fcn.0044f786
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x101c]
mov eax, 0x3f4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044f786
mov esp, ebp
pop ebp
ret 8

Function at 0x424610
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
xor eax, eax
cmp dword [0x49ad1c], 1
push ebx
mov ebx, ecx
mov dword [esp + 4], eax
jne 0x424668
cmp dword [0x49ad2c], 3
jg 0x424668
cmp dword [ebp + 0xc], eax
jne 0x424668
cmp dword [ebp + 0x10], eax
je 0x424668
push 3
push 0x10b
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basewin_registry.cc
lea ecx, [esp + 0x14]
call fcn.00424f80
mov edx, str.Check_failed:_data___dsize.
lea ecx, [eax + 8]
call fcn.00407130
mov eax, 1
test al, 1
je 0x424675
lea ecx, [esp + 8]
call fcn.00425110
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x427830
Capabilities:
Check if file exists
Get file attributes

Disassembly:
call fcn.00401810
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
ret

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

Disassembly:
call fcn.00401810
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427867
shr eax, 4
and al, 1
ret
xor al, al
ret

Function at 0x4279a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x498068]
xor eax, esp
mov dword [esp + 0x260], eax
push esi
lea eax, [esp + 0x50]
mov esi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x427a63
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x3c]
call fcn.004018b0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x24]
call fcn.00401920
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xc]
call fcn.00401920
lea ecx, [esp + 8]
call fcn.00426940
lea ecx, [esp + 8]
call fcn.00401a00
cmp esi, eax
je 0x427a33
call fcn.00401a00
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x427a28
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.00401a50
lea ecx, [esp + 8]
call fcn.00401850
lea ecx, [esp + 0x20]
call fcn.00401850
lea ecx, [esp + 0x38]
call fcn.00401850
mov al, 1
pop esi
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0044f786
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x264]
xor al, al
pop esi
xor ecx, esp
call fcn.0044f786
mov esp, ebp
pop ebp
ret

Function at 0x427a80
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x498068]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.00401810
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427ac3
shr al, 4
and al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0044f786
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.004262b0
mov edx, esi
lea ecx, [esp + 0xc]
call fcn.00407cd0
test al, al
jne 0x427b14
lea ecx, [esp + 0xc]
call fcn.00427a80
test al, al
je 0x427b14
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x427b10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x427b14
mov ecx, esi
call fcn.00427850
test al, al
je 0x427b14
mov bl, 1
jmp 0x427b16
xor bl, bl
lea ecx, [esp + 0xc]
call fcn.00401850
mov ecx, dword [esp + 0x24]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044f786
mov esp, ebp
pop ebp
ret
Function at 0x429ac0
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 [0x49ad50]
call fcn.00401900
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, esi
call fcn.0043a350
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00404c40
test al, al
jne 0x429b2c
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.00428ef0
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.0044f786
mov esp, ebp
pop ebp
ret 4

Function at 0x42b140
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 0x42b1f9
nop dword [eax]
movzx eax, byte [esi]
push eax
call fcn.0045c0f8
add esp, 4
test eax, eax
je 0x42b17e
inc esi
mov byte [ebp - 1], 0
cmp esi, ebx
jne 0x42b160
jmp 0x42b1f9
cmp esi, ebx
je 0x42b1f9
mov al, byte [esi]
cmp al, 0x2d
jne 0x42b1f4
mov edi, dword [ebp + 8]
lea eax, [esi + 1]
mov dword [ebp - 8], eax
mov dword [edi], 0
cmp eax, ebx
je 0x42b1e8
mov esi, eax
xor eax, eax
nop
mov dl, byte [esi]
lea ecx, [edx - 0x30]
cmp cl, 9
ja 0x42b1e8
sub dl, 0x30
cmp esi, dword [ebp - 8]
je 0x42b1ca
cmp eax, 0xf3333334
jl 0x42b1e2
jne 0x42b1c5
mov eax, 0xf3333334
cmp dl, 8
ja 0x42b1e2
lea eax, [eax + eax*4]
add eax, eax
movzx ecx, dl
inc esi
sub eax, ecx
mov dword [edi], eax
cmp esi, ebx
jne 0x42b1a0
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 0x42b1f9
inc esi
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
cmp esi, ebx
je 0x42b269
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 0x42b269
sub bl, 0x30
cmp ecx, esi
je 0x42b242
call fcn.004013d0
cdq
mov ecx, 0xa
idiv ecx
cmp edi, eax
jg 0x42b25f
jne 0x42b23a
movzx eax, bl
cmp eax, edx
jg 0x42b25f
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 0x42b210
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 0x42b2f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x49ba28]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
test eax, 0xfffffffe
jne 0x42b405
push 0
push 1
push 0x49ba28
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x42b353
mov eax, dword [0x49ba28]
cmp eax, 1
jne 0x42b405
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push 0
call esi
mov eax, dword [0x49ba28]
cmp eax, 1
je 0x42b340
jmp 0x42b405
cmp dword [0x49ad1c], 1
jne 0x42b3bc
cmp dword [0x49ad2c], 3
jg 0x42b3bc
mov eax, 0x49ba2c
mov dword [ebp - 0xc], 0
and eax, 3
mov dword [ebp - 8], eax
je 0x42b3bc
push str.reinterpret_cast_uintptr_t__instance______alignof_Type____1___0u
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
call fcn.004232c0
add esp, 4
test eax, eax
je 0x42b3bc
push eax
push ecx
push 0x3f
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_baselazy_instance.h
lea ecx, [ebp - 0xc0]
call fcn.00425070
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.00407130
lea ecx, [ebp - 0xc0]
call fcn.00425110
push 0x49ba2c
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.0042be90
lea ecx, [esi + 0x38]
call fcn.0042be90
mov dword [esi + 0x58], 0x4989c8
mov edx, 0x49ba28
mov ecx, 0x42bf30
mov dword [0x49ba28], esi
call fcn.0042ed50
mov edi, dword [0x49ba28]
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 0x42b468
mov eax, edi
jmp 0x42b46d
mov eax, dword [edx + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x42b47a
cmp dword [esi + 8], ebx
je 0x42b47c
mov esi, dword [esi]
jmp 0x42b460
mov esi, edi
cmp esi, edi
je 0x42b4bd
lea ecx, [esi + 0xc]
call fcn.00401a00
mov esi, dword [ebp - 0x10]
cmp esi, eax
je 0x42b4a9
call fcn.00401a00
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42b49e
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 0x42b4e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x49ba28]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
test eax, 0xfffffffe
jne 0x42b5f5
push 0
push 1
push 0x49ba28
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x42b543
mov eax, dword [0x49ba28]
cmp eax, 1
jne 0x42b5f5
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push 0
call esi
mov eax, dword [0x49ba28]
cmp eax, 1
je 0x42b530
jmp 0x42b5f5
cmp dword [0x49ad1c], 1
jne 0x42b5ac
cmp dword [0x49ad2c], 3
jg 0x42b5ac
mov eax, 0x49ba2c
mov dword [ebp - 0xc], 0
and eax, 3
mov dword [ebp - 8], eax
je 0x42b5ac
push str.reinterpret_cast_uintptr_t__instance______alignof_Type____1___0u
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
call fcn.004232c0
add esp, 4
test eax, eax
je 0x42b5ac
push eax
push ecx
push 0x3f
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_baselazy_instance.h
lea ecx, [ebp - 0xc0]
call fcn.00425070
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.00407130
lea ecx, [ebp - 0xc0]
call fcn.00425110
push 0x49ba2c
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.0042be90
lea ecx, [esi + 0x38]
call fcn.0042be90
mov dword [esi + 0x58], 0x4989c8
mov edx, 0x49ba28
mov ecx, 0x42bf30
mov dword [0x49ba28], esi
call fcn.0042ed50
mov edi, dword [0x49ba28]
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 0x42b658
mov eax, edi
jmp 0x42b65d
mov eax, dword [edx + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x42b66a
cmp dword [esi + 8], ebx
je 0x42b66c
mov esi, dword [esi]
jmp 0x42b650
mov esi, edi
cmp esi, edi
je 0x42b6ad
lea ecx, [esi + 0xc]
call fcn.00401a00
mov esi, dword [ebp - 0x10]
cmp esi, eax
je 0x42b699
call fcn.00401a00
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42b68e
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 0x42bd50
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 0x42bdb8
mov ecx, esi
jmp 0x42bdbd
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x42bdd0
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x42bdcc
mov eax, dword [eax]
jmp 0x42bdb0
mov ecx, eax
jmp 0x42bdd4
mov eax, esi
mov ecx, esi
cmp ecx, esi
jne 0x42be6e
mov eax, dword [esi]
mov dword [ebp + 8], eax
push 0x24
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
call fcn.0044f797
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 0x42be7a
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.0042c5b0
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.0044e5d2
int3
Function at 0x42de60
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 0x42de8b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00421cd0
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 0x42dead
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x42deaf
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x42df33
jg 0x42dec4
test esi, esi
je 0x42df33
test ecx, ecx
jl 0x42df0d
jg 0x42dece
test eax, eax
je 0x42df0d
cmp edi, ecx
jg 0x42dee2
jl 0x42ded8
cmp esi, eax
jae 0x42dee2
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.00402410
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 0x42df10
mov edx, dword [ebp + 8]
test edi, edi
jl 0x42df33
jg 0x42df1a
test esi, esi
je 0x42df33
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x42df33
push eax
push esi
push 1
push edx
call fcn.0045cff2
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 0x42df50
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 0x42df7b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00421dd0
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 0x42df9d
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x42df9f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x42e03e
jg 0x42dfbc
test esi, esi
je 0x42e03e
test ecx, ecx
jl 0x42e009
jg 0x42dfc6
test eax, eax
je 0x42e009
cmp ebx, ecx
jg 0x42dfda
jl 0x42dfd0
cmp esi, eax
jae 0x42dfda
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.00402410
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 0x42e010
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x42e03e
jg 0x42e01a
test esi, esi
je 0x42e03e
cmp dword [edi + 0x4c], 0
je 0x42e03e
mov ecx, edi
call fcn.0042e720
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.0045d59c
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 0x42e480
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.00402490
mov edi, eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
push eax
call fcn.00402470
add esp, 8
test al, al
je 0x42e4d6
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x42e5d2
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f786
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x42e513
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ebx + ecx]
cmp ecx, eax
jae 0x42e513
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.0044f786
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x42e5cf
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x42e53b
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 0x42e55c
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0045ca5c
add esp, 8
cmp eax, 0xffffffff
cmovne edi, ebx
jmp 0x42e5cf
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 0x42e5cf
cmp eax, 1
jle 0x42e5a3
cmp eax, 3
jne 0x42e5cf
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.0042d900
add esp, 8
test al, al
cmovne edi, ebx
jmp 0x42e5cf
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x42e5c0
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.0045cff2
add esp, 0x10
cmp ebx, eax
jne 0x42e5cf
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
jne 0x42e5d1
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044f786
mov esp, ebp
pop ebp
ret 4