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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1025b7bd
push eax
mov eax, dword [0x1030aa70]
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 0x100377fd
mov eax, dword [edi + 0x24]
push eax
push str.CUnsendMailHandle::ParseAndRepackMail:_Start_to_handle_mailfile__s__r_n
push str.CUnsendMailHandle
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
lea ecx, [esp + 0x3c]
call fcn.100be170
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.1005dd00
test eax, eax
jne 0x1003786a
mov dword [edi + 0x50], 1
mov eax, dword [0x1030aa70]
cmp eax, ebx
je 0x1003784f
push str.CUnsendMailHandle::ParseAndRepackMail::_Parse_mail_file_failed_r_n
push str.CUnsendMailHandle
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
lea ecx, [esp + 0x3c]
mov dword [esp + 0xf0], 0xffffffff
call fcn.100be2e0
xor eax, eax
jmp 0x10037e87
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call fcn.1005e6d0
push eax
lea ecx, [edi + 0x14]
mov byte [esp + 0xf4], 1
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0xf0], bl
call fcn.1008ec90
lea edx, [esp + 0x10]
lea ecx, [esp + 0x3c]
push edx
call fcn.1005e9b0
push eax
lea ecx, [edi + 0x10]
mov byte [esp + 0xf4], 2
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0xf0], bl
call fcn.1008ec90
lea eax, [esp + 0x10]
lea ecx, [esp + 0x3c]
push eax
call fcn.1005e8d0
push eax
lea ecx, [edi + 0xc]
mov byte [esp + 0xf4], 3
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0xf0], bl
call fcn.1008ec90
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call fcn.1005e7f0
push eax
lea ecx, [edi + 8]
mov byte [esp + 0xf4], 4
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0xf0], bl
call fcn.1008ec90
cmp dword [0x1030aa70], ebx
je 0x10037969
push str.CUnsendMailHandle::ParseAndRepackMail:_Finish_to_parse_mailfile__r_n
push str.CUnsendMailHandle
push 4
push 0x1030a1dc
call fcn.100a4680
mov eax, dword [0x1030aa70]
add esp, 0x10
cmp eax, ebx
je 0x10037969
push str.CUnsendMailHandle::ParseAndRepackMail:__Start_to_decrypt__r_n
push str.CUnsendMailHandle
push 4
push 0x1030a1dc
call fcn.100a4680
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.1005cdd0
test eax, eax
je 0x10037b4c
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x10037ba4
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 [0x1030aa70]
add esp, 0x24
cmp eax, ebx
je 0x10037a2f
call esi
sub eax, edi
push eax
push str.CUnsendMailHandle::ParseAndRepackMail:__Decrypt_Mail_take_takes__d
push str.CUnsendMailHandle
push 4
push 0x1030a1dc
call fcn.100a4680
mov eax, dword [0x1030aa70]
add esp, 0x14
cmp ebp, ebx
je 0x10037bfc
cmp dword [esp + 0x14], ebx
je 0x10037cc5
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.1005d4f0
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x10037d8e
mov dword [ebp + 0x1c], 1
mov eax, dword [0x1030aa70]
cmp eax, ebx
je 0x10037a9c
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 0x1030a1dc
call fcn.100a4680
add esp, 0x14
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], 1
cmp esi, ebx
mov byte [esp + 0xf4], 5
je 0x10037af9
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x10037af0
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 0xd
call fcn.1008ec90
lea ecx, [esi + 4]
mov byte [esp + 0xf4], 5
call fcn.1008ec90
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x10037ac2
mov esi, dword [esp + 0x2c]
push esi
call fcn.1024ac9a
add esp, 4
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xf4], bl
cmp esi, ebx
je 0x10037e57
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x10037e4e
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 0xe
call fcn.1008ec90
lea ecx, [esi + 4]
mov byte [esp + 0xf4], bl
call fcn.1008ec90
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x10037b1e
jmp 0x10037e4a
cmp dword [0x1030aa70], ebx
je 0x10037b6d
push str.CUnsendMailHandle::ParseAndRepackMail:__Extract_attachment_failed__r_n
push str.CUnsendMailHandle
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
cmp esi, ebx
mov byte [esp + 0xf4], bl
je 0x10037e57
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x10037e4e
lea edi, [eax]
mov ecx, esi
call fcn.10007e10
add esi, 0xc
dec edi
jne 0x10037b92
jmp 0x10037e4a
cmp dword [0x1030aa70], ebx
je 0x10037bc9
push str.CUnsendMailHandle::ParseAndRepackMail:__No_attachment__r_n
push str.CUnsendMailHandle
push 4
push 0x1030a1dc
call fcn.100a4680
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 0x10037e57
cmp eax, ebx
je 0x10037e4e
lea edi, [eax]
mov ecx, esi
call fcn.10007e10
add esi, 0xc
dec edi
jne 0x10037bea
jmp 0x10037e4a
cmp eax, ebx
je 0x10037c19
push str.CUnsendMailHandle::ParseAndRepackMail:__Decrypt_failed__r_n
push str.CUnsendMailHandle
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
cmp esi, ebx
mov byte [esp + 0xf4], 5
je 0x10037c72
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x10037c69
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 7
call fcn.1008ec90
lea ecx, [esi + 4]
mov byte [esp + 0xf4], 5
call fcn.1008ec90
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x10037c3b
mov esi, dword [esp + 0x2c]
push esi
call fcn.1024ac9a
add esp, 4
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xf4], bl
cmp esi, ebx
je 0x10037e57
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x10037e4e
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 8
call fcn.1008ec90
lea ecx, [esi + 4]
mov byte [esp + 0xf4], bl
call fcn.1008ec90
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x10037c97
jmp 0x10037e4a
cmp eax, ebx
je 0x10037ce2
push str.CUnsendMailHandle::ParseAndRepackMail:__Neednt_to_decrypt__r_n
push str.CUnsendMailHandle
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
cmp esi, ebx
mov byte [esp + 0xf4], 5
je 0x10037d3b
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x10037d32
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 9
call fcn.1008ec90
lea ecx, [esi + 4]
mov byte [esp + 0xf4], 5
call fcn.1008ec90
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x10037d04
mov esi, dword [esp + 0x2c]
push esi
call fcn.1024ac9a
add esp, 4
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xf4], bl
cmp esi, ebx
je 0x10037e57
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x10037e4e
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 0xa
call fcn.1008ec90
lea ecx, [esi + 4]
mov byte [esp + 0xf4], bl
call fcn.1008ec90
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x10037d60
jmp 0x10037e4a
cmp dword [0x1030aa70], ebx
je 0x10037daf
push str.CUnsendMailHandle::ParseAndRepackMail:__ReplaceAndSave_attachment_failed__r_n
push str.CUnsendMailHandle
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
mov esi, dword [esp + 0x2c]
mov byte [esp + 0xf4], 5
cmp esi, ebx
je 0x10037e04
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x10037dfb
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 0xb
call fcn.1008ec90
lea ecx, [esi + 4]
mov byte [esp + 0xf4], 5
call fcn.1008ec90
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x10037dcd
mov esi, dword [esp + 0x2c]
push esi
call fcn.1024ac9a
add esp, 4
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xf4], bl
cmp esi, ebx
je 0x10037e57
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x10037e4e
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0xf4], 0xc
call fcn.1008ec90
lea ecx, [esi + 4]
mov byte [esp + 0xf4], bl
call fcn.1008ec90
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x10037e21
mov esi, dword [esp + 0x1c]
push esi
call fcn.1024ac9a
add esp, 4
mov eax, dword [esp + 0xfc]
lea ecx, [esp + 0x40]
mov dword [eax + 0x50], 1
call fcn.1005e740
lea ecx, [esp + 0x40]
mov dword [esp + 0xf4], 0xffffffff
call fcn.100be2e0
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