joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403bd0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [edi + 0xc]
cmp dword [eax], 1
jg 0x429e62
mov eax, dword [edi]
xor ebx, ebx
mov dword [edi + 4], ebx
mov byte [eax], bl
mov byte [esp + 0xd], bl
cmp dword [esi + 8], ebx
je 0x429e82
xor ebp, ebp
lea esp, [esp]
mov ecx, dword [esi + 0xc]
cmp ecx, dword [esi + 8]
je 0x403cf4
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov cl, byte [eax + edx]
mov byte [esp + ebp + 0xc], cl
inc ebp
inc eax
mov dword [esi + 0xc], eax
cmp ebp, 1
jb 0x403c00
add dword [esi + 0x10], ebp
adc dword [esi + 0x14], ebx
cmp ebp, ebx
je 0x403d1d
mov bl, byte [esp + 0xc]
cmp bl, 0xd
je 0x403c76
cmp bl, 0xa
je 0x403c94
mov eax, dword [edi + 0xc]
cmp dword [eax], 1
mov byte [esp + 0xd], 1
jg 0x429e9e
mov eax, dword [edi + 4]
add eax, 2
cmp dword [edi + 8], eax
jb 0x403c9d
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov byte [eax + ecx], bl
inc dword [edi + 4]
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov byte [eax + edx], 0
xor ebx, ebx
jmp 0x403bf1
lea eax, [esp + 0xc]
push eax
mov ebx, 1
call fcn.00403d40
test eax, eax
je 0x403c94
cmp byte [esp + 0xc], 0xa
jne 0x429fab
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
cmp eax, 0x41c2
jae 0x429ed0
lea edx, [eax + eax]
mov dword [edi + 8], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x429fa1
add eax, 0xf
shr eax, 4
shl eax, 4
push eax
mov dword [edi + 8], eax
call fcn.0041171a
mov ebp, eax
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x403ced
mov ecx, dword [edi + 4]
inc ecx
push ecx
push eax
push ebp
call fcn.00410f70
mov edx, dword [edi]
push edx
call fcn.004112ef
add esp, 0x10
mov dword [edi], ebp
jmp 0x403c5b
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push ebx
lea edx, [esp + 0x14]
push edx
push 0x10000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x403c23
jmp 0x429e93
cmp byte [esp + 0xd], 0
jne 0x403c94
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
lea eax, [eax - 3]
invalid
add byte [ecx + 0x50], bl
add byte [ecx - 0x75], bl
xchg ebp, eax
and cl, 0xff
inc dword [ebx - 0x6a76fe16]
push eax
jmp 0x429fb0
add dword [ecx - 0x14af6b], ecx
call dword [ebx - 0x7f]
ret
invalid

Function at 0x403d40
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 8], 0
push ebp
mov ebp, dword [esp + 8]
push edi
je 0x403da9
xor edi, edi
test ebx, ebx
jbe 0x403d6e
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x403d7c
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov al, byte [ecx + edx]
mov byte [edi + ebp], al
inc dword [esi + 0xc]
inc edi
cmp edi, ebx
jb 0x403d52
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
pop ebp
ret 4
mov edx, dword [esi + 4]
mov eax, dword [esi]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x10000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x403d6e
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x403d5a
push esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0040e190
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x403d4c
Function at 0x403f40
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
push 0
mov esi, eax
mov edi, dword [esi + 4]
mov eax, dword [esi]
push 0
inc edi
push edi
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x42b366
push ebx
xor ecx, ecx
push ebp
mov ebp, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041171a
mov esi, dword [esi]
add esp, 4
push ebp
mov ebx, eax
push ebx
push edi
push esi
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [esp + 0x14]
push 0
dec eax
push ebx
call fcn.00403fb0
push ebx
call fcn.004112ef
add esp, 4
pop ebp
pop ebx
pop edi
pop esi
ret 4

Function at 0x403fb0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
push esi
push edi
mov edi, eax
mov esi, ecx
test edi, edi
je 0x404001
cmp edi, 0xffffffff
je 0x404001
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x404001
mov eax, dword [esi + 0xc]
cmp dword [eax], 1
jg 0x42ac60
call fcn.00404020
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov dword [esi + 4], edi
add edi, edi
push edi
lea ecx, [ebp + eax*2]
push ecx
push edx
call fcn.00410f70
mov eax, dword [esi]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax], cx
pop edi
pop esi
pop ebp
ret 8
or eax, 0xffffffff
xor edi, edi
call fcn.0040c740
pop edi
pop esi
pop ebp
ret 8

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

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, eax
push edi
push ebx
call fcn.004042f0
test al, al
jne 0x42bff9
push esi
push 0x20
and ebp, 0xff00
call fcn.0041171a
add esp, 4
test eax, eax
je 0x4042db
mov esi, eax
mov ecx, esi
call fcn.0040c060
cmp esi, ebx
je 0x4042a2
mov eax, ebx
mov ecx, esi
call fcn.00404080
push 0x10
mov dword [esi + 0x10], ebp
call fcn.0041171a
xor ebp, ebp
add esp, 4
cmp eax, ebp
je 0x4042df
mov ebx, eax
mov eax, dword [esp + 0x10]
call fcn.0040bd50
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x18], ebp
mov edx, dword [edi]
push edx
mov eax, esi
call fcn.004041f0
pop esi
pop ebp
mov dword [edi], eax
pop ebx
ret 8
xor esi, esi
jmp 0x404295
xor eax, eax
jmp 0x4042c0
or al, 0xeb
invalid
Function at 0x409030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
mov ecx, dword [eax]
push ebp
push esi
mov esi, dword [edx + 4]
xor ebp, ebp
mov dword [esp + 0x14], 0x487630
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov ecx, dword [esi + ecx*4]
mov esi, dword [ecx]
movsx ecx, word [ecx + 0xa]
push edi
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x10]
push ecx
push edx
push ebx
lea edi, [esp + 0x24]
call fcn.00409110
test eax, eax
jne 0x42ceb6
push esi
lea edi, [ebx + 0x47c]
push edi
call fcn.004045e0
mov edx, dword [esp + 0x10]
cmp edx, dword [eax + 0x18]
jl 0x42cea9
push esi
push edi
call fcn.004045e0
mov ecx, dword [esp + 0x10]
cmp ecx, dword [eax + 0x1c]
jg 0x42cea9
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
mov ecx, ebx
call fcn.00404160
test eax, eax
jne 0x42ceb6
mov dword [esp + 0x18], 0x487630
cmp dword [esp + 0x20], ebp
jbe 0x4090f0
xor edi, edi
mov edi, edi
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + edi*4]
cmp esi, ebp
je 0x4090e9
call fcn.004092c0
push esi
call fcn.004112ef
add esp, 4
inc edi
cmp edi, dword [esp + 0x20]
jb 0x4090d0
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x24], ebp
call fcn.004112ef
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 4
mov dword [ebp - 0xf90], ecx
ret 0x8902

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

Disassembly:
inc dword [eax]
mov ecx, dword [eax]
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov edx, dword [ebp + 4]
lea edx, [edx + ecx*4]
push esi
mov esi, dword [edx]
cmp word [esi + 8], 0x47
jne 0x42c051
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xc]
push ecx
push edx
lea edx, [esp + 0x30]
mov esi, ebp
call fcn.0040c2a0
test eax, eax
jne 0x42c065
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
cmp dword [esp + 0x28], ebx
jae 0x409204
jmp 0x409172
xor eax, eax
lea edx, [esp + 0x10]
push edx
mov esi, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
call fcn.0040be00
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov eax, dword [ecx + eax*4 - 4]
mov esi, dword [esp + 0x24]
push ebx
push eax
lea edx, [esp + 0x30]
push edx
push ebp
mov ecx, esi
call fcn.0040ab50
test eax, eax
jne 0x42c082
mov eax, dword [esp + 0x2c]
inc dword [eax]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4091fb
mov ecx, dword [ebp + 4]
mov edx, dword [ecx + eax*4]
cmp word [edx + 8], 0x40
jne 0x42c06f
lea ecx, [eax + 1]
cmp ecx, ebx
je 0x42c06f
lea esi, [esp + 0x10]
mov dword [esp + 0x28], ecx
call fcn.004092c0
cmp dword [esp + 0x28], ebx
jb 0x409170
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
lea esi, [esp + 0x10]
call fcn.004092c0
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
inc edx
or al, 0x89
test esp, eax
invalid
add al, 0x81
ret
dec eax
add byte [eax], al
add byte [eax], al
Function at 0x40b800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x40b8af
mov eax, dword [esi + 0x18]
push edi
mov edi, ecx
test eax, eax
je 0x40b81d
push eax
call fcn.0040b800
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x40b8d5
cmp byte [esi + 0x10], 0
jne 0x40b884
mov edi, dword [esi + 0x14]
test edi, edi
je 0x40b884
push ebx
mov ebx, dword [edi + 0xc]
test ebx, ebx
jne 0x40b8b3
mov eax, dword [edi + 8]
pop ebx
cmp eax, 8
je 0x42ba02
cmp eax, 0xa
je 0x42ba23
cmp eax, 5
je 0x40b8f8
cmp eax, 0xb
je 0x42ba38
cmp eax, 0xc
je 0x42ba53
push edi
mov dword [edi + 8], 1
mov dword [edi], 0
call fcn.004112ef
add esp, 4
mov eax, dword [esi + 0xc]
dec dword [eax]
mov ecx, dword [esi + 0xc]
cmp dword [ecx], 0
pop edi
jne 0x40b8a6
mov edx, dword [esi]
push edx
call fcn.004112ef
mov eax, dword [esi + 0xc]
push eax
call fcn.004112ef
add esp, 8
push esi
call fcn.004112ef
add esp, 4
pop esi
ret 4
mov eax, dword [ebx + 0xc]
dec dword [eax]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 0
je 0x40b8e2
push ebx
call fcn.004112ef
add esp, 4
mov dword [edi + 0xc], 0
jmp 0x40b83d
push eax
mov ecx, edi
call fcn.0040b800
jmp 0x40b828
mov ecx, dword [ebx]
push ecx
call fcn.004112ef
mov edx, dword [ebx + 0xc]
push edx
call fcn.004112ef
add esp, 8
jmp 0x40b8c0
mov eax, edi
call fcn.0040e380
jmp 0x40b86e
invalid
or al, bh
test dword [eax], esp
jmp 0x42ba28
invalid
invalid
add byte [edx + 0x50], bl

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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, eax
mov eax, dword [esi + 8]
cmp eax, 1
jne 0x40b99f
mov ecx, dword [edi + 8]
cmp ecx, eax
jne 0x40b967
mov eax, dword [edi]
mov ebx, dword [esi]
lea ebp, [eax + ebx]
cdq
mov ecx, eax
mov edi, edx
mov eax, ebx
cdq
add ecx, eax
adc edi, edx
mov eax, ebp
cdq
cmp eax, ecx
jne 0x42b7cf
cmp edx, edi
jne 0x42b7cf
mov dword [esi], ebp
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x42b7f9
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp ecx, 2
je 0x42b7e0
cmp eax, 3
je case.0x40b9a7.3
mov ecx, esi
call fcn.0040be90
fstp qword [esp + 0x10]
call fcn.004092c0
fld qword [esp + 0x10]
fstp qword [esi]
mov dword [esi + 8], 3
mov ecx, edi
call fcn.0040be90
fadd qword [esi]
fstp qword [esi]
jmp case.0x40b9a7.5
sub eax, 2
cmp eax, 9
ja case.0x40b9a7.5
jmp dword [eax*4 + 0x40b9b0]
mov dword [ebp - 0x16b8], eax
outsd dx, dword [esi]
jb 0x42b770
test edx, ebp
idiv edi
invalid
dec dword [ebx - 0x6a76cfaf]
out 0xff, eax
dec dword [ebx - 0x189b7b]
dec dword [ecx - 0x14db7b]
call dword [eax + 0x56]
test dword [ebx + ebp*8], esp
invalid
Function at 0x40c000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [esi + 4], 0
push ebx
jne 0x40c014
mov ebx, dword [esi]
push edi
call fcn.00409210
inc dword [esi + 4]
pop ebx
ret
cmp byte [esi + 0xd], 0
je 0x40c02c
mov ebx, dword [esi + 8]
push edi
call fcn.00409210
inc dword [esi + 4]
mov byte [esi + 0xd], 0
pop ebx
ret
push 0x18
call fcn.0041171a
add esp, 4
test eax, eax
je 0x40c059
mov ebx, eax
mov eax, edi
call fcn.0040bd50
mov eax, dword [esi + 8]
test eax, eax
jne 0x42c155
mov dword [ebx + 0x10], eax
inc dword [esi + 4]
mov dword [esi + 8], ebx
pop ebx
ret
xor ebx, ebx
jmp 0x40c043
add cl, byte [ecx - 0xc337b]
jmp dword [esi - 0x75]

Function at 0x40c2a0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
inc dword [eax]
mov ecx, dword [eax]
push edi
xor edi, edi
mov dword [edx], ecx
lea esp, [esp]
mov ecx, dword [eax]
mov edx, dword [esi + 4]
mov edx, dword [edx + ecx*4]
movsx edx, word [edx + 8]
cmp edx, 0x47
jge 0x40c2c6
inc ecx
mov dword [eax], ecx
jmp 0x40c2b0
sub edx, 0x47
je 0x40c2f3
sub edx, 1
jne 0x40c2e3
test edi, edi
jne 0x40c2ed
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
inc ecx
mov dword [eax], ecx
xor eax, eax
pop edi
ret 8
sub edx, 0x37
jne 0x40c2c1
jmp 0x42b171
dec edi
inc ecx
mov dword [eax], ecx
jmp 0x40c2b0
inc edi
inc ecx
mov dword [eax], ecx
jmp 0x40c2b0
inc dword [eax]
add byte [eax], al
add byte [ebx + 0x50], dl

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

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
mov edi, eax
mov edx, dword [edi]
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebp + 4]
mov edx, dword [eax + edx*4]
mov esi, dword [edx]
lea ecx, [esp + 0x34]
xor ebx, ebx
push ecx
xor ecx, ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
call fcn.0040c3e0
mov esi, dword [esp + 0x30]
cmp esi, ebx
je 0x42cd91
inc dword [edi]
cmp dword [esi + 8], 5
mov ebx, 0x4e
je 0x40c3a4
mov eax, dword [esi + 8]
cmp eax, 8
je 0x42cdb4
cmp eax, 5
je 0x40c36e
mov edx, dword [edi]
mov eax, dword [ebp + 4]
mov eax, dword [eax + edx*4]
cmp word [eax + 8], bx
je 0x42cdfe
mov ebp, dword [esp + 0x34]
push esi
mov ebx, ebp
call fcn.00409210
mov edi, dword [esp + 0x2c]
cmp byte [edi + 0xfd], 0
jne 0x42ce19
cmp byte [edi + 0xfe], 0
jne 0x42ce19
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
mov eax, dword [edi]
mov edx, dword [ebp + 4]
mov eax, dword [edx + eax*4]
cmp word [eax + 8], bx
jne 0x40c34b
mov edx, dword [esp + 0x2c]
push 1
lea ecx, [esp + 0x34]
push ecx
push edx
mov eax, edi
mov ecx, ebp
call fcn.0040c620
test eax, eax
jne 0x42cdaa
mov esi, dword [esp + 0x30]
jmp 0x40c34b
les eax, [eax + ebp*8]
or dword [eax], eax
add byte [eax], al
add byte [eax], al
xor dl, byte [eax + 0x4d]
jmp 0x85ccce1d
Function at 0x40c620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x118
push ebx
push ebp
mov ebp, dword [esp + 0x128]
push esi
push edi
mov esi, eax
mov eax, dword [esi]
mov edi, ecx
mov ecx, dword [edi + 4]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ebx
mov edx, dword [ecx + eax*4 - 4]
lea eax, [ecx + eax*4]
movsx ecx, word [edx + 0xa]
mov edx, dword [eax]
cmp word [edx + 8], 0x4e
mov dword [esp + 0x24], ecx
jne 0x40c6d7
inc dword [esi]
mov eax, dword [esi]
mov ecx, dword [edi + 4]
mov edx, dword [ecx + eax*4]
movsx eax, word [edx + 0xa]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x134]
push esi
push edi
mov dword [esp + 0x30], eax
call fcn.0040ab50
test eax, eax
jne 0x42c290
lea ecx, [esp + 0x10]
call fcn.0040c760
test eax, eax
jl 0x42c267
mov eax, dword [esi]
mov edx, dword [edi + 4]
mov ecx, dword [edx + eax*4]
cmp word [ecx + 8], 0x4f
jne 0x42c278
inc eax
lea ecx, [esp + 0x10]
mov dword [esi], eax
call fcn.0040c760
mov edx, dword [esi]
mov dword [esp + ebx*4 + 0x28], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + edx*4]
inc ebx
cmp word [ecx + 8], 0x4e
je 0x40c664
mov esi, dword [ebp]
cmp dword [esi + 8], 5
jne 0x42c24a
mov eax, dword [esi]
xor edi, edi
cmp ebx, edi
mov dword [eax + 0x210], edi
jle 0x40c703
mov esi, dword [esp + edi*4 + 0x28]
mov edx, dword [ebp]
call fcn.0040d0f0
inc edi
cmp edi, ebx
jl 0x40c6f2
mov ecx, dword [esp + 0x134]
mov edx, dword [ebp]
push 0
push ecx
push edx
call fcn.0040d030
add esp, 0xc
mov dword [ebp], eax
test eax, eax
je 0x42c256
lea esi, [esp + 0x10]
call fcn.004092c0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 0xc
cmpsb byte [esi], byte es:[edi]
add byte [eax], al
jns 0x42c258
add byte [edi + 0x50], bl
inc edi
bound eax, qword [eax]
add byte [ecx + 0x2a5c0], al
add byte [ecx + 0x520e0], al
add byte [eax - 0x75], bl
lea esp, [ebx + edi*8]
invalid
add byte [eax], al

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

Disassembly:
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
mov edi, eax
mov eax, dword [esi + 8]
mov edx, dword [edi + 8]
lea ecx, [eax + eax*2]
lea ecx, [edx + ecx*4]
mov ecx, dword [ecx*4 + 0x4923c8]
dec ecx
cmp ecx, 0xa
ja case.0x40cc37.5
jmp dword [ecx*4 + 0x40cca4]
mov ecx, esi
call fcn.0040c760
mov ecx, edi
mov esi, eax
call fcn.0040c760
cmp esi, eax
jne 0x42c30c
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x28
ret
cmp edx, 4
jne 0x42c2e2
cmp dword [esi + 8], 4
mov edi, dword [edi + 0xc]
jne 0x42c2f7
mov esi, dword [esi + 0xc]
mov ecx, dword [edi + 4]
mov edi, dword [edi]
mov edx, dword [esi]
push edi
push edx
mov edx, dword [esi + 4]
xor eax, eax
call fcn.0040e740
test eax, eax
jne 0x42c30c
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x28
ret
invalid
add al, 0x81
ret
add byte [ecx + 0x7ce4eb], al
add byte [ecx + 0x17810f3], al
add byte [ebx + 0x51], bl
add byte [ecx + 0x9f74f1], al
add byte [ecx - 0x39], bl
test esp, esi
clc
invalid
Function at 0x40cfe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [ebx + 9], 0
push edi
mov edi, eax
jne 0x42c2a3
push esi
push 0x38
call fcn.0041171a
add esp, 4
test eax, eax
je 0x40d011
mov esi, eax
call fcn.0040cd40
mov ecx, dword [ebx + 4]
mov dword [esi + 0x30], ecx
inc dword [ebx]
mov dword [ebx + 4], esi
pop esi
pop edi
ret
mov ecx, dword [ebx + 4]
xor esi, esi
mov dword [esi + 0x30], ecx
inc dword [ebx]
mov dword [ebx + 4], esi
pop esi
pop edi
ret

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

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, 5
cmp dword [ebp + 8], ebx
jne 0x42c13d
cmp byte [esp + 0x10], 0
push esi
push edi
mov edi, dword [esp + 0x1c]
je 0x40d07b
test edi, edi
jne 0x40d084
mov eax, ebp
call fcn.0040d120
test eax, eax
jl 0x42c14e
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov esi, eax
cmp dword [edx + esi*4], 0
je 0x40d0b6
mov ecx, dword [ecx]
mov eax, dword [ecx + esi*4]
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, ebp
call fcn.0040e7c0
jmp 0x40d051
cmp dword [ebp + 8], ebx
jne 0x42c142
mov eax, dword [ebp]
mov dword [eax + 0x210], 0
test edi, edi
jle 0x40d055
lea ebx, [esp + 0x1c]
mov esi, dword [ebx + 4]
add ebx, 4
mov edx, ebp
call fcn.0040d0f0
sub edi, 1
je 0x40d055
jmp 0x40d0a2
push 0x10
call fcn.0041171a
add esp, 4
test eax, eax
je 0x40d0e5
mov edi, 0x4848e8
mov ebx, eax
call fcn.0040d420
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov dword [edx + esi*4], eax
mov eax, dword [ebp]
mov ecx, dword [eax]
mov eax, dword [ecx + esi*4]
pop edi
pop esi
pop ebp
pop ebx
ret
xor eax, eax
jmp 0x40d0d0
jmp dword [esi - 0x75]
test esp, ecx
invalid

Function at 0x40d5d0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.0040c060
mov ecx, 1
mov esi, dword [0x4a8e90]
mov edi, dword [0x4a8ec4]
cmp ecx, esi
jg 0x40d6a6
mov eax, ecx
inc ecx
test eax, eax
jle 0x40d6a6
shl eax, 4
add eax, edi
je 0x40d6a6
mov ebx, eax
lea eax, [ecx - 1]
mov dword [0x4a8014], eax
mov edx, dword [ebx + 4]
mov eax, dword [edx]
cmp word [eax + 8], 0
mov dword [esp + 0x10], ecx
jne 0x40d5f0
cmp dword [eax], 0x20
jne 0x40d5f0
mov edx, dword [edx + 4]
cmp word [edx + 8], 0x34
jne 0x42b2c4
mov ecx, dword [edx]
push ecx
lea esi, [esp + 0x1c]
call fcn.0040df50
mov edi, dword [esp + 0x18]
sub esp, 0x10
mov esi, esp
call fcn.00401b70
mov eax, 0x4a8054
call fcn.0040f1a0
test eax, eax
jne 0x42b2ca
mov edx, dword [ebx + 4]
mov eax, dword [edx + 8]
cmp word [eax + 8], 0x47
jne 0x42b2c4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
mov dword [esp + 0x24], 3
call fcn.0040da10
test eax, eax
jne 0x42b2db
mov ecx, dword [esp + 0x10]
jmp 0x40d5e4
mov esi, 0x4a8054
call fcn.00410470
lea ecx, [esp + 0x18]
call fcn.00402620
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x20
ret
jmp 0xe893b2c8
add byte [eax], al
add byte [eax], al
xor esi, dword [esi + 0x364f4d3d]
xor al, 0x32
add esp, 4
call 0x42b2e9
or al, byte [eax]
add byte [eax], al
add byte [esi], dh
inc edi
Function at 0x40d6d0
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x438
push ebx
push esi
push edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.00401f80
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x431a9d
mov eax, dword [0x4a7cfc]
test eax, eax
je 0x431ab6
mov byte [esp + 0xf], 0
mov esi, 0x4a8e80
cmp eax, 1
je 0x431aca
push 0x4a7cfc
lea ecx, [esp + 0x13]
mov eax, 0x4a7d14
call fcn.0040f3b0
test al, al
je 0x431aeb
mov dl, byte [0x4a8e80]
mov bl, byte [0x4a8e81]
push 0x4a7cf8
lea eax, [esp + 0x234]
push eax
push 0x104
push 0x4a7d14
mov byte [0x4a7d00], dl
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov ecx, dword [0x4a7cfc]
push ecx
push 0x4a7d14
call fcn.00401440
test eax, eax
jne 0x431aff
cmp bl, 1
je 0x431b23
call fcn.004101f0
call fcn.004103e0
cmp byte [0x4a7d00], 0
jne 0x40d7a8
mov esi, 0x4a84b8
call fcn.0040e1e0
push 1
mov ecx, 0x4a7f20
call fcn.00409560
cmp byte [0x4a7d00], 0
jne 0x40d7c7
mov ecx, 0x4a84b8
call fcn.00401000
mov ebx, 0x4a8e80
call fcn.0040ebc0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
add esp, 0x438
ret
insd dword es:[edi], dx
nop
pop esp
stosd dword es:[edi], eax
pop ebp
out dx, eax
adc byte [edi], al
pop es
pop es
pop es
dec esi
push edx
inc ecx
inc ebx
push eax
cmp dword [ecx + 0x4f], eax
mov cl, bl
or ecx, dword [eax + 0x832dccd]
pop es
mov ch, bh
xor al, 0x18
or byte [edi], al
pop es
pop eax
mov al, dh
xor bh, 7
pop es
mov al, dh
lodsd eax, dword [esi]
push 0xaf20707
push edx
dec esp
cmp al, 0x60
pushal
xchg edx, eax
invalid
test byte [esi], 6
insd dword es:[edi], dx
nop
mov edi, ds
add al, 6
push es
xchg edx, eax
xchg esp, eax
das
cli
push es
push es
insd dword es:[edi], dx
xchg edx, eax
sbb byte [ebp - 0x70], ch
pushfd
out dx, eax
test byte [esi], 6
xchg edx, eax
mov word [edi], gs
cli
push es
push es
mov al, bh
or dword [eax + 0x6fa2f8c], edx
push es
insd dword es:[edi], dx
xchg edx, eax
xchg esp, eax
out dx, eax
test byte [esi], 6
insd dword es:[edi], dx
nop
push esp
stosd dword es:[edi], eax
pop edx
out dx, eax
push cs
pop es
pop es
pop es
pop es
push esp
dec esi
push esi
dec eax
push esi
cmp al, 0x8a
retf