Function at 0x10043bb0
Capabilities:
Copy file
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018e28d
push eax
mov eax, dword [0x10201328]
mov dword fs:[0], esp
sub esp, 0xa08
push esi
xor esi, esi
cmp eax, esi
je 0x10043bf8
mov eax, dword [esp + 0xa24]
push eax
push str.CMailControlHelper::LogMail__________08x_
push str.maillog
push 0xffffffffffffffff
push 0x10200a94
call fcn.1008b760
add esp, 0x14
push ebx
push ebp
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1fa]
mov word [esp + 0x1f8], si
mov word [esp + 0x400], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x402]
mov word [esp + 0x608], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x60a]
mov ebp, dword [esp + 0xa2c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x812]
mov word [esp + 0x810], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp]
mov dword [esp + 0x18], esi
cmp eax, esi
je 0x10044555
lea ecx, [esp + 0x34]
call fcn.100445f0
mov edi, dword [esp + 0xa28]
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
mov dword [esp + 0xa24], esi
call fcn.100483d0
lea edx, [esp + 0x3c]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.1008fd10
add esp, 8
mov eax, dword [esp + 0x7c]
mov byte [esp + 0xa20], 1
cmp eax, esi
jne 0x10043cc9
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], esi
and al, 0xfe
mov dword [ebp + 0x10], eax
mov edx, dword [esp + 0x10]
push 2
lea ecx, [esp + 0x1fc]
push 0x104
push ecx
push edx
call fcn.10043630
add esp, 0x10
test eax, eax
je 0x1004450f
mov ecx, dword [esp + 0x10]
push 5
lea eax, [esp + 0x404]
push 0x104
push eax
push ecx
call fcn.10043630
add esp, 0x10
test eax, eax
je 0x1004450f
mov eax, dword [esp + 0x10]
push 4
lea edx, [esp + 0x60c]
push 0x104
push edx
push eax
call fcn.10043630
add esp, 0x10
test eax, eax
je 0x1004450f
mov edx, dword [esp + 0x10]
push 3
lea ecx, [esp + 0x814]
push 0x104
push ecx
push edx
call fcn.10043630
add esp, 0x10
test eax, eax
je 0x1004450f
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.10045250
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x1f8]
push esi
push ecx
push eax
call edi
test eax, eax
lea ecx, [esp + 0x20]
sete bl
call fcn.10077520
mov eax, dword [0x10201328]
test bl, bl
jne 0x10044436
cmp eax, esi
je 0x10043dc2
mov edx, dword [esp + 0x7c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 4]
push edx
mov edx, dword [ebp]
push eax
push ecx
push edx
push str.CMailControlHelper::LogMail_1___lu____lu____08x____lu_
push str.maillog
push 0xffffffffffffffff
push 0x10200a94
call fcn.1008b760
add esp, 0x20
push 0x101ec534
lea ecx, [esp + 0x18]
call fcn.10076d80
mov eax, dword [ebp + 0xc]
mov byte [esp + 0xa20], 2
cmp eax, esi
je 0x10043e2d
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x14]
push eax
push str.Ignore_text_content___lu_bytes_.
push ecx
call fcn.1007a4a0
mov eax, dword [0x10201328]
add esp, 0xc
cmp eax, esi
je 0x10043e18
push str.CMailControlHelper::LogMail__not_log_Body__
push str.Maillog
push 0xffffffffffffffff
push 0x10200a94
call fcn.1008b760
add esp, 0x10
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1f8]
push edx
push eax
call fcn.10043a90
add esp, 8
lea ecx, [esp + 0x14c]
call fcn.100a4890
lea ecx, [esp + 0x1f8]
mov byte [esp + 0xa20], 3
push ecx
lea ecx, [esp + 0x150]
call fcn.100a4d40
test eax, eax
je 0x10044448
lea edx, [esp + 0x400]
lea ecx, [esp + 0x14c]
push edx
call fcn.100a6630
lea ecx, [esp + 0x14c]
mov byte [esp + 0xa20], 2
call fcn.100a4a00
cmp dword [ebp + 8], esi
je 0x10043f22
cmp dword [0x10201328], esi
je 0x10043eaf
push str.CMailControlHelper::LogMail__not_log_attach__
push str.Maillog
push 0xffffffffffffffff
push 0x10200a94
call fcn.1008b760
add esp, 0x10
lea eax, [esp + 0x400]
lea ecx, [esp + 0x20]
push eax
call fcn.10076d80
lea ecx, [esp + 0x1f8]
mov byte [esp + 0xa20], 4
push ecx
lea ecx, [esp + 0x28]
call fcn.10076d80
mov eax, dword [esp + 0x20]
mov byte [esp + 0xa20], 5
cmp dword [eax - 8], esi
je 0x10044493
mov ecx, dword [esp + 0x24]
cmp dword [ecx - 8], esi
je 0x10044493
push esi
push ecx
push eax
call edi
lea ecx, [esp + 0x24]
mov byte [esp + 0xa20], 4
call fcn.10077520
lea ecx, [esp + 0x20]
mov byte [esp + 0xa20], 2
call fcn.10077520
cmp dword [0x10201328], esi
je 0x10043f66
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x5c]
push eax
push ecx
push edx
push str.CMailControlHelper::LogMail_2___08x___s____s___s___s___s____08x_
push str.Maillog
push 0xffffffffffffffff
push 0x10200a94
call fcn.1008b760
add esp, 0x2c
mov edx, dword [esp + 0x44]
mov ecx, 0x2f
xor eax, eax
lea edi, [esp + 0x90]
mov dword [esp + 0x8c], esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x118], eax
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x114], edx
mov edx, dword [esp + 0xa30]
lea eax, [esp + 0xe4]
push eax
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
call fcn.100506a0
mov ecx, dword [ebp + 0x14]
lea edx, [ebp + 0x18]
push 0x27
lea eax, [esp + 0x9c]
push edx
push eax
mov dword [esp + 0x104], ecx
call fcn.10060183
mov ecx, dword [ebp + 0x68]
add esp, 0x10
lea edx, [esp + 0xfc]
mov dword [esp + 0x8c], ecx
push esi
push esi
push esi
push edx
mov ecx, 0x101f0530
call fcn.100367e0
mov eax, dword [esp + 0x5c]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x10044020
mov dword [esp + 0x124], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx - 8]
cmp eax, esi
je 0x10044032
mov dword [esp + 0x128], eax
mov edx, dword [esp + 0x64]
mov eax, dword [edx - 8]
cmp eax, esi
je 0x10044044
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x68]
mov eax, dword [eax - 8]
cmp eax, esi
je 0x10044056
mov dword [esp + 0x130], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx - 8]
cmp eax, esi
je 0x10044068
mov dword [esp + 0x134], eax
lea edx, [esp + 0x2c]
push esi
push edx
lea eax, [esp + 0x408]
push esi
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
call fcn.1004ecc0
lea ecx, [esp + 0x38]
push esi
push ecx
lea edx, [esp + 0x210]
push esi
push edx
call fcn.1004ecc0
mov eax, dword [ebp + 0xc]
add esp, 0x20
cmp eax, esi
je 0x100440ab
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 8]
jmp 0x100440b2
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx - 8]
mov edx, dword [esp + 0x2c]
mov ecx, dword [0x1019b4e4]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x13c], edx
mov dword [esp + 0x140], eax
xor edi, edi
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x7c]
xor ebp, ebp
cmp eax, esi
mov byte [esp + 0xa20], 6
jle 0x10044130
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esi + edx + 8]
mov ecx, dword [eax - 8]
add edi, ebx
test ecx, ecx
jle 0x10044110
push 0x101c515c
lea ecx, [esp + 0x20]
call fcn.10078170
mov ecx, dword [esp + 0x78]
lea edx, [esi + ecx + 0x14]
lea ecx, [esp + 0x1c]
push edx
call fcn.100781d0
mov eax, dword [esp + 0x7c]
inc ebp
add esi, 0x20
cmp ebp, eax
jl 0x100440ed
xor esi, esi
cmp eax, esi
mov dword [esp + 0x144], edi
mov dword [esp + 0x148], eax
jne 0x10044158
cmp dword [esp + 0xa30], 2
jne 0x10044158
mov eax, 1
mov dword [esp + 0x148], eax
mov ecx, dword [esp + 0x134]
lea eax, [eax + eax*4]
mov ebp, dword [esp + 0x12c]
mov ebx, dword [esp + 0x128]
lea eax, [eax + eax*8]
mov edi, dword [esp + 0x124]
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0x130]
add edx, eax
add edx, ebp
add edx, ebx
add edx, edi
lea eax, [edx + edx + 0xca]
push eax
call fcn.1017c342
mov ebp, eax
add esp, 4
cmp ebp, esi
je 0x100444d8
mov eax, dword [esp + 0x148]
mov edx, dword [esp + 0x134]
mov ebx, dword [esp + 0x128]
mov edi, dword [esp + 0x124]
lea eax, [eax + eax*4]
lea esi, [esp + 0x8c]
lea ecx, [eax + eax*8]
lea eax, [edx + ecx*2]
mov edx, dword [esp + 0x130]
mov ecx, dword [esp + 0x12c]
add eax, edx
add eax, ecx
add eax, ebx
add eax, edi
mov edi, ebp
lea ecx, [eax + eax + 0xca]
xor eax, eax
mov dword [esp + 0x30], ecx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, 0x30
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x124]
test eax, eax
je 0x1004422e
push eax
mov eax, dword [esp + 0x60]
lea ecx, [ebp + 0xc0]
push eax
push ecx
call fcn.10060183
add esp, 0xc
mov eax, dword [esp + 0x128]
test eax, eax
je 0x10044255
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [ebp + 0x98]
push edx
lea ecx, [ebp + eax*2 + 0xc2]
push ecx
call fcn.10060183
add esp, 0xc
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x10044284
mov esi, dword [ebp + 0x98]
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [ebp + 0x9c]
add eax, esi
push edx
lea ecx, [ebp + eax*2 + 0xc4]
push ecx
call fcn.10060183
add esp, 0xc
mov eax, dword [esp + 0x130]
test eax, eax
je 0x100442bb
mov edi, dword [ebp + 0x9c]
mov esi, dword [ebp + 0x98]
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [ebp + 0xa0]
push edx
add eax, edi
add eax, esi
lea ecx, [ebp + eax*2 + 0xc6]
push ecx
call fcn.10060183
add esp, 0xc
mov eax, dword [esp + 0x134]
test eax, eax
je 0x100442fa
mov ebx, dword [ebp + 0xa0]
mov edi, dword [ebp + 0x9c]
mov esi, dword [ebp + 0x98]
push eax
mov eax, dword [ebp + 0xa4]
mov edx, dword [esp + 0x70]
add eax, ebx
push edx
add eax, edi
add eax, esi
lea ecx, [ebp + eax*2 + 0xc8]
push ecx
call fcn.10060183
add esp, 0xc
mov edx, dword [ebp + 0xa8]
mov eax, dword [ebp + 0xa4]
mov ebx, dword [ebp + 0xa0]
mov edi, dword [ebp + 0x9c]
mov esi, dword [ebp + 0x98]
add edx, eax
mov ecx, dword [esp + 0x7c]
add edx, ebx
add edx, edi
xor ebx, ebx
add edx, esi
test ecx, ecx
lea eax, [ebp + edx*2 + 0xca]
mov dword [esp + 0x18], eax
jle 0x1004439d
lea edi, [eax + 0x14]
xor esi, esi
jmp 0x10044340
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xa2c]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x1004435b
push 0
push 0
push eax
call fcn.100506f0
add esp, 0xc
mov edx, dword [esp + 0x78]
push 0x4f
mov eax, dword [esi + edx + 8]
mov dword [edi - 4], eax
mov ecx, dword [esp + 0x7c]
mov eax, dword [esi + ecx + 0x14]
push eax
push edi
call fcn.10060183
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x88]
add esp, 0xc
inc ebx
add esi, 0x20
add edx, 0xb4
add edi, 0xb4
cmp ebx, eax
mov dword [esp + 0x18], edx
jl 0x1004433c
mov edx, dword [esp + 0xa2c]
mov eax, dword [edx + 0xc]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x100443b3
mov eax, dword [esp + 0x70]
mov ecx, dword [eax - 8]
lea edx, [esp + 0x608]
add ecx, ecx
push ecx
push eax
push edx
call fcn.100507b0
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea ecx, [esp + 0x810]
push eax
push ebp
push ecx
call fcn.100507b0
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 1
mov byte [esp + 0xa20], 2
call fcn.10077520
lea ecx, [esp + 0x14]
mov byte [esp + 0xa20], 1
call fcn.10077520
lea ecx, [esp + 0x10]
mov byte [esp + 0xa20], 0
call fcn.10077520
lea ecx, [esp + 0x34]
mov dword [esp + 0xa20], 0xffffffff
call fcn.100446b0
xor esi, esi
jmp 0x10044594
cmp eax, esi
je 0x10044530
push str.CMailControlHelper::LogMail_failed_2
jmp 0x1004451c
cmp dword [0x10201328], esi
je 0x10044469
push str.CMailControlHelper::LogMail_failed_3
push str.Maillog
push 0xffffffffffffffff
push 0x10200a94
call fcn.1008b760
add esp, 0x10
lea ecx, [esp + 0x14c]
mov byte [esp + 0xa20], 2
call fcn.100a4a00
lea ecx, [esp + 0x14]
mov byte [esp + 0xa20], 1
call fcn.10077520
jmp 0x10044530
cmp dword [0x10201328], esi
je 0x100444b4
push str.CMailControlHelper::LogMail_failed_60__
push str.Maillog
push 0xffffffffffffffff
push 0x10200a94
call fcn.1008b760
add esp, 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0xa20], 4
call fcn.10077520
lea ecx, [esp + 0x20]
mov byte [esp + 0xa20], 2
call fcn.10077520
jmp 0x1004447d
cmp dword [0x10201328], esi
je 0x100444f9
push str.CMailControlHelper::LogMail_new_BYTE_10__
push str.Maillog
push 0xffffffffffffffff
push 0x10200a94
call fcn.1008b760
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa20], 2
call fcn.10077520
jmp 0x1004447d
cmp dword [0x10201328], esi
je 0x10044530
push str.CMailControlHelper::LogMail_failed_1
push str.maillog
push 0xffffffffffffffff
push 0x10200a94
call fcn.1008b760
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0xa20], 0
call fcn.10077520
lea ecx, [esp + 0x34]
mov dword [esp + 0xa20], 0xffffffff
call fcn.100446b0
lea edx, [esp + 0x1f8]
push 1
push edx
call fcn.100518a0
lea eax, [esp + 0x408]
push 1
push eax
call fcn.100518a0
lea ecx, [esp + 0x618]
push 1
push ecx
call fcn.100518a0
lea edx, [esp + 0x828]
push 1
push edx
call fcn.100518a0
add esp, 0x20
mov eax, dword [0x10201328]
pop edi
pop ebp
cmp eax, esi
pop ebx
je 0x100445d6
mov esi, dword [esp + 0xc]
push esi
push str.CMailControlHelper::LogMail_____d_
push str.Maillog
push 0xffffffffffffffff
push 0x10200a94
call fcn.1008b760
add esp, 0x14
mov eax, esi
pop esi
mov ecx, dword [esp + 0xa08]
mov dword fs:[0], ecx
add esp, 0xa14
ret
mov ecx, dword [esp + 0xa0c]
mov eax, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0xa14
ret