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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1025d73d
push eax
mov eax, dword [0x1030ceb0]
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0xf8]
cmp eax, ebx
je 0x10037bad
mov eax, dword [edi + 0x24]
push eax
push str.CUnsendMailHandle::ParseAndRepackMail:_Start_to_handle_mailfile__s__r_n
push str.CUnsendMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
lea ecx, [esp + 0x3c]
call fcn.100c00d0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xf0], ebx
call esi
mov eax, dword [edi + 0x24]
lea ecx, [esp + 0x3c]
push eax
call fcn.1005fc30
test eax, eax
jne 0x10037c1a
mov dword [edi + 0x50], 1
mov eax, dword [0x1030ceb0]
cmp eax, ebx
je 0x10037bff
push str.CUnsendMailHandle::ParseAndRepackMail::_Parse_mail_file_failed_r_n
push str.CUnsendMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
lea ecx, [esp + 0x3c]
mov dword [esp + 0xf0], 0xffffffff
call fcn.100c0240
xor eax, eax
jmp 0x10038237
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call fcn.10060600
push eax
lea ecx, [edi + 0x14]
mov byte [esp + 0xf4], 1
call fcn.10090d80
lea ecx, [esp + 0x10]
mov byte [esp + 0xf0], bl
call fcn.10090bf0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x3c]
push edx
call fcn.100608e0
push eax
lea ecx, [edi + 0x10]
mov byte [esp + 0xf4], 2
call fcn.10090d80
lea ecx, [esp + 0x10]
mov byte [esp + 0xf0], bl
call fcn.10090bf0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x3c]
push eax
call fcn.10060800
push eax
lea ecx, [edi + 0xc]
mov byte [esp + 0xf4], 3
call fcn.10090d80
lea ecx, [esp + 0x10]
mov byte [esp + 0xf0], bl
call fcn.10090bf0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call fcn.10060720
push eax
lea ecx, [edi + 8]
mov byte [esp + 0xf4], 4
call fcn.10090d80
lea ecx, [esp + 0x10]
mov byte [esp + 0xf0], bl
call fcn.10090bf0
cmp dword [0x1030ceb0], ebx
je 0x10037d19
push str.CUnsendMailHandle::ParseAndRepackMail:_Finish_to_parse_mailfile__r_n
push str.CUnsendMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
mov eax, dword [0x1030ceb0]
add esp, 0x10
cmp eax, ebx
je 0x10037d19
push str.CUnsendMailHandle::ParseAndRepackMail:__Start_to_decrypt__r_n
push str.CUnsendMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
push ebp
mov dword [edi + 0x1c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [edi + 0x4c]
lea edx, [esp + 0x1c]
push ebx
push edx
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x100], 5
call fcn.1005ed00
test eax, eax
je 0x10037efc
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x10037f54
call esi
mov edi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0xfc]
lea edx, [esp + 0x3c]
push ebx
push edx
mov eax, dword [ecx + 0x64]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x58]
push eax
push ecx
lea edx, [esp + 0x44]
push ebx
lea eax, [esp + 0x38]
push edx
push eax
mov byte [esp + 0x118], 6
mov dword [esp + 0x60], ebx
call fcn.1000c8a0
mov ebp, eax
mov eax, dword [0x1030ceb0]
add esp, 0x24
cmp eax, ebx
je 0x10037ddf
call esi
sub eax, edi
push eax
push str.CUnsendMailHandle::ParseAndRepackMail:__Decrypt_Mail_take_takes__d
push str.CUnsendMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
mov eax, dword [0x1030ceb0]
add esp, 0x14
cmp ebp, ebx
je 0x10037fac
cmp dword [esp + 0x14], ebx
je 0x10038075
call esi
mov ebp, dword [esp + 0xfc]
mov edi, eax
lea edx, [esp + 0x2c]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x4c]
push eax
push edx
push ecx
lea ecx, [esp + 0x4c]
call fcn.1005f420
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x1003813e
mov dword [ebp + 0x1c], 1
mov eax, dword [0x1030ceb0]
cmp eax, ebx
je 0x10037e4c
call esi
sub eax, edi
push eax
push str.CUnsendMailHandle::ParseAndRepackMail:__Finish_to_Repack__Takes__d._Finish_to_decrypt__r_n
push str.CUnsendMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], 1
cmp esi, ebx
mov byte [esp + 0xf4], 5
je 0x10037ea9
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x10037ea0
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 0xd
call fcn.10090bf0
lea ecx, [esi + 4]
mov byte [esp + 0xf4], 5
call fcn.10090bf0
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x10037e72
mov esi, dword [esp + 0x2c]
push esi
call fcn.1024cbfa
add esp, 4
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xf4], bl
cmp esi, ebx
je 0x10038207
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x100381fe
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 0xe
call fcn.10090bf0
lea ecx, [esi + 4]
mov byte [esp + 0xf4], bl
call fcn.10090bf0
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x10037ece
jmp 0x100381fa
cmp dword [0x1030ceb0], ebx
je 0x10037f1d
push str.CUnsendMailHandle::ParseAndRepackMail:__Extract_attachment_failed__r_n
push str.CUnsendMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
cmp esi, ebx
mov byte [esp + 0xf4], bl
je 0x10038207
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x100381fe
lea edi, [eax]
mov ecx, esi
call fcn.10007e10
add esi, 0xc
dec edi
jne 0x10037f42
jmp 0x100381fa
cmp dword [0x1030ceb0], ebx
je 0x10037f79
push str.CUnsendMailHandle::ParseAndRepackMail:__No_attachment__r_n
push str.CUnsendMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
mov eax, dword [esp + 0x30]
add esp, 0x10
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
cmp esi, ebx
mov byte [esp + 0xf4], bl
je 0x10038207
cmp eax, ebx
je 0x100381fe
lea edi, [eax]
mov ecx, esi
call fcn.10007e10
add esi, 0xc
dec edi
jne 0x10037f9a
jmp 0x100381fa
cmp eax, ebx
je 0x10037fc9
push str.CUnsendMailHandle::ParseAndRepackMail:__Decrypt_failed__r_n
push str.CUnsendMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
cmp esi, ebx
mov byte [esp + 0xf4], 5
je 0x10038022
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x10038019
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 7
call fcn.10090bf0
lea ecx, [esi + 4]
mov byte [esp + 0xf4], 5
call fcn.10090bf0
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x10037feb
mov esi, dword [esp + 0x2c]
push esi
call fcn.1024cbfa
add esp, 4
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xf4], bl
cmp esi, ebx
je 0x10038207
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x100381fe
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 8
call fcn.10090bf0
lea ecx, [esi + 4]
mov byte [esp + 0xf4], bl
call fcn.10090bf0
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x10038047
jmp 0x100381fa
cmp eax, ebx
je 0x10038092
push str.CUnsendMailHandle::ParseAndRepackMail:__Neednt_to_decrypt__r_n
push str.CUnsendMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
cmp esi, ebx
mov byte [esp + 0xf4], 5
je 0x100380eb
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x100380e2
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 9
call fcn.10090bf0
lea ecx, [esi + 4]
mov byte [esp + 0xf4], 5
call fcn.10090bf0
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x100380b4
mov esi, dword [esp + 0x2c]
push esi
call fcn.1024cbfa
add esp, 4
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xf4], bl
cmp esi, ebx
je 0x10038207
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x100381fe
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 0xa
call fcn.10090bf0
lea ecx, [esi + 4]
mov byte [esp + 0xf4], bl
call fcn.10090bf0
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x10038110
jmp 0x100381fa
cmp dword [0x1030ceb0], ebx
je 0x1003815f
push str.CUnsendMailHandle::ParseAndRepackMail:__ReplaceAndSave_attachment_failed__r_n
push str.CUnsendMailHandle
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
mov esi, dword [esp + 0x2c]
mov byte [esp + 0xf4], 5
cmp esi, ebx
je 0x100381b4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x100381ab
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 0xb
call fcn.10090bf0
lea ecx, [esi + 4]
mov byte [esp + 0xf4], 5
call fcn.10090bf0
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x1003817d
mov esi, dword [esp + 0x2c]
push esi
call fcn.1024cbfa
add esp, 4
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xf4], bl
cmp esi, ebx
je 0x10038207
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x100381fe
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 0xc
call fcn.10090bf0
lea ecx, [esi + 4]
mov byte [esp + 0xf4], bl
call fcn.10090bf0
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x100381d1
mov esi, dword [esp + 0x1c]
push esi
call fcn.1024cbfa
add esp, 4
mov eax, dword [esp + 0xfc]
lea ecx, [esp + 0x40]
mov dword [eax + 0x50], 1
call fcn.10060670
lea ecx, [esp + 0x40]
mov dword [esp + 0xf4], 0xffffffff
call fcn.100c0240
mov eax, dword [esp + 0x18]
pop ebp
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xe8
ret 4