Function at 0x100074c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10259e96
push eax
mov eax, dword [0x1030ceb0]
mov dword fs:[0], esp
sub esp, 0x40
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov esi, ecx
je 0x10007502
push str.CMailHandle::RepackMail:__Start_to_decrypt__r_n
push str.CMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
mov eax, dword [esi + 0x28]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [eax + 0x19c], ebx
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], ebx
push ecx
mov ecx, dword [esi + 0x28]
call fcn.10023a20
mov edx, dword [esi + 0x28]
mov eax, dword [eax]
lea ecx, [esi + 0x2c]
mov byte [esp + 0x58], 1
mov edx, dword [edx + 0x150]
mov dword [esp + 0x20], ecx
push edx
lea edx, [esp + 0x34]
push edx
push eax
call fcn.1005ed00
test eax, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], bl
sete byte [esp + 0x13]
call fcn.10090bf0
cmp byte [esp + 0x13], bl
jne 0x10007894
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x100078ed
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x28], eax
mov eax, dword [0x10309e1c]
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x100075ca
mov eax, dword [esp + 0x34]
xor ebp, ebp
cmp eax, ebx
jle 0x100075ca
xor edi, edi
mov eax, dword [esp + 0x30]
push ebx
push ebx
push ebx
mov eax, dword [edi + eax + 4]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call fcn.10132900
add esp, 0x28
cmp eax, ebx
je 0x100075be
inc dword [esp + 0x14]
mov eax, dword [esp + 0x34]
inc ebp
add edi, 0xc
cmp ebp, eax
jl 0x1000759c
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x5c], 2
mov edi, dword [ecx + 0x70]
call fcn.10007c70
mov ecx, dword [eax]
mov eax, dword [esi + 0x28]
push edi
lea edi, [esp + 0x20]
mov edx, dword [eax + 0x68]
mov ebp, dword [eax + 0x6c]
mov eax, dword [eax + 0x54]
push edi
lea edi, [esp + 0x20]
mov byte [esp + 0x60], 3
push edi
push ecx
push edx
push ebp
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.1000c8a0
add esp, 0x24
lea ecx, [esp + 0x24]
mov edi, eax
mov byte [esp + 0x58], 2
call fcn.10090bf0
cmp dword [0x1030ceb0], ebx
je 0x10007694
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push edi
push str.CMailHandle::RepackMail__DecryptMailDoc__Ret:_d__Decrypt:_d__OutSize:_d_
push str.SmtpMail
push 4
push 0x1030c61c
call fcn.100a65e0
mov eax, dword [0x1030ceb0]
add esp, 0x1c
cmp eax, ebx
je 0x10007694
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x28]
push eax
push str.CMailHandle::RepackMail:__Decrypt_Mail_take_takes__d
push str.CMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
mov eax, dword [0x10309e1c]
mov ebp, dword [esp + 0x60]
cmp eax, ebx
je 0x100076d6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp edx, eax
jbe 0x100076b4
mov dword [ebp], 1
cmp dword [ebp], ebx
je 0x100076d6
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 0x6c]
mov edx, dword [eax + 0x54]
push ecx
push 3
push ebx
push edx
push str.Mail_whitelist_policy_exception.Encrypted_File_failed_to_decrypt.
mov ecx, 0x102f70c8
call fcn.10018fe0
cmp edi, ebx
je 0x10007946
cmp dword [esp + 0x18], ebx
je 0x10007a06
cmp dword [ebp], ebx
jne 0x10007ac6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x28]
mov ebp, eax
lea eax, [esp + 0x60]
push eax
call fcn.10023970
mov ecx, dword [esi + 0x28]
push eax
add ecx, 0x1c4
mov byte [esp + 0x5c], 0xa
call fcn.10090d80
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 2
call fcn.10090bf0
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x28]
push edx
mov edi, dword [ecx + 0x1c4]
call fcn.10023a20
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push edi
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x64], 0xb
call fcn.1005f420
mov edi, eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x60], edi
mov byte [esp + 0x58], 2
call fcn.10090bf0
cmp edi, ebx
je 0x10007b86
mov edx, dword [esi + 0x28]
mov edi, 1
lea ecx, [esi + 0x100]
mov dword [edx + 0x19c], edi
mov eax, dword [esi + 0x28]
add eax, 0x1c4
push eax
call fcn.10090d80
lea ecx, [esp + 0x2c]
mov dword [esi + 0xf4], edi
mov dword [esi + 0x128], edi
call fcn.10010250
mov eax, dword [esi + 0x120]
add esi, 0xd8
push eax
push esi
mov byte [esp + 0x60], 0xe
call fcn.10010350
mov eax, dword [0x1030ceb0]
add esp, 8
cmp eax, ebx
je 0x100077eb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
push eax
push str.CMailHandle::RepackMail:__Finish_to_Repack__Takes__d._Finish_to_decrypt__r_n
push str.CMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 2
call fcn.10010340
mov esi, dword [esp + 0x40]
mov byte [esp + 0x58], bl
cmp esi, ebx
je 0x10007843
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], esi
cmp eax, ebx
je 0x1000783a
lea ebp, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x58], 0xf
call fcn.10090bf0
lea ecx, [esi + 4]
mov byte [esp + 0x58], bl
call fcn.10090bf0
add esi, 0xc
dec ebp
mov dword [esp + 0x24], esi
jne 0x10007813
mov esi, dword [esp + 0x40]
push esi
call fcn.1024cbfa
add esp, 4
mov esi, dword [esp + 0x30]
or ebp, 0xffffffff
cmp esi, ebx
mov dword [esp + 0x58], ebp
je 0x10007c42
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], esi
cmp eax, ebx
je 0x10007c39
lea ebx, [eax]
mov edi, 0x10
lea ecx, [esi + 8]
mov dword [esp + 0x58], edi
call fcn.10090bf0
lea ecx, [esi + 4]
mov dword [esp + 0x58], ebp
call fcn.10090bf0
add esi, 0xc
dec ebx
mov dword [esp + 0x24], esi
jne 0x1000786d
jmp 0x10007c35
cmp dword [0x1030ceb0], ebx
je 0x100078b5
push str.CMailHandle::RepackMail:__Extract_attachment_failed__r_n
push str.CMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
mov esi, dword [esp + 0x30]
mov dword [esp + 0x60], ebx
cmp esi, ebx
mov dword [esp + 0x58], 0xffffffff
je 0x10007c42
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x10007c39
lea ebx, [eax]
mov ecx, esi
call fcn.10007e10
add esi, 0xc
dec ebx
jne 0x100078db
jmp 0x10007c35
cmp dword [0x1030ceb0], ebx
je 0x10007912
push str.CMailHandle::RepackMail:__No_attachment__r_n
push str.CMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
mov eax, dword [esp + 0x44]
add esp, 0x10
mov esi, dword [esp + 0x30]
mov dword [esp + 0x60], ebx
cmp esi, ebx
mov dword [esp + 0x58], 0xffffffff
je 0x10007c42
cmp eax, ebx
je 0x10007c39
lea ebx, [eax]
mov ecx, esi
call fcn.10007e10
add esi, 0xc
dec ebx
jne 0x10007934
jmp 0x10007c35
cmp dword [0x1030ceb0], ebx
je 0x10007967
push str.CMailHandle::RepackMail:__Decrypt_failed__r_n
push str.CMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
mov esi, dword [esp + 0x40]
mov dword [esp + 0x60], ebx
cmp esi, ebx
mov byte [esp + 0x58], bl
je 0x100079b5
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], esi
cmp eax, ebx
je 0x100079ac
lea ebp, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x58], 4
call fcn.10090bf0
lea ecx, [esi + 4]
mov byte [esp + 0x58], bl
call fcn.10090bf0
add esi, 0xc
dec ebp
mov dword [esp + 0x28], esi
jne 0x10007985
mov esi, dword [esp + 0x40]
push esi
call fcn.1024cbfa
add esp, 4
mov esi, dword [esp + 0x30]
or ebp, 0xffffffff
cmp esi, ebx
mov dword [esp + 0x58], ebp
je 0x10007c42
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], esi
cmp eax, ebx
je 0x10007c39
lea ebx, [eax]
mov edi, 5
lea ecx, [esi + 8]
mov dword [esp + 0x58], edi
call fcn.10090bf0
lea ecx, [esi + 4]
mov dword [esp + 0x58], ebp
call fcn.10090bf0
add esi, 0xc
dec ebx
mov dword [esp + 0x28], esi
jne 0x100079df
jmp 0x10007c35
cmp dword [0x1030ceb0], ebx
je 0x10007a27
push str.CMailHandle::RepackMail:__Neednt_to_decrypt__r_n
push str.CMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
mov esi, dword [esp + 0x40]
mov dword [esp + 0x60], ebx
cmp esi, ebx
mov byte [esp + 0x58], bl
je 0x10007a75
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], esi
cmp eax, ebx
je 0x10007a6c
lea ebp, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x58], 6
call fcn.10090bf0
lea ecx, [esi + 4]
mov byte [esp + 0x58], bl
call fcn.10090bf0
add esi, 0xc
dec ebp
mov dword [esp + 0x28], esi
jne 0x10007a45
mov esi, dword [esp + 0x40]
push esi
call fcn.1024cbfa
add esp, 4
mov esi, dword [esp + 0x30]
or ebp, 0xffffffff
cmp esi, ebx
mov dword [esp + 0x58], ebp
je 0x10007c42
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], esi
cmp eax, ebx
je 0x10007c39
lea ebx, [eax]
mov edi, 7
lea ecx, [esi + 8]
mov dword [esp + 0x58], edi
call fcn.10090bf0
lea ecx, [esi + 4]
mov dword [esp + 0x58], ebp
call fcn.10090bf0
add esi, 0xc
dec ebx
mov dword [esp + 0x28], esi
jne 0x10007a9f
jmp 0x10007c35
cmp dword [0x1030ceb0], ebx
je 0x10007ae7
push str.CMailHandle::RepackMail:__Exist_Fail_Decrypt__r_n
push str.CMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
mov esi, dword [esp + 0x40]
mov dword [esp + 0x60], ebx
cmp esi, ebx
mov byte [esp + 0x58], bl
je 0x10007b35
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], esi
cmp eax, ebx
je 0x10007b2c
lea ebp, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x58], 8
call fcn.10090bf0
lea ecx, [esi + 4]
mov byte [esp + 0x58], bl
call fcn.10090bf0
add esi, 0xc
dec ebp
mov dword [esp + 0x28], esi
jne 0x10007b05
mov esi, dword [esp + 0x40]
push esi
call fcn.1024cbfa
add esp, 4
mov esi, dword [esp + 0x30]
or ebp, 0xffffffff
cmp esi, ebx
mov dword [esp + 0x58], ebp
je 0x10007c42
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], esi
cmp eax, ebx
je 0x10007c39
lea ebx, [eax]
mov edi, 9
lea ecx, [esi + 8]
mov dword [esp + 0x58], edi
call fcn.10090bf0
lea ecx, [esi + 4]
mov dword [esp + 0x58], ebp
call fcn.10090bf0
add esi, 0xc
dec ebx
mov dword [esp + 0x28], esi
jne 0x10007b5f
jmp 0x10007c35
cmp dword [0x1030ceb0], ebx
je 0x10007ba7
push str.CMailHandle::RepackMail:__ReplaceAndSave_attachment_failed__r_n
push str.CMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
mov esi, dword [esp + 0x40]
mov byte [esp + 0x58], bl
cmp esi, ebx
je 0x10007bf1
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], esi
cmp eax, ebx
je 0x10007be8
lea ebp, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x58], 0xc
call fcn.10090bf0
lea ecx, [esi + 4]
mov byte [esp + 0x58], bl
call fcn.10090bf0
add esi, 0xc
dec ebp
mov dword [esp + 0x24], esi
jne 0x10007bc1
mov esi, dword [esp + 0x40]
push esi
call fcn.1024cbfa
add esp, 4
mov esi, dword [esp + 0x30]
or ebp, 0xffffffff
cmp esi, ebx
mov dword [esp + 0x58], ebp
je 0x10007c42
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], esi
cmp eax, ebx
je 0x10007c39
lea ebx, [eax]
mov edi, 0xd
lea ecx, [esi + 8]
mov dword [esp + 0x58], edi
call fcn.10090bf0
lea ecx, [esi + 4]
mov dword [esp + 0x58], ebp
call fcn.10090bf0
add esi, 0xc
dec ebx
mov dword [esp + 0x24], esi
jne 0x10007c13
mov esi, dword [esp + 0x30]
push esi
call fcn.1024cbfa
add esp, 4
mov ecx, dword [esp + 0x20]
call fcn.10060670
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 4