Function at 0x4391c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ae9f0
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, 2
push edi
cmp dword [esi + 0x590], ecx
je 0x439239
mov eax, dword [0x4d5f90]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x5a4]
lea ecx, [esp + 0x64]
push eax
push str._s_BAD_Protocol_Error:_Store_received_in_wrong_state
push ecx
mov dword [esp + 0x68], 0
call fcn.004a0e91
mov edx, dword [esp + 0x70]
add esp, 0xc
mov ecx, esi
push edx
call fcn.0042da70
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004a3625
xor al, al
jmp 0x439b71
mov eax, dword [esi + 0x5b0]
xor ebx, ebx
cmp eax, ebx
je 0x439255
mov edx, dword [esi + 0x5b4]
sub edx, eax
sar edx, 2
cmp edx, 3
jae 0x4392a3
mov eax, dword [0x4d5f90]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x5a4]
lea ecx, [esp + 0x64]
push eax
push str._s_BAD_Protocol_Error:_Too_few_arguments
push ecx
mov dword [esp + 0x68], 1
call fcn.004a0e91
mov edx, dword [esp + 0x70]
add esp, 0xc
mov ecx, esi
push edx
call fcn.0042da70
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004a3625
xor al, al
jmp 0x439b71
mov al, byte [esi + 0x598]
test al, al
je 0x4392f7
mov eax, dword [0x4d5f90]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x5a4]
mov dword [esp + 0x5c], ecx
push eax
lea ecx, [esp + 0x68]
push str._s_NO__READONLY__Read_Only_access_granted
push ecx
call fcn.004a0e91
mov edx, dword [esp + 0x70]
add esp, 0xc
mov ecx, esi
push edx
call fcn.0042da70
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004a3625
xor al, al
jmp 0x439b71
mov al, byte [esp + 0x64]
mov dword [esp + 0x48], ebx
mov byte [esp + 0x44], al
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov cl, byte [esp + 0x64]
mov dword [esp + 0x5c], 3
mov byte [esp + 0x34], cl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
push 1
mov ecx, esi
mov byte [esp + 0x60], 4
call fcn.0042d370
mov edx, dword [esp + 0x64]
mov eax, dword [esi + 0x5b0]
test dl, dl
je 0x439514
mov ecx, dword [eax]
mov eax, dword [eax]
push edx
lea edx, [esp + 0x38]
mov ecx, dword [ecx]
mov eax, dword [eax]
push edx
mov ecx, dword [ecx - 8]
push ecx
push eax
mov ecx, esi
call fcn.0042a840
test al, al
jne 0x4393d0
mov eax, dword [0x4d5f90]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x5a4]
lea ecx, [esp + 0x64]
push eax
push str._s_NO_Store_Failure:_Invalid_ID_specified
push ecx
mov byte [esp + 0x68], 5
call fcn.004a0e91
mov edx, dword [esp + 0x70]
add esp, 0xc
mov ecx, esi
push edx
call fcn.0042da70
mov byte [esp + 0x5c], 4
lea ecx, [esp + 0x64]
call fcn.004a3625
mov eax, dword [esp + 0x38]
push eax
call fcn.004a2a3d
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x3c], ebx
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.004a2a3d
add esp, 8
xor al, al
jmp 0x439b71
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
xor ebp, ebp
mov edx, dword [esp + 0x38]
cmp edx, ebx
je 0x4394bf
mov edi, dword [esp + 0x3c]
sub edi, edx
sar edi, 2
cmp ebp, edi
jae 0x4394bf
mov edx, dword [edx + ebp*4]
lea edi, [ebp*4]
push edx
lea ecx, [esi + 0x78]
call fcn.00415e40
mov ecx, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.0041f4d0
mov eax, dword [esp + 0x48]
cmp dword [eax + edi], ebx
jne 0x4394b5
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add edx, edi
lea eax, [edx + 4]
cmp eax, ecx
je 0x439452
sub edx, eax
mov ebx, dword [eax]
mov dword [edx + eax], ebx
add eax, 4
cmp eax, ecx
jne 0x439442
mov ecx, dword [esp + 0x3c]
push ecx
add ecx, 0xfffffffc
push ecx
lea ecx, [esp + 0x3c]
call fcn.00443ee0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
sub eax, 4
dec ebp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
lea edx, [edi + eax]
lea eax, [edx + 4]
cmp eax, ecx
je 0x439490
sub edx, eax
mov edi, dword [eax]
mov dword [edx + eax], edi
add eax, 4
cmp eax, ecx
jne 0x439480
mov ecx, dword [esp + 0x4c]
push ecx
add ecx, 0xfffffffc
push ecx
lea ecx, [esp + 0x4c]
call fcn.00443ee0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
sub ecx, 4
xor ebx, ebx
mov dword [esp + 0x4c], ecx
inc ebp
jmp 0x4393da
mov ecx, dword [esp + 0x4c]
inc ebp
jmp 0x4393da
cmp eax, ebx
je 0x4394d3
mov edx, ecx
sub edx, eax
test edx, 0xfffffffc
jne 0x439579
mov eax, dword [0x4d5f90]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x5a4]
lea ecx, [esp + 0x64]
push eax
push str._s_NO_Store_Failure:_Invalid_message_set
push ecx
mov byte [esp + 0x68], 6
call fcn.004a0e91
mov edx, dword [esp + 0x70]
add esp, 0xc
mov ecx, esi
push edx
call fcn.0042da70
mov byte [esp + 0x5c], 4
lea ecx, [esp + 0x64]
jmp 0x4393a1
mov edx, dword [eax]
push ebx
mov ecx, dword [edx]
mov eax, dword [edx]
lea edx, [esp + 0x48]
mov ecx, dword [ecx - 8]
push edx
push ecx
push eax
mov ecx, esi
call fcn.0042a840
test al, al
jne 0x439571
mov eax, dword [0x4d5f90]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x5a4]
lea ecx, [esp + 0x64]
push eax
push str._s_NO_Store_Failure:_Invalid_message_set
push ecx
mov byte [esp + 0x68], 7
call fcn.004a0e91
mov edx, dword [esp + 0x70]
add esp, 0xc
mov ecx, esi
push edx
call fcn.0042da70
mov byte [esp + 0x5c], 4
lea ecx, [esp + 0x64]
jmp 0x4393a1
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
xor edi, edi
cmp eax, ebx
je 0x439617
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x439617
lea ecx, [esi + 0x78]
mov ebp, eax
call fcn.00414960
cmp dword [ebp + edi*4], eax
ja 0x4395ab
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
inc edi
jmp 0x43957b
mov edx, dword [0x4d5f90]
mov dword [esp + 0x64], edx
mov eax, dword [esi + 0x5a4]
mov byte [esp + 0x5c], 8
push eax
lea eax, [esp + 0x68]
push str._s_NO_Store_Failure:_Invalid_message_set
push eax
call fcn.004a0e91
mov ecx, dword [esp + 0x70]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.0042da70
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 4
call fcn.004a3625
mov edx, dword [esp + 0x38]
push edx
call fcn.004a2a3d
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], ebx
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.004a2a3d
add esp, 8
xor al, al
jmp 0x439b71
lea ecx, [esp + 0x10]
push 2
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x2c], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov byte [esp + 0x30], 0
mov byte [esp + 0x38], 0
mov byte [esp + 0x40], 0
call fcn.0042c910
test al, al
jne 0x4396a2
mov ecx, dword [0x4d5f90]
mov dword [esp + 0x64], ecx
mov eax, dword [esi + 0x5a4]
lea edx, [esp + 0x64]
push eax
push str._s_NO_Store_Failure:_Invalid_flag_specified
push edx
mov byte [esp + 0x68], 9
call fcn.004a0e91
mov eax, dword [esp + 0x70]
add esp, 0xc
mov ecx, esi
push eax
call fcn.0042da70
mov byte [esp + 0x5c], 4
lea ecx, [esp + 0x64]
jmp 0x439860
mov al, byte [esp + 0x64]
test al, al
jne 0x43972f
lea eax, [esp + 0x34]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, esi
call fcn.0042adb0
test al, al
jne 0x43972f
mov edx, dword [0x4d5f90]
mov dword [esp + 0x64], edx
mov eax, dword [esi + 0x5a4]
mov byte [esp + 0x5c], 0xa
push eax
lea eax, [esp + 0x68]
push str._s_NO_Store_Failure:_Invalid_message_set
push eax
call fcn.004a0e91
mov ecx, dword [esp + 0x70]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.0042da70
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 4
call fcn.004a3625
mov edx, dword [esp + 0x38]
push edx
call fcn.004a2a3d
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], ebx
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.004a2a3d
add esp, 8
xor al, al
jmp 0x439b71
mov eax, dword [0x4d5f90]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x5b0]
push 0x4cd2e0
mov byte [esp + 0x60], 0xc
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push eax
call fcn.0047f7d0
add esp, 8
test eax, eax
je 0x439a8b
mov eax, dword [esi + 0x5b0]
push str.flags.silent
mov edx, dword [eax + 4]
mov eax, dword [edx]
push eax
call fcn.0047f7d0
add esp, 8
test eax, eax
je 0x439a8b
mov eax, dword [esi + 0x5b0]
push str.flags
mov eax, dword [eax + 4]
mov eax, dword [eax]
push eax
call fcn.0047f7d0
add esp, 8
test eax, eax
je 0x43998c
mov eax, dword [esi + 0x5b0]
push 0x4cd600
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push eax
call fcn.0047f7d0
add esp, 8
test eax, eax
je 0x43998c
mov eax, dword [esi + 0x5b0]
push str._flags
mov edx, dword [eax + 4]
mov eax, dword [edx]
push eax
call fcn.0047f7d0
add esp, 8
test eax, eax
je 0x43988f
mov eax, dword [esi + 0x5b0]
push str._flags.silent
mov eax, dword [eax + 4]
mov eax, dword [eax]
push eax
call fcn.0047f7d0
add esp, 8
test eax, eax
je 0x43988f
mov ecx, dword [0x4d5f90]
mov dword [esp + 0x2c], ecx
mov eax, dword [esi + 0x5a4]
lea edx, [esp + 0x2c]
push eax
push str._s_BAD_Protocol_Error:_Invalid_Flag_type_specified
push edx
mov byte [esp + 0x68], 0xf
call fcn.004a0e91
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ecx, esi
push eax
call fcn.0042da70
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 0xc
call fcn.004a3625
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 0xb
call fcn.004a3625
mov byte [esp + 0x5c], 4
lea ecx, [esp + 0x28]
call fcn.004a3625
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004a2a3d
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x3c], ebx
push edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.004a2a3d
add esp, 8
xor al, al
jmp 0x439b71
mov eax, dword [esp + 0x48]
test eax, eax
je 0x439af5
mov ecx, dword [esp + 0x4c]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x439af5
mov edx, dword [esp + 0x38]
lea ebp, [esi + 0x78]
mov ecx, ebp
mov eax, dword [edx + ebx*4]
push eax
call fcn.004150d0
mov edi, eax
test edi, edi
je 0x439986
mov al, byte [esp + 0x24]
test al, al
je 0x43991c
mov ecx, dword [0x4d5f90]
mov dword [esp + 0x2c], ecx
mov ecx, edi
mov byte [esp + 0x5c], 0xe
call fcn.0044bcd0
push eax
lea edx, [esp + 0x30]
push str.Read_Mail__IMAP4_:_UIDL__s_
push edx
call fcn.004a0e91
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ecx, ebp
push eax
call fcn.00415150
push 0
mov ecx, edi
call fcn.00441870
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 0xc
call fcn.004a3625
mov al, byte [esp + 0x1c]
test al, al
je 0x43992d
push 0
mov ecx, edi
call fcn.004418d0
mov al, byte [esp + 0x14]
test al, al
je 0x43993e
push 0
mov ecx, edi
call fcn.00440460
mov al, byte [esp + 0x18]
test al, al
je 0x43994f
push 0
mov ecx, edi
call fcn.00440450
mov al, byte [esp + 0x20]
test al, al
je 0x439960
push 0
mov ecx, edi
call fcn.004418b0
mov al, byte [esp + 0x10]
test al, al
je 0x439971
push 0
mov ecx, edi
call fcn.00441890
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
push ecx
mov ecx, esi
mov eax, dword [edx + ebx*4]
push eax
push edi
call fcn.0042d1a0
inc ebx
jmp 0x43988f
xor ebx, ebx
mov eax, dword [esp + 0x48]
test eax, eax
je 0x439af5
mov ecx, dword [esp + 0x4c]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x439af5
mov edx, dword [esp + 0x38]
lea ebp, [esi + 0x78]
mov ecx, ebp
mov eax, dword [edx + ebx*4]
push eax
call fcn.004150d0
mov edi, eax
test edi, edi
je 0x439a85
mov al, byte [esp + 0x24]
test al, al
je 0x439a1b
mov ecx, dword [0x4d5f90]
mov dword [esp + 0x2c], ecx
mov ecx, edi
mov byte [esp + 0x5c], 0xd
call fcn.0044bcd0
push eax
lea edx, [esp + 0x30]
push str.Read_Mail__IMAP4_:_UIDL__s_
push edx
call fcn.004a0e91
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ecx, ebp
push eax
call fcn.00415150
push 1
mov ecx, edi
call fcn.00441870
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 0xc
call fcn.004a3625
mov al, byte [esp + 0x1c]
test al, al
je 0x439a2c
push 1
mov ecx, edi
call fcn.004418d0
mov al, byte [esp + 0x14]
test al, al
je 0x439a3d
push 1
mov ecx, edi
call fcn.00440460
mov al, byte [esp + 0x18]
test al, al
je 0x439a4e
push 1
mov ecx, edi
call fcn.00440450
mov al, byte [esp + 0x20]
test al, al
je 0x439a5f
push 1
mov ecx, edi
call fcn.004418b0
mov al, byte [esp + 0x10]
test al, al
je 0x439a70
push 1
mov ecx, edi
call fcn.00441890
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
push ecx
mov ecx, esi
mov eax, dword [edx + ebx*4]
push eax
push edi
call fcn.0042d1a0
inc ebx
jmp 0x43998e
xor ebp, ebp
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x439af5
mov ecx, dword [esp + 0x4c]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x439af5
mov edx, dword [esp + 0x38]
lea ecx, [esi + 0x78]
mov eax, dword [edx + ebp*4]
push eax
call fcn.004150d0
mov edi, eax
cmp edi, ebx
je 0x439af2
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
mov ecx, edi
call fcn.004419d0
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
push ecx
mov ecx, esi
mov eax, dword [edx + ebp*4]
push eax
push edi
call fcn.0042d1a0
inc ebp
jmp 0x439a8d
lea ecx, [esi + 0x78]
push ecx
mov ecx, dword [esi + 0x6c]
call fcn.0040b900
xor edi, edi
mov ecx, esi
push edi
call fcn.0042d370
mov eax, dword [esi + 0x5a4]
lea edx, [esp + 0x28]
push eax
push str._s_OK_STORE_completed
push edx
call fcn.004a0e91
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, esi
push eax
call fcn.0042da70
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 0xb
call fcn.004a3625
lea ecx, [esp + 0x28]
mov byte [esp + 0x5c], 4
call fcn.004a3625
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004a2a3d
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x3c], edi
push edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call fcn.004a2a3d
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4