Function at 0x100030e0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001fbca
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x1002b080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x100035fd
push str._bbWinMain_0
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
sub eax, ebx
push ebx
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x100035fd
mov esi, dword [ebp - 0x38]
push 0
push esi
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x100035fd
push esi
call fcn.10005ea0
test al, al
je 0x100035fd
push dword [ebp - 0x34]
call fcn.10005e60
lea ecx, [ebp - 0xe0]
call fcn.10007810
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0
mov dword [ebp - 0xa4], 0x10021430
mov dword [ebp - 0x94], 0x10021438
call fcn.100014f0
push 0
push 0
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 1
mov ebx, 8
lea ecx, [ebp - 0xa4]
push eax
mov dword [ebp - 0x34], ebx
call fcn.10001570
mov eax, dword [ebp - 0x94]
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x94], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x98], eax
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa4], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xa8], eax
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x94]
push 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 4
push eax
mov byte [ebp - 4], 4
call fcn.100041f0
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x94]
cdq
push edx
push eax
push dword [edi + 4]
call fcn.100041f0
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x94]
push 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 4
push eax
call fcn.100041f0
mov eax, dword [edi + 0x14]
mov esi, dword [eax]
cmp esi, eax
je 0x10003375
cmp dword [esi + 0x20], 0x7fffffff
lea eax, [esi + 0x10]
mov byte [ebp - 0x2c], 0
je 0x10003622
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x100032a0
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [eax + 0x10]
push edx
push ecx
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
call fcn.10001800
or ebx, 4
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 0
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 5
call fcn.100041f0
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x94]
push 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 4
push eax
call fcn.100041f0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp ecx, 0xf
jbe 0x1000332b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003321
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000361d
push ecx
push edx
call fcn.10008b1a
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10003354
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10003350
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x10003350
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10003340
mov esi, eax
jmp 0x1000336c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1000336c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10003360
cmp esi, dword [edi + 0x14]
jne 0x10003282
mov eax, dword [edi + 0x20]
lea ecx, [ebp - 0x94]
push 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 4
push eax
call fcn.100041f0
mov eax, dword [edi + 0x1c]
mov esi, dword [eax]
cmp esi, eax
je 0x10003495
nop dword [eax + eax]
cmp dword [esi + 0x24], 0x7fffffff
lea eax, [esi + 0x14]
mov byte [ebp - 0x2c], 0
je 0x10003622
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x100033be
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [eax + 0x10]
push edx
push ecx
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
call fcn.10001800
or ebx, 2
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 0
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 6
call fcn.100041f0
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x94]
push 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 4
push eax
call fcn.100041f0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp ecx, 0xf
jbe 0x10003449
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000343f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000361d
push ecx
push edx
call fcn.10008b1a
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10003474
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10003470
nop dword [eax + eax]
cmp esi, dword [eax + 8]
jne 0x10003470
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10003460
mov esi, eax
jmp 0x1000348c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1000348c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10003480
cmp esi, dword [edi + 0x1c]
jne 0x100033a0
mov eax, dword [edi + 0x28]
lea ecx, [ebp - 0x94]
push 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 4
push eax
call fcn.100041f0
mov eax, dword [edi + 0x24]
mov esi, dword [eax]
cmp esi, eax
je 0x100035b5
nop dword [eax + eax]
cmp dword [esi + 0x24], 0x7fffffff
lea eax, [esi + 0x14]
mov byte [ebp - 0x2c], 0
je 0x10003622
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x100034de
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [eax + 0x10]
push edx
push ecx
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
call fcn.10001800
or ebx, 1
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 0
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 7
call fcn.100041f0
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x94]
push 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 4
push eax
call fcn.100041f0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp ecx, 0xf
jbe 0x10003569
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000355f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000361d
push ecx
push edx
call fcn.10008b1a
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10003594
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10003590
nop dword [eax + eax]
cmp esi, dword [eax + 8]
jne 0x10003590
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10003580
mov esi, eax
jmp 0x100035ac
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x100035ac
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x100035a0
cmp esi, dword [edi + 0x24]
jne 0x100034c0
lea ecx, [ebp - 0xe0]
call fcn.10007aa0
push eax
lea ecx, [ebp - 0xe0]
call fcn.100079e0
push eax
push 0x409
push 0x457
push 0xa
call fcn.100065a0
call fcn.10005600
lea ecx, [ebp - 0xa4]
call fcn.10002190
lea ecx, [ebp - 0xe0]
call fcn.10007920
mov al, 1
jmp 0x100035ff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10008b36
mov esp, ebp
pop ebp
ret 8
call fcn.1000d45f
call fcn.10002b90
int3