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

Disassembly:
push 0xffffffffffffffff
push 0x4edb89
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6341d4]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebp, eax
cmp ebp, ebx
jne 0x4757cf
mov eax, dword [esp + 0x3c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
lea ecx, [esp + 0x14]
push ecx
call dword [0x631e2c]
mov esi, dword [eax]
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x4757ea
inc dword [esi + 4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 1
cmp eax, ebx
je 0x475812
dec dword [eax + 4]
mov ecx, eax
add eax, 4
cmp dword [eax], ebx
jg 0x47580e
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esp + 0x14], ebx
xor edi, edi
cmp dword [esp + 0x1c], ebx
jle 0x47588e
lea ebx, [ebx]
mov ecx, dword [ebp + edi*4]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [0x631e18]
mov eax, dword [eax]
add esp, 4
mov ecx, esp
mov byte [esp + 0x38], 2
mov dword [esp + 0x2c], esp
mov dword [ecx], eax
cmp eax, ebx
je 0x475849
inc dword [eax + 4]
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], esi
cmp esi, ebx
je 0x475859
inc dword [esi + 4]
call dword [0x631e48]
mov eax, dword [esp + 0x20]
add esp, 8
mov byte [esp + 0x34], 1
cmp eax, ebx
je 0x475887
dec dword [eax + 4]
mov ecx, eax
add eax, 4
cmp dword [eax], ebx
jg 0x475883
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esp + 0x18], ebx
inc edi
cmp edi, dword [esp + 0x1c]
jl 0x475820
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [esp + 0x3c]
mov dword [edi], esi
cmp esi, ebx
je 0x4758a2
inc dword [esi + 4]
mov dword [esp + 0x20], 1
mov byte [esp + 0x34], bl
cmp esi, ebx
je 0x4758c4
dec dword [esi + 4]
cmp dword [esi + 4], ebx
jg 0x4758c4
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x47f810
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x47f86e
push ebx
mov ebx, dword [esp + 0xc]
push esi
lea esi, [edi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x40
mov eax, 0x47f720
mov dword [edi + 4], ebx
sub eax, esi
push 0xd
sub eax, 0xd
push esi
mov dword [esi], 0x42444c7
mov dword [esi + 4], edi
mov byte [esi + 8], 0xe9
mov dword [esi + 9], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0xd
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push esi
push 0xfffffffffffffffc
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop esi
mov dword [edi + 8], eax
pop ebx
pop edi
ret 4
Function at 0x48c7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4efc58
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x6341d4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x38]
cmp dword [edi], 0
je 0x48c835
lea edi, [esi + 0x44]
mov ecx, 6
mov esi, str.the_buffer_must_be_empty
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jmp 0x48c8b8
push 0
push 0
lea ecx, [esp + 0x14]
call fcn.00490270
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.004902d0
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0048c3f0
lea ecx, [esp + 0xc]
test al, al
je 0x48c8ab
push 1
call fcn.00490310
lea ecx, [esp + 0xc]
mov dword [edi], eax
call fcn.004903f0
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
mov dword [edx], eax
mov dword [esp + 0x30], 0xffffffff
call fcn.00490510
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0xc
mov dword [esp + 0x30], 0xffffffff
call fcn.00490510
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0xc

Function at 0x491101
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x491125
cmp dword [edi + 0x54], 0
jne 0x491125
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0049c5db
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004910c2
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x496d94
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x496ddb
call fcn.0049c5db
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x496ddb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x496df7
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0049690c
mov esi, eax
test edi, edi
je 0x496df5
test ebx, ebx
je 0x496df5
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x497c1d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4f0240
call fcn.004b49ba
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x497c42
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x497c88
lea ecx, [ebp - 0x10]
call fcn.00405cf0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004911ce
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401020
mov eax, esi
call fcn.004b4a92
ret 8

Function at 0x49b255
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x49b29d
call fcn.0049c5db
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x49b29d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x49b2e0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x49b2c9
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x49b2c9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x49b2dd
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x49d6f0
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x49d71b
call fcn.0049c5db
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x49d73e
push eax
push dword [esi + 4]
call fcn.0049d676
push esi
push eax
mov ecx, 0x660bcc
call fcn.0049d323
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4af517
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6341d4]
jne 0x4af521
repz ret
jmp fcn.004bb4fc
Function at 0x4c9902
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004b8823
and dword [ebp - 4], 0
cmp dword [0x661a38], 0
mov ebx, eax
jne 0x4c99b3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4c9a64
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4c9a64
push eax
call fcn.004b87b1
mov dword [esp], 0x611b68
push edi
mov dword [0x661a38], eax
call esi
push eax
call fcn.004b87b1
mov dword [esp], 0x611b54
push edi
mov dword [0x661a3c], eax
call esi
push eax
call fcn.004b87b1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x661a40], eax
call esi
push eax
call fcn.004b87b1
pop ecx
mov dword [0x661a48], eax
test eax, eax
je 0x4c99b3
push 0x611b20
push edi
call esi
push eax
call fcn.004b87b1
pop ecx
mov dword [0x661a44], eax
mov eax, dword [0x661a44]
cmp eax, ebx
je 0x4c9a0b
cmp dword [0x661a48], ebx
je 0x4c9a0b
push eax
call fcn.004b882c
push dword [0x661a48]
mov esi, eax
call fcn.004b882c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4c9a0b
test edi, edi
je 0x4c9a0b
call esi
test eax, eax
je 0x4c9a02
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4c9a02
test byte [ebp - 0xc], 1
jne 0x4c9a0b
or dword [ebp + 0x10], 0x200000
jmp 0x4c9a44
mov eax, dword [0x661a3c]
cmp eax, ebx
je 0x4c9a44
push eax
call fcn.004b882c
pop ecx
test eax, eax
je 0x4c9a44
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4c9a44
mov eax, dword [0x661a40]
cmp eax, ebx
je 0x4c9a44
push eax
call fcn.004b882c
pop ecx
test eax, eax
je 0x4c9a44
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x661a38]
call fcn.004b882c
pop ecx
test eax, eax
je 0x4c9a64
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4c9a66
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4d7980
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x4d7b2a
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x4d79d8
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x4d79eb
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x4d79ff
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x4d7a46.3
jmp 0x4d7a10
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x4d7a1c
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x4d7a21
mov esi, 1
inc eax
cmp eax, edi
jl 0x4d7a10
cmp si, cx
je case.0x4d7a46.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x4d7a46.3
movzx eax, byte [eax + 0x4d7b44]
jmp dword [eax*4 + 0x4d7b30]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x4d7a46.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4d7a60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x4d7a46.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x4d7aa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x4d7a46.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x4d7ac6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x4d7a46.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x4d7af0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4e2bf0
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x4e2c0a
pop edi
lea eax, [esi + 1]
pop esi
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x4e2d1a
push ebp
jmp 0x4e2c20
mov eax, ebx
cmp ebx, 0x15b0
jb 0x4e2c2f
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x4e2cdb
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x4e2c50
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x4e2c50
test eax, eax
je 0x4e2ced
nop
movzx edx, byte [esi]
add ecx, edx
inc esi
add edi, ecx
sub eax, 1
jne 0x4e2ce0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x4e2c20
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret

Function at 0x438cbd
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x438a14
sub edi, edx
dec edx
call fcn.00438cfd
inc edi
xor dword [esi], ebx
sub esp, 4
mov dword [esp], edi
mov edi, dword [esp]
add esp, 4
sub edi, 0x89c43dc8
add esi, 1
mov edx, edx
cmp esi, eax
jne fcn.00438cbd
and edi, edx
dec edx
add edx, edx
ret
Function at 0x10003cf0
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x144
lea edx, [esp]
push ebx
mov ebx, dword [esp + 0x158]
push ebx
push eax
push ecx
push edx
call fcn.10003a60
add esp, 0x10
cmp eax, 0x80000000
jb 0x10003d28
or eax, 0xffffffff
pop ebx
add esp, 0x144
ret
mov ecx, dword [esp + 4]
push ebp
push esi
lea eax, [esp + 0x10]
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edx, dword [esp + 0x10]
mov edi, eax
push edx
push ebx
call sym.lhcom01A.dll_heap_Free
add esp, 8
cmp edi, 0xffffffff
je 0x10003e0a
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [esp + 0x14], 0x10
je 0x10003dcd
mov esi, 0x100151a0
lea eax, [esp + 0x40]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x10003d8e
test cl, cl
je 0x10003d8a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x10003d8e
add eax, 2
add esi, 2
test cl, cl
jne 0x10003d6a
xor eax, eax
jmp 0x10003d93
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10003dcd
mov esi, 0x1001519c
lea eax, [esp + 0x40]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x10003dc4
test cl, cl
je 0x10003dc0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x10003dc4
add eax, 2
add esi, 2
test cl, cl
jne 0x10003da0
xor eax, eax
jmp 0x10003dc9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10003ddb
lea eax, [esp + 0x14]
push eax
push edi
call ebp
test eax, eax
jne 0x10003d5a
jmp 0x10003e00
mov edx, dword [esp + 0x158]
mov eax, dword [esp + 0x160]
lea ecx, [esp + 0x40]
push ebx
push ecx
push edx
push eax
call fcn.10003aa0
add esp, 0x10
cmp eax, 0x80000000
jb 0x10003e0a
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
or edi, 0xffffffff
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret

Function at 0x10007040
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fgetc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
push ebp
call ebx
movsx ecx, al
add esp, 4
inc ecx
cmp ecx, 0x67
ja case.0x1000706b.3
xor edx, edx
mov dl, byte [ecx + 0x100070d8]
jmp dword [edx*4 + 0x100070c4]
mov cl, byte [esi]
add cl, 0xd
shl cl, 4
add cl, al
inc edi
mov byte [esi], cl
jmp 0x10007054
mov dl, byte [esi]
shl dl, 4
add dl, al
sub dl, 0x57
inc edi
mov byte [esi], dl
jmp 0x10007054
mov cl, byte [esi]
shl cl, 4
add cl, al
sub cl, 0x37
inc edi
mov byte [esi], cl
jmp 0x10007054
test di, di
ja 0x100070bc
jmp 0x10007054
push str.End_of_file_reached_:_input_file_not_long_enough
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
push 0xffffffffffffffff
call dword [sym.imp.MSVCRT.dll_exit]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10007140
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
xor ebp, ebp
mov bl, 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_fgetc]
movsx ecx, al
add esp, 4
inc ecx
cmp ecx, 0x67
ja case.0x1000716d.4
xor edx, edx
mov dl, byte [ecx + 0x100071f0]
jmp dword [edx*4 + 0x100071d8]
or bl, 0xff
jmp 0x100071b0
mov cl, byte [esi]
sub cl, 3
shl cl, 4
add cl, al
inc edi
mov byte [esi], cl
jmp 0x100071b0
mov dl, byte [esi]
shl dl, 4
add dl, al
sub dl, 0x57
inc edi
mov byte [esi], dl
jmp 0x100071b0
mov cl, byte [esi]
shl cl, 4
add cl, al
sub cl, 0x37
inc edi
mov byte [esi], cl
jmp 0x100071b0
test di, di
jbe 0x100071b0
mov ebp, 1
mov al, byte [esi]
imul bl
test ebp, ebp
mov byte [esi], al
je 0x1000714e
pop edi
pop esi
pop ebp
pop ebx
ret
push str.End_of_file_reached_:_input_file_not_long_enough
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
push 0xffffffffffffffff
call dword [sym.imp.MSVCRT.dll_exit]
lea ecx, [ecx]
mov edi, 0x74100071
jno 268464607
adc byte [ecx + 0x71], bh
add byte [eax], dl
xchg edi, eax
jno 268464615
adc byte [eax - 0x59efff8f], cl
jno 0x100071ef
adc byte [eax], al
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add dword [0x2020205], eax
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [0x5050505]
add eax, 0x3030305
add eax, dword [ebx]
add eax, dword [0x5050505]
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x4040404
add al, 4
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x10007260
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fgetc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
push ebp
call ebx
movsx ecx, al
add esp, 4
inc ecx
cmp ecx, 0x67
ja case.0x1000728b.3
xor edx, edx
mov dl, byte [ecx + 0x1000730c]
jmp dword [edx*4 + 0x100072f8]
mov cx, word [esi]
add cx, 0xffd
movsx dx, al
shl ecx, 4
add ecx, edx
inc edi
mov word [esi], cx
jmp 0x10007274
mov cx, word [esi]
movsx dx, al
shl cx, 4
inc edi
lea eax, [ecx + edx - 0x57]
mov word [esi], ax
jmp 0x10007274
mov cx, word [esi]
movsx dx, al
shl cx, 4
inc edi
lea eax, [ecx + edx - 0x37]
mov word [esi], ax
jmp 0x10007274
test di, di
ja 0x100072f0
jmp 0x10007274
push str.End_of_file_reached_:_input_file_not_long_enough
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
push 0xffffffffffffffff
call dword [sym.imp.MSVCRT.dll_exit]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10007380
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
xor ebp, ebp
mov ebx, 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_fgetc]
movsx ecx, al
add esp, 4
inc ecx
cmp ecx, 0x67
ja case.0x100073b0.4
xor edx, edx
mov dl, byte [ecx + 0x1000744c]
jmp dword [edx*4 + 0x10007434]
or ebx, 0xffffffff
jmp 0x10007406
mov cx, word [esi]
sub cx, 3
movsx dx, al
shl ecx, 4
add ecx, edx
inc edi
mov word [esi], cx
jmp 0x10007406
mov cx, word [esi]
movsx dx, al
shl cx, 4
inc edi
lea eax, [ecx + edx - 0x57]
mov word [esi], ax
jmp 0x10007406
mov cx, word [esi]
movsx dx, al
shl cx, 4
inc edi
lea eax, [ecx + edx - 0x37]
mov word [esi], ax
jmp 0x10007406
test di, di
jbe 0x10007406
mov ebp, 1
mov cx, word [esi]
imul cx, bx
test ebp, ebp
mov word [esi], cx
je 0x10007391
pop edi
pop esi
pop ebp
pop ebx
ret
push str.End_of_file_reached_:_input_file_not_long_enough
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
push 0xffffffffffffffff
call dword [sym.imp.MSVCRT.dll_exit]
nop
sbb eax, 0xb7100074
jae 268465211
adc byte [ebx + esi*2 + 0x73e71000], bh
add byte [eax], dl
sal byte [ebx], cl
adc ah, bh
jae 0x1000744b
adc byte [eax], al
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add dword [0x2020205], eax
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [0x5050505]
add eax, 0x3030305
add eax, dword [ebx]
add eax, dword [0x5050505]
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x5050505
add eax, 0x4040404
add al, 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x100074c0
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fgetc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
push ebp
call ebx
movsx eax, al
add esp, 4
lea ecx, [eax + 1]
cmp ecx, 0x67
ja case.0x100074ed.3
xor edx, edx
mov dl, byte [ecx + 0x10007558]
jmp dword [edx*4 + 0x10007544]
mov ecx, dword [esi]
add ecx, 0xffffffd
shl ecx, 4
add ecx, eax
inc edi
mov dword [esi], ecx
jmp 0x100074d4
mov edx, dword [esi]
shl edx, 4
inc edi
lea eax, [edx + eax - 0x57]
mov dword [esi], eax
jmp 0x100074d4
mov ecx, dword [esi]
shl ecx, 4
inc edi
lea edx, [ecx + eax - 0x37]
mov dword [esi], edx
jmp 0x100074d4
test di, di
ja 0x1000753f
jmp 0x100074d4
push str.End_of_file_reached_:_input_file_not_long_enough
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
push 0xffffffffffffffff
call dword [sym.imp.MSVCRT.dll_exit]
pop edi
pop esi
pop ebp
pop ebx
ret