Function at 0x436ff2
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f9a0b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push esi
push edi
lea edi, [ebp - 0xb0]
mov ecx, 0x29
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x782e08]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x437210
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
jne 0x436fb7
push 0x2b9
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcolemisc.cpp
call fcn.00442350
test eax, eax
je 0x436fb7
int3
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
sub edx, 1
mov dword [ebp - 0xa4], edx
cmp dword [ebp - 0xa4], 0x3f
ja case.0x436feb.2
mov eax, dword [ebp - 0xa4]
movzx ecx, byte [eax + 0x437680]
jmp dword [ecx*4 + 0x437664]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], 0
jmp 0x437210
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [ecx]
mov esi, esp
push eax
mov edx, dword [ecx + 4]
call edx
cmp esi, esp
call fcn.006c7eb0
mov eax, dword [ebp + 0xc]
mov dword [eax], 4
mov eax, 1
jmp 0x4375d4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [edx]
mov esi, esp
push ecx
mov eax, dword [edx + 4]
call eax
cmp esi, esp
call fcn.006c7eb0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 8
mov eax, 1
jmp 0x4375d4
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
push eax
push 0
call fcn.00436df0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4370a1
xor eax, eax
jmp 0x4375d4
mov esi, esp
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp esi, esp
call fcn.006c7eb0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4370d1
push 0x2d6
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcolemisc.cpp
call fcn.00442350
test eax, eax
je 0x4370d1
int3
mov esi, esp
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_CopyMetaFileW]
cmp esi, esp
call fcn.006c7eb0
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0
jne 0x437125
mov esi, esp
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp esi, esp
call fcn.006c7eb0
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp esi, esp
call fcn.006c7eb0
xor eax, eax
jmp 0x4375d4
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp esi, esp
call fcn.006c7eb0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 4], edx
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x20
mov eax, 1
jmp 0x4375d4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x10
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], 0
jmp 0x437210
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 4], 0
jne 0x437192
push 0x2ee
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcolemisc.cpp
call fcn.00442350
test eax, eax
je 0x437192
int3
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 0
jne 0x4371a0
call fcn.00437a10
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
push edx
call fcn.006c8630
add esp, 4
mov dword [ebp - 0x1c], eax
push 2
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
call fcn.00436b80
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 4], edx
cmp dword [ebp - 0x20], 0
jne 0x4371dc
xor eax, eax
jmp 0x4375d4
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + ecx + 2]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.0040c940
add esp, 0x10
mov eax, 1
jmp 0x4375d4
xor eax, eax
jmp 0x4375d4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ecx]
cmp eax, dword [edx]
je 0x437230
push 0x303
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcolemisc.cpp
call fcn.00442350
test eax, eax
je 0x437230
int3
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
sub ecx, 1
mov dword [ebp - 0xa8], ecx
cmp dword [ebp - 0xa8], 0x3f
ja case.0x437264.2
mov edx, dword [ebp - 0xa8]
movzx eax, byte [edx + 0x4376d8]
jmp dword [eax*4 + 0x4376c0]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
call fcn.00436df0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x43728e
xor eax, eax
jmp 0x4375d4
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x24]
mov dword [edx + 4], eax
mov eax, 1
jmp 0x4375d4
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 4], 0
jne 0x4372be
push 0x314
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcolemisc.cpp
call fcn.00442350
test eax, eax
je 0x4372be
int3
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 0
jne 0x4372db
push 0x315
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcolemisc.cpp
call fcn.00442350
test eax, eax
je 0x4372db
int3
mov esi, esp
push 1
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x30]
call edx
cmp esi, esp
call fcn.006c7eb0
test eax, eax
je 0x437309
xor eax, eax
jmp 0x4375d4
cmp dword [ebp - 0x70], 0
je 0x437323
push 0x31e
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcolemisc.cpp
call fcn.00442350
test eax, eax
je 0x437323
int3
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov esi, esp
push 0
push 0
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x14]
call edx
cmp esi, esp
call fcn.006c7eb0
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x14]
call ecx
cmp esi, esp
call fcn.006c7eb0
mov esi, esp
push 0
push 0
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x1c]
call edx
cmp esi, esp
call fcn.006c7eb0
test eax, eax
je 0x4373be
xor eax, eax
jmp 0x4375d4
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x14]
call ecx
cmp esi, esp
call fcn.006c7eb0
mov esi, esp
push 0
push 0
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x14]
call eax
cmp esi, esp
call fcn.006c7eb0
mov eax, 1
jmp 0x4375d4
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 4], 0
jne 0x437437
push 0x335
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcolemisc.cpp
call fcn.00442350
test eax, eax
je 0x437437
int3
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 0
jne 0x437454
push 0x336
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcolemisc.cpp
call fcn.00442350
test eax, eax
je 0x437454
int3
mov esi, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x1c]
call eax
cmp esi, esp
call fcn.006c7eb0
test eax, eax
je 0x437489
xor eax, eax
jmp 0x4375d4
mov eax, 1
jmp 0x4375d4
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 4], 0
jne 0x4374b0
push 0x340
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcolemisc.cpp
call fcn.00442350
test eax, eax
je 0x4374b0
int3
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
jne 0x4374cd
push 0x341
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcolemisc.cpp
call fcn.00442350
test eax, eax
je 0x4374cd
int3
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00406d80
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
lea ecx, [ebp - 0x98]
call fcn.00406d80
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x437514
lea ecx, [ebp - 0x98]
call fcn.00406050
mov dword [ebp - 0xac], eax
jmp 0x43751e
mov dword [ebp - 0xac], 0
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 4], 0
je 0x43753a
lea ecx, [ebp - 0x8c]
call fcn.00406050
mov dword [ebp - 0xb0], eax
jmp 0x437544
mov dword [ebp - 0xb0], 0
mov esi, esp
push 0
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp esi, esp
call fcn.006c7eb0
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x98]
call fcn.00406500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.00406500
mov eax, dword [ebp - 0xa0]
jmp 0x4375d4
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 4], 0
je 0x43759b
xor eax, eax
jmp 0x4375d4
mov esi, esp
push 0
movzx edx, word [ebp + 8]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ole32.dll_OleDuplicateData]
cmp esi, esp
call fcn.006c7eb0
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
jne 0x4375cb
xor eax, eax
jmp 0x4375d4
mov eax, 1
jmp 0x4375d4
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x437610]
call fcn.006c7e50
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006c31f0
add esp, 0xb0
cmp ebp, esp
call fcn.006c7eb0
mov esp, ebp
pop ebp
ret 0xc